Skip to content

Commit

Permalink
DONT set archaius1 properties in ArchaiusModule
Browse files Browse the repository at this point in the history
These properties should only be set when using StaticArchaiusBridgeModule
  • Loading branch information
twicksell authored Sep 15, 2016
1 parent e714c15 commit 0ff2e9b
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@ final class InternalArchaiusModule extends AbstractModule {
private static final String LIBRARIES_LAYER_NAME = "LIBRARIES";
private static final String DEFAULT_LAYER_NAME = "DEFAULT";

// These are here to force using the backwards compatibility bridge for
// Archaius1's static API
static {
System.setProperty("archaius.default.configuration.class", "com.netflix.archaius.bridge.StaticAbstractConfiguration");
System.setProperty("archaius.default.deploymentContext.class", "com.netflix.archaius.bridge.StaticDeploymentContext");
}

private static AtomicInteger uniqueNameCounter = new AtomicInteger();

private static String getUniqueName(String prefix) {
Expand Down

0 comments on commit 0ff2e9b

Please sign in to comment.