Skip to content

Commit

Permalink
fixes: #61 rename back to registerConfig
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Struberg <[email protected]>
  • Loading branch information
struberg committed Mar 10, 2017
1 parent bf78fec commit c15affd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
* </pre>
*
* For more advanced use cases like e.g. registering a manually created {@link Config} please see
* {@link ConfigProviderResolver#setConfig(Config, ClassLoader)} and {@link ConfigProviderResolver#getBuilder()}.
* {@link ConfigProviderResolver#registerConfig(Config, ClassLoader)} and {@link ConfigProviderResolver#getBuilder()}.
*
* @author <a href="mailto:[email protected]">Mark Struberg</a>
* @author <a href="mailto:[email protected]">Romain Manni-Bucau</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected ConfigProviderResolver() {
* if there is already a Config registered within the Application.
* A user could explicitly use {@link #releaseConfig(Config)} for this case.
*/
public abstract void setConfig(Config config, ClassLoader classLoader);
public abstract void registerConfig(Config config, ClassLoader classLoader);

/**
* A {@link Config} normally gets released if the Application it is associated with gets destroyed.
Expand Down

0 comments on commit c15affd

Please sign in to comment.