Skip to content

Commit

Permalink
Change default name of properties file
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Oct 25, 2016
1 parent 4761b68 commit 29c5312
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/io/github/bonigarcia/wdm/WdmConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ public class WdmConfig {
private static WdmConfig instance;
private Config conf;

public static final String propertyFileName = System.getProperty("wdm.prop.filename","application.properties");

protected WdmConfig() {
conf = ConfigFactory.load(propertyFileName);
conf = ConfigFactory.load(System.getProperty("wdm.properties",
"webdrivermanager.properties"));
}

public static synchronized WdmConfig getInstance() {
Expand Down
File renamed without changes.

0 comments on commit 29c5312

Please sign in to comment.