Skip to content

Commit

Permalink
Merge pull request #3536 from mulderbaba/PAYARA-3376-Some-JVM-paramet…
Browse files Browse the repository at this point in the history
…ers-are-not-correctly-stored-through-the-Web-Admin-Console

PAYARA-3376-Some-JVM-parameters-are-not-correctly-stored-through-the-Web-Admin-Console
  • Loading branch information
Pandrex247 authored Jan 11, 2019
2 parents 1b971a9 + 1823e2b commit 311d5fb
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,10 @@ private Map<String, String> processData(Map<String, String> data, boolean remove
if ("target".equals(key) || "profiler".equals(key)) {
results.put(key, entry.getValue());
} else {
// options.append(sep).append(escapeOptionPart(entry.getKey()));
options.append(sep).append(removeVersioning ? new JvmOption(key).option: key);
options.append(sep).append(removeVersioning ? new JvmOption(key).option : key);

String value = entry.getValue();
if ((value != null) && (!value.isEmpty())) {
// options.append("=").append(escapeOptionPart(entry.getValue()));
if (value != null && !value.isEmpty() || key != null && key.startsWith("-D")) {
options.append("=").append(entry.getValue());
}
sep = ":";
Expand Down

0 comments on commit 311d5fb

Please sign in to comment.