Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java @ 3555:b1912514e0f5
s/container.size() == 0/container.isEmpty()/
flys-artifacts/trunk@5149 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 28 Jul 2012 21:48:15 +0000 |
parents | 9b356ed24411 |
children | afc7bfb4800b |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java Sat Jul 28 20:58:42 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java Sat Jul 28 21:48:15 2012 +0000 @@ -1185,7 +1185,7 @@ } List<Output> list = state.getOutputs(); - if (list == null || list.size() == 0) { + if (list == null || list.isEmpty()) { if (debug) { log.debug("-> No output modes for this state."); } @@ -1196,7 +1196,7 @@ List<Facet> fs = facets.get(stateId); - if (fs == null || fs.size() == 0) { + if (fs == null || fs.isEmpty()) { if (debug) { log.debug("No facets found."); }