diff -r 7f84f4de2893 -r 28870db3b9fd 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 Sat Sep 10 20:20:19 2011 +0200 @@ -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;