Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/StaticState.java @ 1787:f3be8fa1ec62
Cosmetics, added simpler constructor for StaticState.
flys-artifacts/trunk@3110 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 28 Oct 2011 10:24:26 +0000 |
parents | aeae4d20f32f |
children | 18928f0f339b |
comparison
equal
deleted
inserted
replaced
1786:115803f2ba1c | 1787:f3be8fa1ec62 |
---|---|
12 implements FacetTypes | 12 implements FacetTypes |
13 { | 13 { |
14 /** The logger that is used in this state. */ | 14 /** The logger that is used in this state. */ |
15 private static final Logger logger = Logger.getLogger(StaticState.class); | 15 private static final Logger logger = Logger.getLogger(StaticState.class); |
16 | 16 |
17 | |
18 /** | |
19 * Trivial constructor, sets id and description. | |
20 * @param id String used for both id and description. | |
21 */ | |
22 public StaticState(String id) { | |
23 this(id, id); | |
24 } | |
25 | |
26 | |
17 public StaticState(String id, String description) { | 27 public StaticState(String id, String description) { |
18 super(); | 28 super(); |
19 setID(id); | 29 setID(id); |
20 setDescription(description); | 30 setDescription(description); |
21 } | 31 } |