Commits

Michael Heemskerk committed 8efc7b7

CRUC-5325: Review rework

Comments (0)

Files changed (1)

processutils/src/main/java/com/atlassian/utils/process/ExternalProcess.java

     }
     
     private String quoteString(String value) {
-        StringBuilder builder = new StringBuilder();
-        builder.append("\"");
-        builder.append(value.replace("\"", "\\\""));
-        builder.append("\"");
+        StringBuilder builder = new StringBuilder()
+            .append("\"")
+            .append(value.replace("\"", "\\\""))
+            .append("\"");
         return builder.toString();
     }