Commit e71b7856 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

debug message improved

parent 2b4d7963
......@@ -48,7 +48,9 @@ public class AbstractNodeComparator extends Comparator<AbstractNode> {
protected int internalCompare(AbstractNode arg0, AbstractNode arg1) {
PolylineDataComparator pdComparator = new PolylineDataComparator(epsilon);
if (pdComparator.compare(arg0.getLine(), arg1.getLine()) != 0) {
logger.debug("Different lines: " + arg0.getLine() + ", " + arg1.getLine());
logger.debug("Different lines:");
logger.debug(arg0.getLine());
logger.debug(arg1.getLine());
return pdComparator.compare(arg0.getLine(), arg1.getLine());
}
return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment