1 Reply Latest reply: Jan 12, 2011 6:19 AM by David Bosschaert RSS

Invalid logging API usage

Thomas Diesler Master

I noticed some invalid usage of the logging API

 

[tdiesler@localhost jbosgi-framework]$ git grep "log.error("
core/src/main/java/org/jboss/osgi/framework/plugin/internal/URLHandlerPluginImpl.java:               log.error("A non-compliant instance of " + URLStreamHand
core/src/main/java/org/jboss/osgi/framework/plugin/internal/URLHandlerPluginImpl.java:               log.error("A non-compliant instance of " + ContentHandle

 

This should use the

 

log.errorf("Error in %s", obj)

 

variant. Nothing to do, I fixed it.