Skip to content

Commit

Permalink
fix reading path
Browse files Browse the repository at this point in the history
  • Loading branch information
smarianimore committed Nov 12, 2020
1 parent 9424530 commit f80e8d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ public static void main(String[] args) {

try {

final String rootPath = Thread.currentThread().getContextClassLoader().getResource("").getPath();
final String appConfigPath = rootPath + "urls.properties";
final String appConfigPath = Thread.currentThread().getContextClassLoader().getResource("urls.properties").getPath();
final Properties appProps = new Properties();
appProps.load(new FileInputStream(appConfigPath));
final String authUrl = appProps.getProperty("myAuth");
Expand Down
File renamed without changes.

0 comments on commit f80e8d5

Please sign in to comment.