Just some code cleanup on OResult
@@ -7,7 +7,6 @@ import com.orientechnologies.orient.core.record.ORecord;
import com.orientechnologies.orient.core.record.OVertex;
import com.orientechnologies.orient.core.record.impl.OBlob;
import com.orientechnologies.orient.core.util.ODateHelper;
-import jdk.nashorn.internal.ir.debug.JSONWriter;
import java.util.*;
@@ -215,7 +214,6 @@ public interface OResult {
}
default String encode(String s) {
- JSONWriter writer;
String result = s.replaceAll("\\\\", "\\\\\\\\");
result = result.replaceAll("\"", "\\\\\"");
result = result.replaceAll("\n", "\\\\n");
