Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/AbstractExporter.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | e4606eae8ea5 |
children | 5b5bdce5a216 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
35 import org.dive4elements.river.themes.ThemeDocument; | 35 import org.dive4elements.river.themes.ThemeDocument; |
36 import org.dive4elements.river.utils.Formatter; | 36 import org.dive4elements.river.utils.Formatter; |
37 | 37 |
38 | 38 |
39 /** | 39 /** |
40 * An abstract exporter that implements some basic methods for exporting data of | 40 * Abstract exporter that implements some basic methods for exporting data of |
41 * artifacts. | 41 * artifacts. |
42 * | 42 * |
43 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 43 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
44 */ | 44 */ |
45 public abstract class AbstractExporter implements OutGenerator { | 45 public abstract class AbstractExporter implements OutGenerator { |
242 * @param facet The desired facet. | 242 * @param facet The desired facet. |
243 * | 243 * |
244 * @return true, if <i>facet</i> is valid, otherwise false. | 244 * @return true, if <i>facet</i> is valid, otherwise false. |
245 */ | 245 */ |
246 protected boolean isFacetValid(String facet) { | 246 protected boolean isFacetValid(String facet) { |
247 log.debug("AbstractExporter.isFacetValid : " + facet + " (" + getFacet() + ")" ); | 247 log.debug("AbstractExporter.isFacetValid : " |
248 + facet + " (" + getFacet() + ")" ); | |
248 | 249 |
249 String thisFacet = getFacet(); | 250 String thisFacet = getFacet(); |
250 | 251 |
251 if (thisFacet == null || thisFacet.length() == 0) { | 252 if (thisFacet == null || thisFacet.length() == 0) { |
252 return false; | 253 return false; |