comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/DataFacet.java @ 1136:8da5f5a9ed3c

Cosmetics, docs. flys-artifacts/trunk@2657 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 07 Sep 2011 07:28:52 +0000
parents ea80e652f033
children efe1b8545f5c
comparison
equal deleted inserted replaced
1135:c8c753931514 1136:8da5f5a9ed3c
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, theHash, stateId, 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

http://dive4elements.wald.intevation.org