[PATCH 3 of 3] Fixed logger instantiations that were done with wrong class

Wald Commits scm-commit at wald.intevation.org
Fri Nov 8 10:39:58 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1383903517 -3600
# Node ID 9344aa0fb02135996a4aad0e2938977ab9d2e2b9
# Parent  8dd89da79eaa8dfbef3a927d5fa9cfc174b8f312
Fixed logger instantiations that were done with wrong class.

diff -r 8dd89da79eaa -r 9344aa0fb021 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffEpochFacet.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffEpochFacet.java	Fri Nov 08 10:22:32 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffEpochFacet.java	Fri Nov 08 10:38:37 2013 +0100
@@ -22,7 +22,7 @@
 public class BedDiffEpochFacet
 extends DataFacet
 {
-    private static Logger logger = Logger.getLogger(BedDensityFacet.class);
+    private static Logger logger = Logger.getLogger(BedDiffEpochFacet.class);
 
     public BedDiffEpochFacet() {
     }
diff -r 8dd89da79eaa -r 9344aa0fb021 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffEpochFilterFacet.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffEpochFilterFacet.java	Fri Nov 08 10:22:32 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffEpochFilterFacet.java	Fri Nov 08 10:38:37 2013 +0100
@@ -26,7 +26,7 @@
 public class BedDiffEpochFilterFacet
 extends DataFacet
 {
-    private static Logger logger = Logger.getLogger(BedDensityFacet.class);
+    private static Logger logger = Logger.getLogger(BedDiffEpochFilterFacet.class);
 
     public BedDiffEpochFilterFacet() {
     }
diff -r 8dd89da79eaa -r 9344aa0fb021 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedloadDiameterDataFacet.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedloadDiameterDataFacet.java	Fri Nov 08 10:22:32 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedloadDiameterDataFacet.java	Fri Nov 08 10:38:37 2013 +0100
@@ -15,7 +15,7 @@
 public class BedloadDiameterDataFacet
 extends DataFacet
 {
-    private static final Logger logger = Logger.getLogger(BedDiameterDataFacet.class);
+    private static final Logger logger = Logger.getLogger(BedloadDiameterDataFacet.class);
 
     public BedloadDiameterDataFacet() {
     }
diff -r 8dd89da79eaa -r 9344aa0fb021 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MorphologicWidthFacet.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MorphologicWidthFacet.java	Fri Nov 08 10:22:32 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MorphologicWidthFacet.java	Fri Nov 08 10:38:37 2013 +0100
@@ -23,7 +23,7 @@
 extends DataFacet
 implements   FacetTypes
 {
-    private static Logger logger = Logger.getLogger(SedimentLoadFacet.class);
+    private static Logger logger = Logger.getLogger(MorphologicWidthFacet.class);
 
 
     public MorphologicWidthFacet() {
diff -r 8dd89da79eaa -r 9344aa0fb021 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/QualityMeasurement.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/QualityMeasurement.java	Fri Nov 08 10:22:32 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/QualityMeasurement.java	Fri Nov 08 10:38:37 2013 +0100
@@ -15,7 +15,7 @@
 
 /** A measurement of the bed quality, serving different diameter at given km. */
 public class QualityMeasurement {
-    private static Logger logger = Logger.getLogger(QualityMeasurements.class);
+    private static Logger logger = Logger.getLogger(QualityMeasurement.class);
 
     private double              km;
     private Date                date;
diff -r 8dd89da79eaa -r 9344aa0fb021 artifacts/src/main/java/org/dive4elements/river/exports/process/AreaProcessor.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/AreaProcessor.java	Fri Nov 08 10:22:32 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/AreaProcessor.java	Fri Nov 08 10:38:37 2013 +0100
@@ -30,7 +30,7 @@
 
 public class AreaProcessor extends DefaultProcessor {
 
-    private static final Logger logger = Logger.getLogger(ManualPointsProcessor.class);
+    private static final Logger logger = Logger.getLogger(AreaProcessor.class);
 
     @Override
     public void doOut(
diff -r 8dd89da79eaa -r 9344aa0fb021 artifacts/src/main/java/org/dive4elements/river/exports/process/MiddleBedHeightProcessor.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/MiddleBedHeightProcessor.java	Fri Nov 08 10:22:32 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/MiddleBedHeightProcessor.java	Fri Nov 08 10:38:37 2013 +0100
@@ -28,7 +28,7 @@
 
     /** Private logger. */
     private static final Logger logger =
-            Logger.getLogger(WOutProcessor.class);
+            Logger.getLogger(MiddleBedHeightProcessor.class);
 
     public static final String I18N_AXIS_LABEL =
         "chart.bedheight_middle.section.yaxis.label";
diff -r 8dd89da79eaa -r 9344aa0fb021 backend/src/main/java/org/dive4elements/river/importer/ImportCrossSection.java
--- a/backend/src/main/java/org/dive4elements/river/importer/ImportCrossSection.java	Fri Nov 08 10:22:32 2013 +0100
+++ b/backend/src/main/java/org/dive4elements/river/importer/ImportCrossSection.java	Fri Nov 08 10:38:37 2013 +0100
@@ -22,7 +22,7 @@
 /** CrossSection to be imported, holds list of ImportCrossSectionLines. */
 public class ImportCrossSection
 {
-    private static Logger log = Logger.getLogger(ImportRiver.class);
+    private static Logger log = Logger.getLogger(ImportCrossSection.class);
 
     protected ImportRiver                  river;
     protected String                       description;
diff -r 8dd89da79eaa -r 9344aa0fb021 backend/src/main/java/org/dive4elements/river/importer/parsers/AnnotationClassifier.java
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/AnnotationClassifier.java	Fri Nov 08 10:22:32 2013 +0100
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/AnnotationClassifier.java	Fri Nov 08 10:38:37 2013 +0100
@@ -31,7 +31,7 @@
 
 public class AnnotationClassifier
 {
-    private static Logger log = Logger.getLogger(Importer.class);
+    private static Logger log = Logger.getLogger(AnnotationClassifier.class);
 
     public static final String TYPES_XPATH =
         "/annotation/types/type";


More information about the Dive4elements-commits mailing list