Mercurial > dive4elements > framework
diff artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java @ 272:2ce31a9414ff
Use generics more precisely
artifacts/trunk@2061 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 07 Jun 2011 11:06:54 +0000 |
parents | 9ece61d918b1 |
children | 16ab243507e0 |
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java Mon Jun 06 14:00:38 2011 +0000 +++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java Tue Jun 07 11:06:54 2011 +0000 @@ -21,7 +21,7 @@ * the name of an artifact, its value is a list of all states the artifact * can reach. */ - protected Map<String, List> states; + protected Map<String, List<State>> states; /** @@ -35,7 +35,7 @@ * The default constructor. */ public StateEngine() { - states = new HashMap<String, List>(); + states = new HashMap<String, List<State>>(); allStates = new HashMap<String, State>(); }