diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2012-04-27 17:39:54 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2012-04-27 17:39:54 +0200 |
| commit | 8d2a8e9856896a958efc59bb12c5c45c552cdfaa (patch) | |
| tree | fb086f668529b3a312ae8585c3bce7b7cb2fb6bc /tests | |
| parent | 8bf6387d0df1459573ffcfd5992654d5c936bd2d (diff) | |
| download | cgeo-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.java | 2 |
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 |
