Mercurial > dive4elements > framework
changeset 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 | aa9f2f5ff032 |
children | 22a90706d32d |
files | ChangeLog artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Jun 06 14:00:38 2011 +0000 +++ b/ChangeLog Tue Jun 07 11:06:54 2011 +0000 @@ -1,3 +1,8 @@ +2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java: + Use generics more precisely + 2011-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> flys/issue75
--- 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>(); }