Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/RangeState.java @ 1050:eccf966fb677
State engine: Removed CallContext from state validation.
flys-artifacts/trunk@2512 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 19 Aug 2011 14:10:18 +0000 |
parents | 610d0e0f4f85 |
children | 9a77a9adbb36 |
comparison
equal
deleted
inserted
replaced
1049:433559e25b50 | 1050:eccf966fb677 |
---|---|
61 return true; | 61 return true; |
62 } | 62 } |
63 | 63 |
64 | 64 |
65 @Override | 65 @Override |
66 public boolean validate(Artifact artifact, CallContext context) | 66 public boolean validate(Artifact artifact) |
67 throws IllegalArgumentException | 67 throws IllegalArgumentException |
68 { | 68 { |
69 FLYSArtifact flys = (FLYSArtifact) artifact; | 69 FLYSArtifact flys = (FLYSArtifact) artifact; |
70 | 70 |
71 StateData dFrom = getData(flys, getLowerField()); | 71 StateData dFrom = getData(flys, getLowerField()); |