You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ju...@apache.org on 2013/12/19 21:54:09 UTC
svn commit: r1552421 -
/sling/whiteboard/justin/yamf/org.apache.sling.yamf.impl/src/main/java/org/apache/sling/yamf/impl/YamfAdapterFactory.java
Author: justin
Date: Thu Dec 19 20:54:09 2013
New Revision: 1552421
URL: http://svn.apache.org/r1552421
Log:
formatting
Modified:
sling/whiteboard/justin/yamf/org.apache.sling.yamf.impl/src/main/java/org/apache/sling/yamf/impl/YamfAdapterFactory.java
Modified: sling/whiteboard/justin/yamf/org.apache.sling.yamf.impl/src/main/java/org/apache/sling/yamf/impl/YamfAdapterFactory.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/justin/yamf/org.apache.sling.yamf.impl/src/main/java/org/apache/sling/yamf/impl/YamfAdapterFactory.java?rev=1552421&r1=1552420&r2=1552421&view=diff
==============================================================================
--- sling/whiteboard/justin/yamf/org.apache.sling.yamf.impl/src/main/java/org/apache/sling/yamf/impl/YamfAdapterFactory.java (original)
+++ sling/whiteboard/justin/yamf/org.apache.sling.yamf.impl/src/main/java/org/apache/sling/yamf/impl/YamfAdapterFactory.java Thu Dec 19 20:54:09 2013
@@ -166,16 +166,17 @@ public class YamfAdapterFactory implemen
Dictionary<String, Object> registrationProps = new Hashtable<String, Object>();
registrationProps.put(AdapterFactory.ADAPTER_CLASSES, className);
registrationProps.put(AdapterFactory.ADAPTABLE_CLASSES, classNames);
- ServiceRegistration reg = bundleContext.registerService(AdapterFactory.SERVICE_NAME, this, registrationProps);
+ ServiceRegistration reg = bundleContext.registerService(AdapterFactory.SERVICE_NAME,
+ this, registrationProps);
regs.add(reg);
}
} catch (ClassNotFoundException e) {
log.warn("Unable to load class", e);
}
-
+
}
}
-
+
if (!regs.isEmpty()) {
synchronized (this) {
registeredModelFactories.put(bundle, regs);