Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/DataFacet.java @ 1117:ea80e652f033
Reordered some parameters in a FLYSArtifact method.
flys-artifacts/trunk@2624 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 31 Aug 2011 12:44:07 +0000 |
parents | b1ed0ec0236f |
children | 8da5f5a9ed3c |
comparison
equal
deleted
inserted
replaced
1116:05e4ef0f9489 | 1117:ea80e652f033 |
---|---|
57 public Object getData(Artifact artifact, CallContext context) { | 57 public Object getData(Artifact artifact, CallContext context) { |
58 FLYSArtifact flys = (FLYSArtifact)artifact; | 58 FLYSArtifact flys = (FLYSArtifact)artifact; |
59 String theHash = (hash != null) ? hash : flys.hash(); | 59 String theHash = (hash != null) ? hash : flys.hash(); |
60 | 60 |
61 return stateId != null && stateId.length() > 0 | 61 return stateId != null && stateId.length() > 0 |
62 ? flys.compute(context, stateId, theHash, type, false) | 62 ? flys.compute(context, theHash, stateId, type, false) |
63 : flys.compute(context, theHash, type, false); | 63 : flys.compute(context, theHash, type, false); |
64 } | 64 } |
65 | 65 |
66 @Override | 66 @Override |
67 public Facet deepCopy() { | 67 public Facet deepCopy() { |