@Test public void isTolerantlyValidCcDivisionCode_DivisionNumberNotDivisibleBy5() { assertTrue(CommonCourtDivisionUtils.isTolerantlyValidCcDivisionCode("1303")); }
public static boolean isTolerantlyValidCcDivisionCode(String divisionCode) { boolean isNumeric = StringUtils.isNumeric(divisionCode) && (divisionCode.length() >= 3 || divisionCode.length() <= 7); if (!isNumeric) { return false; } return true; }
CommonCourtDivisionUtils { public static boolean isTolerantlyValidCcDivisionCode(String divisionCode) { boolean isNumeric = StringUtils.isNumeric(divisionCode) && (divisionCode.length() >= 3 || divisionCode.length() <= 7); if (!isNumeric) { return false; } return true; } }
CommonCourtDivisionUtils { public static boolean isTolerantlyValidCcDivisionCode(String divisionCode) { boolean isNumeric = StringUtils.isNumeric(divisionCode) && (divisionCode.length() >= 3 || divisionCode.length() <= 7); if (!isNumeric) { return false; } return true; } private  CommonCourtDivisionUtils(); }
CommonCourtDivisionUtils { public static boolean isTolerantlyValidCcDivisionCode(String divisionCode) { boolean isNumeric = StringUtils.isNumeric(divisionCode) && (divisionCode.length() >= 3 || divisionCode.length() <= 7); if (!isNumeric) { return false; } return true; } private  CommonCourtDivisionUtils(); static boolean isStrictlyValidCcDivisionCode(String divisionCode); static boolean isTolerantlyValidCcDivisionCode(String divisionCode); static String tryExtractNonLocalType(String divisionCode); static String tryExtractNonLocalCode(String divisionCode); static String tryExtractDivisionTypeCode(String divisionCode); static String tryExtractDivisionNumber(String divisionCode); }
CommonCourtDivisionUtils { public static boolean isTolerantlyValidCcDivisionCode(String divisionCode) { boolean isNumeric = StringUtils.isNumeric(divisionCode) && (divisionCode.length() >= 3 || divisionCode.length() <= 7); if (!isNumeric) { return false; } return true; } private  CommonCourtDivisionUtils(); static boolean isStrictlyValidCcDivisionCode(String divisionCode); static boolean isTolerantlyValidCcDivisionCode(String divisionCode); static String tryExtractNonLocalType(String divisionCode); static String tryExtractNonLocalCode(String divisionCode); static String tryExtractDivisionTypeCode(String divisionCode); static String tryExtractDivisionNumber(String divisionCode);  }