We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6119ad commit 83b4b34Copy full SHA for 83b4b34
1 file changed
src/main/java/gr/sqlbrowserfx/utils/PropertiesLoader.java
@@ -128,13 +128,13 @@ public static Properties getPropertiesFromFile(String fileNamePart) {
128
return null;
129
}
130
131
- public static void storeProperty(String absolutePath, String value) {
+ public static void storeProperty(String absolutePath, String prop, String value) {
132
var file = new File(absolutePath);
133
try (var inputStream = new FileInputStream(file)) {
134
var props = new Properties();
135
props.load(inputStream);
136
// update or add property
137
- props.setProperty("amarildo.root.path", value);
+ props.setProperty(prop, value);
138
139
// save back
140
try (var out = new FileOutputStream(file)) {
0 commit comments