Skip to content

Commit

Permalink
Remove unrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
akang31 committed Jul 14, 2023
1 parent 2f74f7f commit 5872f71
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

import org.apache.commons.configuration.AbstractConfiguration;

import java.util.Set;

public class ConfigurationBackedDynamicPropertySupportImpl implements DynamicPropertySupport {

private final AbstractConfiguration config;
Expand All @@ -30,19 +28,6 @@ public ConfigurationBackedDynamicPropertySupportImpl(AbstractConfiguration confi
this.config = config;
}

// @Override
// public Set<String> getUsedProperties() {
// System.out.println("!!!!! getUsedProperties in ConfigurationBackedDynamicPropertySupportImpl");
// System.out.println("!!!!!" + config);
// if (config != null) {
// System.out.println("!!!!!" + config.getClass());
// }
// if (!(config instanceof ConcurrentCompositeConfiguration)) {
// System.out.println("!!!!! the cast is going to fail...");
// }
// return ((ConcurrentCompositeConfiguration) config).getUsedProperties();
// }

@Override
public String getString(String key) {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,6 @@ public class DynamicProperty {
private CopyOnWriteArraySet<Runnable> callbacks = new CopyOnWriteArraySet<Runnable>();
private CopyOnWriteArraySet<PropertyChangeValidator> validators = new CopyOnWriteArraySet<PropertyChangeValidator>();

// public static Set<String> getUsedProperties() {
// System.out.println("!!!!! Trying to return usedProperties: " + dynamicPropertySupportImpl);
// if (dynamicPropertySupportImpl != null) {
// System.out.println("!!!!!?? " + dynamicPropertySupportImpl.getClass());
// }
// return dynamicPropertySupportImpl.getUsedProperties();
// }

/**
* A cached value of a particular type.
* @param <T> the type of the cached value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
*/
package com.netflix.config;

import java.util.Set;
import java.util.function.Consumer;

/**
* The interface that defines the contract between DynamicProperty and its
* underlying support system.
Expand Down

0 comments on commit 5872f71

Please sign in to comment.