[Lada-commits] [PATCH 2 of 3] Removed unused loggers

Wald Commits scm-commit at wald.intevation.org
Fri May 29 13:10:42 CEST 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1432897777 -7200
# Node ID 98d79aa9d9961d13b7b341a796e12189c6b13035
# Parent  1e54d59280e63a2ba68fcd7c305b1823d6596709
Removed unused loggers.

diff -r 1e54d59280e6 -r 98d79aa9d996 src/main/java/de/intevation/lada/factory/ProbeFactory.java
--- a/src/main/java/de/intevation/lada/factory/ProbeFactory.java	Fri May 29 13:08:41 2015 +0200
+++ b/src/main/java/de/intevation/lada/factory/ProbeFactory.java	Fri May 29 13:09:37 2015 +0200
@@ -9,8 +9,6 @@
 
 import javax.inject.Inject;
 
-import org.apache.log4j.Logger;
-
 import de.intevation.lada.model.land.LKommentarP;
 import de.intevation.lada.model.land.LMessung;
 import de.intevation.lada.model.land.LMesswert;
@@ -30,9 +28,6 @@
 public class ProbeFactory {
 
     @Inject
-    private Logger logger;
-
-    @Inject
     @RepositoryConfig(type = RepositoryType.RW)
     private Repository repository;
 
diff -r 1e54d59280e6 -r 98d79aa9d996 src/main/java/de/intevation/lada/rest/MessungService.java
--- a/src/main/java/de/intevation/lada/rest/MessungService.java	Fri May 29 13:08:41 2015 +0200
+++ b/src/main/java/de/intevation/lada/rest/MessungService.java	Fri May 29 13:09:37 2015 +0200
@@ -27,8 +27,6 @@
 import javax.ws.rs.core.MultivaluedMap;
 import javax.ws.rs.core.UriInfo;
 
-import org.apache.log4j.Logger;
-
 import de.intevation.lada.lock.LockConfig;
 import de.intevation.lada.lock.LockType;
 import de.intevation.lada.lock.ObjectLocker;
@@ -92,9 +90,6 @@
 @RequestScoped
 public class MessungService {
 
-    @Inject
-    private Logger logger;
-
     /**
      * The data repository granting read/write access.
      */
diff -r 1e54d59280e6 -r 98d79aa9d996 src/main/java/de/intevation/lada/rest/exporter/LafExportService.java
--- a/src/main/java/de/intevation/lada/rest/exporter/LafExportService.java	Fri May 29 13:08:41 2015 +0200
+++ b/src/main/java/de/intevation/lada/rest/exporter/LafExportService.java	Fri May 29 13:09:37 2015 +0200
@@ -24,8 +24,6 @@
 import javax.ws.rs.core.Response;
 import javax.ws.rs.core.Response.ResponseBuilder;
 
-import org.apache.log4j.Logger;
-
 import de.intevation.lada.exporter.ExportConfig;
 import de.intevation.lada.exporter.ExportFormat;
 import de.intevation.lada.exporter.Exporter;
@@ -54,12 +52,6 @@
 public class LafExportService {
 
     /**
-     * The logger used in this class.
-     */
-    @Inject
-    private Logger logger;
-
-    /**
      * The exporter.
      */
     @Inject
diff -r 1e54d59280e6 -r 98d79aa9d996 src/main/java/de/intevation/lada/rest/importer/LafImportService.java
--- a/src/main/java/de/intevation/lada/rest/importer/LafImportService.java	Fri May 29 13:08:41 2015 +0200
+++ b/src/main/java/de/intevation/lada/rest/importer/LafImportService.java	Fri May 29 13:09:37 2015 +0200
@@ -20,8 +20,6 @@
 import javax.ws.rs.core.Context;
 import javax.ws.rs.core.MediaType;
 
-import org.apache.log4j.Logger;
-
 import de.intevation.lada.importer.ImportConfig;
 import de.intevation.lada.importer.ImportFormat;
 import de.intevation.lada.importer.Importer;
@@ -41,12 +39,6 @@
 public class LafImportService {
 
     /**
-     * The logger used in this class.
-     */
-    @Inject
-    private Logger logger;
-
-    /**
      * The importer
      */
     @Inject


More information about the Lada-commits mailing list