Resource r2 = stack2.pop();\r
\r
if (comparableResources.contains(r1, r2)) {\r
- System.out.println("already tested " + NameUtils.getSafeName(g, r1) + " " + NameUtils.getSafeName(g, r2));\r
+ //System.out.println("already tested " + NameUtils.getSafeName(g, r1) + " " + NameUtils.getSafeName(g, r2));\r
continue;\r
}\r
comparableResources.map(r1, r2);\r
\r
- System.out.println("test " + NameUtils.getSafeName(g, r1) + " " + NameUtils.getSafeName(g, r2));\r
+ //System.out.println("test " + NameUtils.getSafeName(g, r1) + " " + NameUtils.getSafeName(g, r2));\r
compareProps(r1, r2);\r
\r
for (Resource rel : tested) {\r
}\r
if (ss1 < sorted1.size()) {\r
for (Statement s : list1) {\r
- if (!sorted1.contains(s))\r
- sorted1.add(s);\r
+ if (!sorted1.contains(s)) {\r
+ sorted1.set(ss1,s);\r
+ ss1++;\r
+ }\r
}\r
}\r
if (ss2 < sorted2.size()) {\r
for (Statement s : list2) {\r
- if (!sorted2.contains(s))\r
- sorted2.add(s);\r
+ if (!sorted2.contains(s)) {\r
+ sorted2.set(ss2,s);\r
+ ss2++;\r
+ }\r
}\r
}\r
\r