(no commit message)
[utils] / support / general / src / main / java / org / wamblee / general / ThreadSpecificProxyFactory.java
index 81127009e4a6afc09993800789637a0001c78ce0..db51ba1c84f5733865a76507a8606434f7f2f70a 100644 (file)
@@ -37,7 +37,7 @@ import java.lang.reflect.Proxy;
  * method can be passed at construction of an object that will be used by
  * multiple threads.
  * </p>
- *
+ * 
  * <p>
  * This class is mostly used by infrastructure code (utilities) and test tools.
  * </p>
@@ -86,8 +86,8 @@ public class ThreadSpecificProxyFactory<T> {
     }
 
     /**
-     * Constructs the factory with a callback to create thread-specific objects 
-     * automatically. 
+     * Constructs the factory with a callback to create thread-specific objects
+     * automatically.
      * 
      * @param aClass
      *            Interface class of the service to proxy.
@@ -104,10 +104,10 @@ public class ThreadSpecificProxyFactory<T> {
         svc = new ThreadLocal<T>() {
             @Override
             protected T initialValue() {
-                if ( aCallback != null ) { 
+                if (aCallback != null) {
                     return aCallback.create();
                 }
-                return null; 
+                return null;
             }
         };
         clazz = aClass;