1.1 --- a/src/org/sonews/storage/StorageManager.java Mon Jun 06 20:12:21 2011 +0200
1.2 +++ b/src/org/sonews/storage/StorageManager.java Tue Oct 25 10:39:57 2011 +0200
1.3 @@ -26,8 +26,7 @@
1.4
1.5 private static StorageProvider provider;
1.6
1.7 - public static Storage current()
1.8 - throws StorageBackendException {
1.9 + public static Storage current() throws StorageBackendException {
1.10 synchronized (StorageManager.class) {
1.11 if (provider == null) {
1.12 return null;
1.13 @@ -41,7 +40,7 @@
1.14 try {
1.15 Class<?> clazz = Class.forName(pluginClassName);
1.16 Object inst = clazz.newInstance();
1.17 - return (StorageProvider) inst;
1.18 + return (StorageProvider)inst;
1.19 } catch (Exception ex) {
1.20 System.err.println(ex);
1.21 return null;