aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2012-04-27 17:39:54 +0200
committerSamuel Tardieu <sam@rfc1149.net>2012-04-27 17:39:54 +0200
commit8d2a8e9856896a958efc59bb12c5c45c552cdfaa (patch)
treefb086f668529b3a312ae8585c3bce7b7cb2fb6bc /tests
parent8bf6387d0df1459573ffcfd5992654d5c936bd2d (diff)
downloadcgeo-8d2a8e9856896a958efc59bb12c5c45c552cdfaa.zip
cgeo-8d2a8e9856896a958efc59bb12c5c45c552cdfaa.tar.gz
cgeo-8d2a8e9856896a958efc59bb12c5c45c552cdfaa.tar.bz2
Refactoring: remove unnecessary unboxing
Diffstat (limited to 'tests')
-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 93eef99..817addc 100644
--- a/tests/src/cgeo/test/Compare.java
+++ b/tests/src/cgeo/test/Compare.java
@@ -42,7 +42,7 @@ public abstract class Compare {
assertTrue(actual.getAttributes().contains(attribute));
}
for (LogType logType : expected.getLogCounts().keySet()) {
- assertTrue(actual.getLogCounts().get(logType).intValue() >= expected.getLogCounts().get(logType).intValue());
+ assertTrue(actual.getLogCounts().get(logType) >= expected.getLogCounts().get(logType));
}
// The inventories can differ too often, therefore we don't compare them. Also, the personal note