mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
don't log each class which is registered to the eventbus
This commit is contained in:
@@ -42,9 +42,6 @@ import com.google.inject.spi.InjectionListener;
|
||||
import com.google.inject.spi.TypeEncounter;
|
||||
import com.google.inject.spi.TypeListener;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import sonia.scm.event.ScmEventBus;
|
||||
|
||||
/**
|
||||
@@ -54,14 +51,6 @@ import sonia.scm.event.ScmEventBus;
|
||||
public class ScmEventBusModule extends AbstractModule
|
||||
{
|
||||
|
||||
/**
|
||||
* the logger for ScmSubscriberModule
|
||||
*/
|
||||
private static final Logger logger =
|
||||
LoggerFactory.getLogger(ScmEventBusModule.class);
|
||||
|
||||
//~--- methods --------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
@@ -82,8 +71,6 @@ public class ScmEventBusModule extends AbstractModule
|
||||
{
|
||||
Class<?> clazz = object.getClass();
|
||||
|
||||
logger.trace("register subscriber {}", clazz);
|
||||
|
||||
ScmEventBus.getInstance().register(object);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user