@@ -34,7 +34,7 @@ public static Properties loadAllFiles() {
3434
3535 for (String f : files ) {
3636 Properties tempProp = new Properties ();
37- linkFile = Helpers .getCurrentDir () + f ;
37+ linkFile = SystemHelpers .getCurrentDir () + f ;
3838 file = new FileInputStream (linkFile );
3939 tempProp .load (file );
4040 properties .putAll (tempProp );
@@ -56,7 +56,7 @@ public static Properties getProperties() {
5656 public static void setFile (String relPropertiesFilePath ) {
5757 properties = new Properties ();
5858 try {
59- linkFile = Helpers .getCurrentDir () + relPropertiesFilePath ;
59+ linkFile = SystemHelpers .getCurrentDir () + relPropertiesFilePath ;
6060 file = new FileInputStream (linkFile );
6161 properties .load (file );
6262 file .close ();
@@ -68,7 +68,7 @@ public static void setFile(String relPropertiesFilePath) {
6868 public static void setDefaultFile () {
6969 properties = new Properties ();
7070 try {
71- linkFile = Helpers .getCurrentDir () + relPropertiesFilePathDefault ;
71+ linkFile = SystemHelpers .getCurrentDir () + relPropertiesFilePathDefault ;
7272 file = new FileInputStream (linkFile );
7373 properties .load (file );
7474 file .close ();
@@ -82,7 +82,7 @@ public static String getValue(String key) {
8282 try {
8383 if (file == null && properties == null ) {
8484 properties = new Properties ();
85- linkFile = Helpers .getCurrentDir () + relPropertiesFilePathDefault ;
85+ linkFile = SystemHelpers .getCurrentDir () + relPropertiesFilePathDefault ;
8686 file = new FileInputStream (linkFile );
8787 properties .load (file );
8888 file .close ();
@@ -101,10 +101,10 @@ public static void setValue(String key, String keyValue) {
101101 try {
102102 if (file == null ) {
103103 properties = new Properties ();
104- file = new FileInputStream (Helpers .getCurrentDir () + relPropertiesFilePathDefault );
104+ file = new FileInputStream (SystemHelpers .getCurrentDir () + relPropertiesFilePathDefault );
105105 properties .load (file );
106106 file .close ();
107- out = new FileOutputStream (Helpers .getCurrentDir () + relPropertiesFilePathDefault );
107+ out = new FileOutputStream (SystemHelpers .getCurrentDir () + relPropertiesFilePathDefault );
108108 }
109109 //Write to the same Prop file as the extracted file
110110 out = new FileOutputStream (linkFile );
0 commit comments