Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/minfo/DifferencesState.java @ 4793:c0d6391bec6f
Fixed facet activities.
Return true for active facets only if the facet name is known.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 09 Jan 2013 13:17:09 +0100 |
parents | c5c31299bca1 |
children |
comparison
equal
deleted
inserted
replaced
4792:8b609ea08128 | 4793:c0d6391bec6f |
---|---|
382 name.equals(BED_DIFFERENCE_YEAR) || | 382 name.equals(BED_DIFFERENCE_YEAR) || |
383 name.equals(BED_DIFFERENCE_YEAR_HEIGHT1) || | 383 name.equals(BED_DIFFERENCE_YEAR_HEIGHT1) || |
384 name.equals(BED_DIFFERENCE_YEAR_HEIGHT2)) { | 384 name.equals(BED_DIFFERENCE_YEAR_HEIGHT2)) { |
385 return Boolean.FALSE; | 385 return Boolean.FALSE; |
386 } | 386 } |
387 else if (name.equals(BED_DIFFERENCE_MORPH_WIDTH) || | |
388 name.equals(BED_DIFFERENCE_EPOCH_FILTERED) || | |
389 name.equals(BED_DIFFERENCE_EPOCH_HEIGHT1_FILTERED) || | |
390 name.equals(BED_DIFFERENCE_EPOCH_HEIGHT2_FILTERED) || | |
391 name.equals(BED_DIFFERENCE_HEIGHT_YEAR_FILTERED) || | |
392 name.equals(BED_DIFFERENCE_YEAR_FILTERED) || | |
393 name.equals(BED_DIFFERENCE_YEAR_HEIGHT1_FILTERED) || | |
394 name.equals(BED_DIFFERENCE_YEAR_HEIGHT2_FILTERED)){ | |
395 return Boolean.TRUE; | |
396 } | |
387 else { | 397 else { |
388 return Boolean.TRUE; | 398 return null; |
389 } | 399 } |
390 } | 400 } |
391 }); | 401 }); |
392 } | 402 } |
393 } | 403 } |