# HG changeset patch # User "Tom Gottfried " # Date 1410862326 -7200 # Node ID b0d7b0d79d6e5e97ee0bc1f7fcc29a1814f61653 # Parent 5c3b36b519d01dfcb9a3d517a37d9dd057763ff5 Set facet activity for bed quality. diff -r 5c3b36b519d0 -r b0d7b0d79d6e artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/BedQualityState.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/BedQualityState.java Tue Sep 16 11:33:08 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/BedQualityState.java Tue Sep 16 12:12:06 2014 +0200 @@ -84,9 +84,14 @@ name.equals(BEDLOAD_DIAMETER_DATA)){ return Boolean.FALSE; } - else { - return null; + if (name.equals(BED_QUALITY_POROSITY_TOPLAYER) || + name.equals(BED_QUALITY_POROSITY_SUBLAYER) || + name.equals(BED_QUALITY_BED_DIAMETER_TOPLAYER) || + name.equals(BED_QUALITY_BED_DIAMETER_SUBLAYER) || + name.equals(BED_QUALITY_BEDLOAD_DIAMETER)) { + return Boolean.TRUE; } + return null; } }); }