diff --git a/lib/vdyp-common/src/main/java/ca/bc/gov/nrs/vdyp/common_calculators/SiteClassCode2SiteIndex.java b/lib/vdyp-common/src/main/java/ca/bc/gov/nrs/vdyp/common_calculators/SiteClassCode2SiteIndex.java index 93c300ae6..88e4c276d 100644 --- a/lib/vdyp-common/src/main/java/ca/bc/gov/nrs/vdyp/common_calculators/SiteClassCode2SiteIndex.java +++ b/lib/vdyp-common/src/main/java/ca/bc/gov/nrs/vdyp/common_calculators/SiteClassCode2SiteIndex.java @@ -200,6 +200,7 @@ public static double classToIndex(SiteIndexSpecies spIndex, char siteClass, char default: throw new ForestInventoryZoneException("Unknown FIZ code: " + forestInventoryZone); } + break; case SI_SPEC_HWI: switch (siteClass) { diff --git a/lib/vdyp-forward/src/main/java/ca/bc/gov/nrs/vdyp/forward/ForwardProcessingEngine.java b/lib/vdyp-forward/src/main/java/ca/bc/gov/nrs/vdyp/forward/ForwardProcessingEngine.java index a3425ea5a..a4fcd2a95 100644 --- a/lib/vdyp-forward/src/main/java/ca/bc/gov/nrs/vdyp/forward/ForwardProcessingEngine.java +++ b/lib/vdyp-forward/src/main/java/ca/bc/gov/nrs/vdyp/forward/ForwardProcessingEngine.java @@ -2371,7 +2371,8 @@ private static double ageAndSiteIndexToHeight( } } - @SuppressWarnings("java:S3776") + @SuppressWarnings({ "java:S3776", "java:S128" // This is using case fall through. The lack of breaks is intentional. + }) private void writeCurrentPolygon(int startYear, int currentYear, int endYear) throws ProcessingException { try {