@Test public void removeCorrespondingKeys() { Properties p = new Properties(); p.setProperty(CoreProfile.KEY_PREFIX + "aaa", "aaa"); p.setProperty("unknown.aaa", "bbb"); CoreProfile.removeCorrespondingKeys(p); Properties answer = new Properties(); answer.setProperty("unknown.aaa", "bbb"); assertThat(p, is(answer)); }
public static void removeCorrespondingKeys(Properties properties) { if (properties == null) { throw new IllegalArgumentException("properties must not be null"); } PropertiesUtil.removeKeyPrefix(properties, KEY_PREFIX); }
CoreProfile { public static void removeCorrespondingKeys(Properties properties) { if (properties == null) { throw new IllegalArgumentException("properties must not be null"); } PropertiesUtil.removeKeyPrefix(properties, KEY_PREFIX); } }
CoreProfile { public static void removeCorrespondingKeys(Properties properties) { if (properties == null) { throw new IllegalArgumentException("properties must not be null"); } PropertiesUtil.removeKeyPrefix(properties, KEY_PREFIX); } CoreProfile(int maxProcesses); }
CoreProfile { public static void removeCorrespondingKeys(Properties properties) { if (properties == null) { throw new IllegalArgumentException("properties must not be null"); } PropertiesUtil.removeKeyPrefix(properties, KEY_PREFIX); } CoreProfile(int maxProcesses); int getMaxProcesses(); @Deprecated static CoreProfile loadFrom(Properties properties, ClassLoader loader); static CoreProfile loadFrom(Properties properties, ProfileContext context); void storeTo(Properties properties); static void removeCorrespondingKeys(Properties properties); }
CoreProfile { public static void removeCorrespondingKeys(Properties properties) { if (properties == null) { throw new IllegalArgumentException("properties must not be null"); } PropertiesUtil.removeKeyPrefix(properties, KEY_PREFIX); } CoreProfile(int maxProcesses); int getMaxProcesses(); @Deprecated static CoreProfile loadFrom(Properties properties, ClassLoader loader); static CoreProfile loadFrom(Properties properties, ProfileContext context); void storeTo(Properties properties); static void removeCorrespondingKeys(Properties properties); static final String KEY_PREFIX; @Deprecated
    static final String KEY_MAX_THREADS; static final String KEY_MAX_PROCESSES; static final int DEFAULT_MAX_PROCESSES; }