Skip to content

Commit

Permalink
Poor var naming
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Dec 26, 2024
1 parent dcfe1fc commit 8973437
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions runner/main/modules/docker-jmeter/libraries/recorder.bsf
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,15 @@ EscapeQuotes(String text) {
return text.replace("'", "\\'");
}

DebugValue(DebugValue) {
if (DebugValue == null) {
DebugValue = '[NULL]';
DebugValue(value) {
if (value == null) {
value = '[NULL]';
}

String logPath = "output/logs/debug.log";
FileWriter logStream = new FileWriter(logPath, true);
BufferedWriter debugWriter = new BufferedWriter(logStream);
debugWriter.write(DebugValue);
debugWriter.write(value);
debugWriter.write("\n");
debugWriter.close();
}
Expand Down

0 comments on commit 8973437

Please sign in to comment.