* 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>
}
/**
- * 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.
svc = new ThreadLocal<T>() {
@Override
protected T initialValue() {
- if ( aCallback != null ) {
+ if (aCallback != null) {
return aCallback.create();
}
- return null;
+ return null;
}
};
clazz = aClass;