@Test public void testGetNormalizedPackages1() { assertThat( getNormalizedPackages(" com.acme... ; foo.bar.. "), equalTo(asList("com.acme", "foo.bar"))); }
public List<String> getNormalizedPackages(String packages) { List<String> result = new ArrayList<>(); if (packages != null) { String[] prefixes = packages.split("[:;,]"); for (String prefix : prefixes) { String trimmedPrefix = prefix.trim(); if (!trimmedPrefix.isEmpty()) { result.add(getNormalizedPackagePrefix(trimmedPrefix)); } } } Collections.sort(result); return result; }
ConfigUtils { public List<String> getNormalizedPackages(String packages) { List<String> result = new ArrayList<>(); if (packages != null) { String[] prefixes = packages.split("[:;,]"); for (String prefix : prefixes) { String trimmedPrefix = prefix.trim(); if (!trimmedPrefix.isEmpty()) { result.add(getNormalizedPackagePrefix(trimmedPrefix)); } } } Collections.sort(result); return result; } }
ConfigUtils { public List<String> getNormalizedPackages(String packages) { List<String> result = new ArrayList<>(); if (packages != null) { String[] prefixes = packages.split("[:;,]"); for (String prefix : prefixes) { String trimmedPrefix = prefix.trim(); if (!trimmedPrefix.isEmpty()) { result.add(getNormalizedPackagePrefix(trimmedPrefix)); } } } Collections.sort(result); return result; }  }
ConfigUtils { public List<String> getNormalizedPackages(String packages) { List<String> result = new ArrayList<>(); if (packages != null) { String[] prefixes = packages.split("[:;,]"); for (String prefix : prefixes) { String trimmedPrefix = prefix.trim(); if (!trimmedPrefix.isEmpty()) { result.add(getNormalizedPackagePrefix(trimmedPrefix)); } } } Collections.sort(result); return result; }  List<String> getNormalizedPackages(String packages); String getStringValue(Properties props, String propertyName, String defaultValue); String getStringValue2(
      Properties props, String propertyName1, String propertyName2, String defaultValue); Optional<String> getStringValue(Properties props, String propertyName); boolean getBooleanValue(Properties props, String key, boolean defaultValue); int getIntValue(Properties props, String key, int defaultValue); String getEnvVarName(String propertyName); String getSystemPropertyName(String key); List<File> getCommaSeparatedFileValues(String uriValues); }
ConfigUtils { public List<String> getNormalizedPackages(String packages) { List<String> result = new ArrayList<>(); if (packages != null) { String[] prefixes = packages.split("[:;,]"); for (String prefix : prefixes) { String trimmedPrefix = prefix.trim(); if (!trimmedPrefix.isEmpty()) { result.add(getNormalizedPackagePrefix(trimmedPrefix)); } } } Collections.sort(result); return result; }  List<String> getNormalizedPackages(String packages); String getStringValue(Properties props, String propertyName, String defaultValue); String getStringValue2(
      Properties props, String propertyName1, String propertyName2, String defaultValue); Optional<String> getStringValue(Properties props, String propertyName); boolean getBooleanValue(Properties props, String key, boolean defaultValue); int getIntValue(Properties props, String key, int defaultValue); String getEnvVarName(String propertyName); String getSystemPropertyName(String key); List<File> getCommaSeparatedFileValues(String uriValues);  }