src/org/sonews/storage/StorageManager.java
changeset 45 7e24949b87b0
parent 42 7f84f4de2893
     1.1 --- a/src/org/sonews/storage/StorageManager.java	Tue Jun 07 11:55:22 2011 +0200
     1.2 +++ b/src/org/sonews/storage/StorageManager.java	Sat Sep 10 18:18:05 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;