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
elandau authored Sep 14, 2016
1 parent a38fdfd commit f7d9590
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,6 @@
* </code>
*/
public class ArchaiusModule extends AbstractModule {
// 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");
}

@Deprecated
private Class<? extends CascadeStrategy> cascadeStrategy = null;

Expand Down

0 comments on commit f7d9590

Please sign in to comment.