Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentDensityArtifact.java @ 8202:e4606eae8ea5
sed src/**/*.java 's/logger/log/g'
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 05 Sep 2014 12:58:17 +0200 |
parents | 8d5ca5175038 |
children | 5e38e2924c07 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentDensityArtifact.java Fri Sep 05 12:54:58 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentDensityArtifact.java Fri Sep 05 12:58:17 2014 +0200 @@ -36,8 +36,8 @@ extends StaticD4EArtifact implements FacetTypes { - /** The logger for this class. */ - private static Logger logger = + /** The log for this class. */ + private static Logger log = Logger.getLogger(SedimentDensityArtifact.class); /** Artifact key name. */ @@ -63,7 +63,7 @@ * Trivial Constructor. */ public SedimentDensityArtifact() { - logger.debug("SedimentDensityArtifact.SedimentDensityArtifact"); + log.debug("SedimentDensityArtifact.SedimentDensityArtifact"); } @@ -75,7 +75,7 @@ private Object getSedimentDensity() { - logger.debug("SedimentDensityArtifact.getSedimentDensity"); + log.debug("SedimentDensityArtifact.getSedimentDensity"); Integer id = getDataAsInteger(DATA_ID); // TODO use cache if possible @@ -121,11 +121,11 @@ Document data, List<Class> loadFacets) { - logger.debug("SedimentDensityArtifact.setup"); + log.debug("SedimentDensityArtifact.setup"); state = newDensityState(); - if (logger.isDebugEnabled()) { - logger.debug(XMLUtils.toString(data)); + if (log.isDebugEnabled()) { + log.debug(XMLUtils.toString(data)); } List<Facet> fs = new ArrayList<Facet>(); @@ -148,7 +148,7 @@ addStringData(DATA_ID, code); } else { - logger.error("No id given."); + log.error("No id given."); } spawnState(); @@ -214,7 +214,7 @@ Object context, CallMeta meta) { - logger.debug("SedimentDensityArtifact.initialize"); + log.debug("SedimentDensityArtifact.initialize"); } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :