Author: mes
Date: 2012-01-20 11:14:05 -0800 (Fri, 20 Jan 2012)
New Revision: 28068

Modified:
   
core3/api/trunk/service-api/src/main/java/org/cytoscape/service/util/internal/CyServiceRegistrarImpl.java
Log:
turning off logging

Modified: 
core3/api/trunk/service-api/src/main/java/org/cytoscape/service/util/internal/CyServiceRegistrarImpl.java
===================================================================
--- 
core3/api/trunk/service-api/src/main/java/org/cytoscape/service/util/internal/CyServiceRegistrarImpl.java
   2012-01-20 19:06:58 UTC (rev 28067)
+++ 
core3/api/trunk/service-api/src/main/java/org/cytoscape/service/util/internal/CyServiceRegistrarImpl.java
   2012-01-20 19:14:05 UTC (rev 28068)
@@ -24,9 +24,7 @@
 
        public void registerAllServices(Object o, Dictionary props) {
                for ( Class c : RegisterUtil.getAllInterfaces(o.getClass()) ) {
-                       if ( c.getName().startsWith("java") ) 
-                               logger.debug("NOT registering service: " + 
o.toString() + " as type " + c.getName() + " because it is a core java 
interface.");
-                       else   
+                       if ( !c.getName().startsWith("java") ) 
                                registerService(o,c,props);
                }
        }
@@ -41,7 +39,7 @@
                if ( bc == null )
                        throw new IllegalStateException( "BundleContext is 
null" );
 
-               logger.debug("attempting to register service: " + o.toString() 
+ " of type " + c.getName());
+               //logger.debug("attempting to register service: " + 
o.toString() + " of type " + c.getName());
                ServiceRegistration s = bc.registerService( c.getName(), o, 
props );
 
                Map<Object, ServiceRegistration> registrations = refs.get(c);
@@ -68,7 +66,7 @@
                if ( c == null )
                        throw new NullPointerException( "class is null" );
 
-               logger.debug("attempting to UNregister service: " + 
o.toString() + " of type " + c.getName());
+               //logger.debug("attempting to UNregister service: " + 
o.toString() + " of type " + c.getName());
 
                Map<Object, ServiceRegistration> registrations = refs.get(c);
                if ( registrations == null )

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to