diff -r 7f84f4de2893 -r aae4b4688700 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 Oct 12 00:11:25 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;