Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/profile/vertical/VerticalProfileArtifact.java @ 773:5fb1ea68e19c
Avoid danger to get a NullPointerException if no time to live is served by CallContext.
gnv-artifacts/trunk@832 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 26 Mar 2010 09:55:28 +0000 |
parents | 5b9b74c08bbb |
children | 9a828e5a2390 |
line wrap: on
line source
/** * */ package de.intevation.gnv.profile.vertical; import org.apache.log4j.Logger; import org.w3c.dom.Document; import de.intevation.artifacts.ArtifactFactory; import de.intevation.gnv.artifacts.GNVArtifactBase; /** * @author Tim Englich <tim.englich@intevation.de> * */ public class VerticalProfileArtifact extends GNVArtifactBase { /** * the logger, used to log exceptions and additonaly information */ private static Logger log = Logger.getLogger(VerticalProfileArtifact.class); /** * The UID of this class */ private static final long serialVersionUID = -8291547966693867205L; /** * Constructor */ public VerticalProfileArtifact() { super(); log.debug("VerticalProfileArtifact.Constructor"); this.name = "verticalProfile"; } /** * @see de.intevation.gnv.artifacts.GNVArtifactBase#setup(java.lang.String, * de.intevation.artifacts.ArtifactFactory, java.lang.Object, * org.w3c.dom.Document) */ @Override public void setup(String identifier, ArtifactFactory factory, Object context, Document data) { log.debug("VerticalProfileArtifact.setup"); super.setup(identifier, factory, context, data); } }