diff -r 7f84f4de2893 -r bb1c8a7b774c src/org/sonews/storage/StorageManager.java --- a/src/org/sonews/storage/StorageManager.java Mon Jun 06 20:12:21 2011 +0200 +++ b/src/org/sonews/storage/StorageManager.java Wed Dec 31 12:07:40 2014 +0100 @@ -26,8 +26,7 @@ private static StorageProvider provider; - public static Storage current() - throws StorageBackendException { + public static Storage current() throws StorageBackendException { synchronized (StorageManager.class) { if (provider == null) { return null; @@ -41,7 +40,7 @@ try { Class clazz = Class.forName(pluginClassName); Object inst = clazz.newInstance(); - return (StorageProvider) inst; + return (StorageProvider)inst; } catch (Exception ex) { System.err.println(ex); return null;