@Test public void isChangedByNormalization_TRUE() { String judgmentFormName = "orzeczenie siedmiu sędziów SN "; assertTrue(scJudgmentFormNameNormalizer.isChangedByNormalization(judgmentFormName)); }
public boolean isChangedByNormalization(String judgmentFormName) { String adjustedJudgmentFormName = adjust(judgmentFormName); String normalizedJudgmentFormName = normalize(judgmentFormName); if (adjustedJudgmentFormName == null) { if (normalizedJudgmentFormName == null) { return false; } } return !adjustedJudgmentFormName.equals(normalizedJudgmentFormName); }
ScJudgmentFormNameNormalizer { public boolean isChangedByNormalization(String judgmentFormName) { String adjustedJudgmentFormName = adjust(judgmentFormName); String normalizedJudgmentFormName = normalize(judgmentFormName); if (adjustedJudgmentFormName == null) { if (normalizedJudgmentFormName == null) { return false; } } return !adjustedJudgmentFormName.equals(normalizedJudgmentFormName); } }
ScJudgmentFormNameNormalizer { public boolean isChangedByNormalization(String judgmentFormName) { String adjustedJudgmentFormName = adjust(judgmentFormName); String normalizedJudgmentFormName = normalize(judgmentFormName); if (adjustedJudgmentFormName == null) { if (normalizedJudgmentFormName == null) { return false; } } return !adjustedJudgmentFormName.equals(normalizedJudgmentFormName); }  }
ScJudgmentFormNameNormalizer { public boolean isChangedByNormalization(String judgmentFormName) { String adjustedJudgmentFormName = adjust(judgmentFormName); String normalizedJudgmentFormName = normalize(judgmentFormName); if (adjustedJudgmentFormName == null) { if (normalizedJudgmentFormName == null) { return false; } } return !adjustedJudgmentFormName.equals(normalizedJudgmentFormName); }  String normalize(String judgmentFormName); boolean isChangedByNormalization(String judgmentFormName); void setNormalizedNameMap(Map<String, String> normalizedNameMap); }
ScJudgmentFormNameNormalizer { public boolean isChangedByNormalization(String judgmentFormName) { String adjustedJudgmentFormName = adjust(judgmentFormName); String normalizedJudgmentFormName = normalize(judgmentFormName); if (adjustedJudgmentFormName == null) { if (normalizedJudgmentFormName == null) { return false; } } return !adjustedJudgmentFormName.equals(normalizedJudgmentFormName); }  String normalize(String judgmentFormName); boolean isChangedByNormalization(String judgmentFormName); void setNormalizedNameMap(Map<String, String> normalizedNameMap);  }