aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/utils
diff options
context:
space:
mode:
authorMichael Keppler <michael.keppler@gmx.de>2014-04-19 09:45:49 +0200
committerMichael Keppler <michael.keppler@gmx.de>2014-04-19 09:45:49 +0200
commit9fa96b63ab13377b6be3052f6ecbeadb170e9bdc (patch)
tree78a32f4ce37ff694b52c72cfa2457df325efb7e6 /tests/src/cgeo/geocaching/utils
parent0c5c7f9c751b2b8ef1d6c5a6dfa9dc3741d0a9ed (diff)
downloadcgeo-9fa96b63ab13377b6be3052f6ecbeadb170e9bdc.zip
cgeo-9fa96b63ab13377b6be3052f6ecbeadb170e9bdc.tar.gz
cgeo-9fa96b63ab13377b6be3052f6ecbeadb170e9bdc.tar.bz2
fix some compiler warnings
Diffstat (limited to 'tests/src/cgeo/geocaching/utils')
-rw-r--r--tests/src/cgeo/geocaching/utils/MiscUtilsTest.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/src/cgeo/geocaching/utils/MiscUtilsTest.java b/tests/src/cgeo/geocaching/utils/MiscUtilsTest.java
index 2ee99c4..1a3804b 100644
--- a/tests/src/cgeo/geocaching/utils/MiscUtilsTest.java
+++ b/tests/src/cgeo/geocaching/utils/MiscUtilsTest.java
@@ -1,14 +1,15 @@
package cgeo.geocaching.utils;
-import junit.framework.TestCase;
-
import java.util.LinkedList;
import java.util.List;
+import junit.framework.TestCase;
+
public class MiscUtilsTest extends TestCase {
public static void testBufferEmpty() {
- for (final List<String> s: MiscUtils.buffer(new LinkedList<String>(), 10)) {
+ for (@SuppressWarnings("unused")
+ final List<String> s : MiscUtils.buffer(new LinkedList<String>(), 10)) {
fail("empty collection should not iterate");
}
}