Skip to content

Commit

Permalink
Sanity test logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
csrster committed Feb 15, 2016
1 parent d8e3dd4 commit a8dace1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ public List<AttributeAndType> getAttributesAndTypes(int tree_id, int entity_id)
}

public static int compare2 (List<AttributeAndType> antList1, List<AttributeAndType> antList2) {
log.debug("Using new comparator");
if (antList1 == null) {
antList1 = new ArrayList<>();
}
Expand Down Expand Up @@ -234,6 +235,7 @@ public static int compare2 (List<AttributeAndType> antList1, List<AttributeAndTy
* @return the result of comparing two lists containing attributes and their types
*/
public static int compare(List<AttributeAndType> antList1, List<AttributeAndType> antList2) {
log.debug("Using old comparator");
Collections.sort(antList1);
Collections.sort(antList2);
int res;
Expand Down

0 comments on commit a8dace1

Please sign in to comment.