From 9e3ec6fe002f635c11f2d7ae5f04c722e2771406 Mon Sep 17 00:00:00 2001 From: Daniel Kulp Date: Tue, 6 Dec 2022 17:58:06 -0500 Subject: [PATCH] Remove commented out code --- src/main/java/org/codehaus/jettison/json/JSONObject.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/org/codehaus/jettison/json/JSONObject.java b/src/main/java/org/codehaus/jettison/json/JSONObject.java index 47043ee..f3d0692 100644 --- a/src/main/java/org/codehaus/jettison/json/JSONObject.java +++ b/src/main/java/org/codehaus/jettison/json/JSONObject.java @@ -1044,9 +1044,6 @@ public static String quote(String string, boolean escapeForwardSlashAlways) { switch (c) { case '\\': sb.append("\\\\"); - //if (i < (len - 1) && string.charAt(i+1) == '\\') { - // i++; - //} break; case '"': sb.append("\\\"");