Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/StateFactory.java @ 815:22c18083225e
Removed compiler warnings while JavaDoc generation.
gnv-artifacts/trunk@900 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 12 Apr 2010 06:59:33 +0000 |
parents | feae2f9d6c6f |
children | 05bf8534a35a |
comparison
equal
deleted
inserted
replaced
814:9d427dd2a96a | 815:22c18083225e |
---|---|
29 super(); | 29 super(); |
30 } | 30 } |
31 | 31 |
32 /** | 32 /** |
33 * Return the instance of this class. | 33 * Return the instance of this class. |
34 * | |
35 * @return | |
36 */ | 34 */ |
37 public static StateFactory getInstance() { | 35 public static StateFactory getInstance() { |
38 if (instance == null) { | 36 if (instance == null) { |
39 instance = new StateFactory(); | 37 instance = new StateFactory(); |
40 } | 38 } |
43 | 41 |
44 /** | 42 /** |
45 * This method creates a new state with help of the information in <i> | 43 * This method creates a new state with help of the information in <i> |
46 * configuration</i> and calls its setup method after creation. | 44 * configuration</i> and calls its setup method after creation. |
47 * | 45 * |
48 * @param configuration | |
49 * @return the new state. | 46 * @return the new state. |
50 */ | 47 */ |
51 public State createState(Node configuration) { | 48 public State createState(Node configuration) { |
52 log.debug("StateFactory.createState"); | 49 log.debug("StateFactory.createState"); |
53 State state = null; | 50 State state = null; |
62 } catch (ClassNotFoundException e) { | 59 } catch (ClassNotFoundException e) { |
63 log.error(e, e); | 60 log.error(e, e); |
64 } | 61 } |
65 return state; | 62 return state; |
66 } | 63 } |
67 | |
68 } | 64 } |
69 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : | 65 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |