Prox: deleted debug output.
Change-Id: If82218a29aa4ac9dd53dbbaba7283d6ee0d755b2
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/util/Antlr3DescriptiveErrorListener.java b/src/main/java/de/ids_mannheim/korap/query/serialize/util/Antlr3DescriptiveErrorListener.java
index f317c18..e5f5d71 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/util/Antlr3DescriptiveErrorListener.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/util/Antlr3DescriptiveErrorListener.java
@@ -32,10 +32,7 @@
@Override
public void reportError (String error) {
- System.err.printf("Debug: reportError (err): entering for error = '%s'.\n", error);
- System.out.printf("Debug: reportError (out): entering for error = '%s'.\n", error);
-
- String charPositionStr = null;
+ String charPositionStr = null;
String offendingSymbol = null;
String expected = null;
Pattern p = Pattern
@@ -62,18 +59,17 @@
errorSpecs.add(StatusCodes.MALFORMED_QUERY);
errorSpecs.add(msg);
errorSpecs.add(getCharPosition());
-
- System.err.printf("Debug: generateFullErrorMsg: msg = '%s'.\n", msg);
-
return errorSpecs;
}
private String getDetailedErrorMessage () {
- System.err.printf("Debug: getDetailedErrorMessage: pos=%d expected='%s' offend='%s' query='%s'.\n",
- charPosition, expected != null ? expected : "null", offendingSymbol != null ? offendingSymbol : "null",
+ /*
+ System.err.printf("Debug: getDetailedErrorMessage: pos=%d expected='%s' offend='%s' query='%s'.\n",
+ charPosition, expected != null ? expected : "null", offendingSymbol != null ? offendingSymbol : "null",
query != null ? query : "null");
+ */
// default message, in case no detailed info is available;
String msg = "Malformed query. Could not parse.";