Skip to content

Commit

Permalink
Remove unused logger
Browse files Browse the repository at this point in the history
Signed-off-by: Klem Yannic (INST/ECS1) <Yannic.Klem@bosch-si.com>
  • Loading branch information
Yannic92 committed Jul 10, 2018
1 parent 84c1f93 commit 3b53ae4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ public abstract class AbstractThingsService extends DittoService<ServiceConfigRe

private final ThingSnapshotter.Create thingSnapshotterCreate;

private final Logger logger;

/**
* Constructs a new {@code AbstractThingsService} object.
*
Expand All @@ -54,12 +52,12 @@ public abstract class AbstractThingsService extends DittoService<ServiceConfigRe
*/
protected AbstractThingsService(final Logger logger, final ThingSnapshotter.Create thingSnapshotterCreate) {
super(logger, SERVICE_NAME, ThingsRootActor.ACTOR_NAME, DittoServiceConfigReader.from(SERVICE_NAME));
this.logger = logger;
this.thingSnapshotterCreate = checkNotNull(thingSnapshotterCreate);
}

@Override
protected void addDropwizardMetricRegistries(final ActorSystem actorSystem, final ServiceConfigReader configReader) {
protected void addDropwizardMetricRegistries(final ActorSystem actorSystem,
final ServiceConfigReader configReader) {
DropwizardMetricsPrometheusReporter.addMetricRegistry(
MetricRegistryFactory.mongoDb(actorSystem, configReader.getRawConfig()));
}
Expand Down

0 comments on commit 3b53ae4

Please sign in to comment.