Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java @ 400:f367be55dd35
Doc fixes.
artifacts/trunk@5027 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 17 Jul 2012 19:21:08 +0000 |
parents | fd32dc33a24c |
children | ad74e1ba88ba |
comparison
equal
deleted
inserted
replaced
399:4943d36c896b | 400:f367be55dd35 |
---|---|
192 /** | 192 /** |
193 * Add new data to the state. NOTE: If there is already an object existing | 193 * Add new data to the state. NOTE: If there is already an object existing |
194 * with the key <i>name</i>, this object is overwritten by the new value. | 194 * with the key <i>name</i>, this object is overwritten by the new value. |
195 * | 195 * |
196 * @param name The name of the data object. | 196 * @param name The name of the data object. |
197 * @param StateData The data object. | 197 * @param data The data object. |
198 */ | 198 */ |
199 public void addData(String name, StateData data) { | 199 public void addData(String name, StateData data) { |
200 if (this.data == null) { | 200 if (this.data == null) { |
201 this.data = new HashMap<String, StateData>(); | 201 this.data = new HashMap<String, StateData>(); |
202 } | 202 } |