Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/ManualPointsArtifact.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/ManualPointsArtifact.java Fri Sep 05 12:54:58 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/ManualPointsArtifact.java Fri Sep 05 12:58:17 2014 +0200 @@ -37,15 +37,15 @@ { private static final long serialVersionUID = 7096025125474986011L; - /** The logger for this class. */ - private static Logger logger = Logger.getLogger(ManualPointsArtifact.class); + /** The log for this class. */ + private static Logger log = Logger.getLogger(ManualPointsArtifact.class); /** The name of the artifact. */ public static final String ARTIFACT_NAME = "manualpoints"; public ManualPointsArtifact() { - logger.debug("ManualPointsArtifact.ManualPointsArtifact()"); + log.debug("ManualPointsArtifact.ManualPointsArtifact()"); } @@ -61,7 +61,7 @@ Document data, List<Class> loadFacets) { - logger.debug("ManualPointsArtifact.setup"); + log.debug("ManualPointsArtifact.setup"); super.setup(identifier, factory, context, callMeta, data, loadFacets); initialize(null, context, callMeta); } @@ -97,17 +97,17 @@ /** Setup state and facet. */ @Override protected void initialize(Artifact artifact, Object context, CallMeta meta) { - logger.debug("ManualPointsArtifact.initialize"); + log.debug("ManualPointsArtifact.initialize"); List<Facet> fs = new ArrayList<Facet>(); DefaultState state = (DefaultState) getCurrentState(context); state.computeInit(this, hash(), context, meta, fs); if (!fs.isEmpty()) { - logger.debug("Facets to add in ManualPointsArtifact.initialize ."); + log.debug("Facets to add in ManualPointsArtifact.initialize ."); addFacets(getCurrentStateId(), fs); } else { - logger.debug("No facets to add in ManualPointsArtifact.initialize (" + log.debug("No facets to add in ManualPointsArtifact.initialize (" + state.getID() + ")."); } } @@ -126,7 +126,7 @@ return array.getDouble(0); } catch(JSONException e){ - logger.error("Could not decode json for line."); + log.error("Could not decode json for line."); return 0d; } }