Skip to content

Commit

Permalink
release v2.2: Add a setter for the default config path
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Apr 27, 2017
1 parent 96c2331 commit dd5eb90
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.g3force</groupId>
<artifactId>configurable</artifactId>
<version>v2.1</version>
<version>v2.2</version>
<name>configurable</name>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,19 @@ private ConfigRegistration()
}


/**
* Update the default config path (default: config/)
* <br>
* Note: This must be called before config clients are added
*
* @param path a new default path
*/
public static void setDefPath(String path)
{
defPath = path;
}


/**
* @param observer
*/
Expand Down

0 comments on commit dd5eb90

Please sign in to comment.