Skip to content

Commit

Permalink
I suck at Java
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Dec 26, 2024
1 parent 2ac8110 commit b3c7017
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions runner/main/modules/docker-jmeter/libraries/recorder.bsf
Original file line number Diff line number Diff line change
Expand Up @@ -164,20 +164,17 @@ DebugValue(value) {
debugWriter.close();
}

WritePhpValue(String key, null value) {
WritePhpValue(key, "");
}

WritePhpValue(String key, null value, bool escape) {
WritePhpValue(key, "", escape);
}

WritePhpValue(String key, String value) {
WritePhpValue(String key, value) {
if (value == null) {
value = "";
}
WritePhpLine(key, value, false);
}

WritePhpValue(String key, String value, bool escape) {
if (escape) {
WritePhpValue(String key, value, bool escape) {
if (value == null) {
value = "";
} else if (escape) {
value = EscapeQuotes(value);
}

Expand Down

0 comments on commit b3c7017

Please sign in to comment.