Remove color debug message

Typing "new color()" now results in error "class 'color' does not
exists"
This commit is contained in:
Jakub Valtar
2015-09-21 23:24:05 -04:00
parent bf3e60dc4f
commit 19fec47211

View File

@@ -210,16 +210,16 @@ public class XQPreprocessor {
// }
/**
* This is added just for debugging purposes - to make sure that all
* instances of color type have been substituded as in by the regex
* search in ErrorCheckerService.preprocessCode().
*/
public boolean visit(SimpleType node) {
if (node.toString().equals("color")) {
System.err.println("Color type detected: please report as an issue.");
}
return true;
}
// /**
// * This is added just for debugging purposes - to make sure that all
// * instances of color type have been substituded as in by the regex
// * search in ErrorCheckerService.preprocessCode().
// */
// public boolean visit(SimpleType node) {
// if (node.toString().equals("color")) {
// System.err.println("Color type detected: please report as an issue.");
// }
// return true;
// }
}
}