diff -r 7f84f4de2893 -r 4653fc7609e7 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 Sun Oct 09 01:22:18 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;