Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #32 from sbtqa/bugfix/reader
Browse files Browse the repository at this point in the history
Read properties only once
  • Loading branch information
kosteman authored May 25, 2020
2 parents 0624ee4 + 770f90e commit 2c721b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/ru/sbtqa/tag/qautils/properties/Props.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ private String getProp(String name) {
* @return the Properties object
*/
public static Properties getProps() {
initProperties();
return getInstance().getProperties();
}

private Properties getProperties() {
return properties;
}

Expand Down

0 comments on commit 2c721b9

Please sign in to comment.