aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/test
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-04-20 18:35:00 +0200
committerBananeweizen <bananeweizen@gmx.de>2012-04-20 18:35:00 +0200
commit94e9d83ad95b003171ab5fb6f3bb2ba0436e68cc (patch)
tree0021a5c3107643c7974903596bc86bdabde08c1e /tests/src/cgeo/test
parent9e755b376fd4d3e8381ec59063249befce57ded5 (diff)
downloadcgeo-94e9d83ad95b003171ab5fb6f3bb2ba0436e68cc.zip
cgeo-94e9d83ad95b003171ab5fb6f3bb2ba0436e68cc.tar.gz
cgeo-94e9d83ad95b003171ab5fb6f3bb2ba0436e68cc.tar.bz2
increase compiler warnings level (and fix some)
* boxing/unboxing * name shadowing
Diffstat (limited to 'tests/src/cgeo/test')
-rw-r--r--tests/src/cgeo/test/Compare.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/cgeo/test/Compare.java b/tests/src/cgeo/test/Compare.java
index 432f4e4..3fdb868 100644
--- a/tests/src/cgeo/test/Compare.java
+++ b/tests/src/cgeo/test/Compare.java
@@ -43,7 +43,7 @@ public abstract class Compare {
assertTrue(actual.getAttributes().contains(attribute));
}
for (LogType logType : expected.getLogCounts().keySet()) {
- assertTrue(actual.getLogCounts().get(logType) >= expected.getLogCounts().get(logType));
+ assertTrue(actual.getLogCounts().get(logType).intValue() >= expected.getLogCounts().get(logType).intValue());
}
// the inventory can differ to often, therefore we don't compare them