Skip to content

Commit

Permalink
Merge pull request #433 from elandau/fix_proxy_configuration_source
Browse files Browse the repository at this point in the history
Re-introduce deleted methods as deprecated
  • Loading branch information
elandau authored Aug 17, 2016
2 parents 6c5f521 + 479fde3 commit 0b1671c
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,20 @@ public ConfigProxyFactory(Config config, Decoder decoder, PropertyFactory factor
this.propertyFactory = factory;
}

@Deprecated
public ConfigProxyFactory(Config config, PropertyFactory factory) {
this.decoder = config.getDecoder();
this.config = config;
this.propertyFactory = factory;
}

@Deprecated
public ConfigProxyFactory(Config config) {
this.decoder = config.getDecoder();
this.config = config;
this.propertyFactory = DefaultPropertyFactory.from(config);
}

/**
* Create a proxy for the provided interface type for which all getter methods are bound
* to a Property.
Expand Down

0 comments on commit 0b1671c

Please sign in to comment.