Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/DataFacet.java @ 1070:b1ed0ec0236f
Smaller Cosmetics.
flys-artifacts/trunk@2554 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 24 Aug 2011 11:38:30 +0000 |
parents | b1b0a0b61845 |
children | ea80e652f033 |
comparison
equal
deleted
inserted
replaced
1069:28ea1e8a5f46 | 1070:b1ed0ec0236f |
---|---|
54 } | 54 } |
55 | 55 |
56 @Override | 56 @Override |
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, stateId, theHash, type, false) |
63 : flys.compute(context, theHash, type, false); | 63 : flys.compute(context, theHash, type, false); |
64 } | 64 } |