aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/src/cgeo/geocaching/files/GPXImporterTest.java2
-rw-r--r--tests/src/cgeo/geocaching/utils/MemorySubjectTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/cgeo/geocaching/files/GPXImporterTest.java b/tests/src/cgeo/geocaching/files/GPXImporterTest.java
index dc1fc71..a0dd377 100644
--- a/tests/src/cgeo/geocaching/files/GPXImporterTest.java
+++ b/tests/src/cgeo/geocaching/files/GPXImporterTest.java
@@ -281,7 +281,7 @@ public class GPXImporterTest extends AbstractResourceInstrumentationTestCase {
super.tearDown();
}
- private void deleteDirectory(File dir) {
+ private static void deleteDirectory(File dir) {
for (File f : dir.listFiles()) {
if (f.isFile()) {
f.delete();
diff --git a/tests/src/cgeo/geocaching/utils/MemorySubjectTest.java b/tests/src/cgeo/geocaching/utils/MemorySubjectTest.java
index 066dded..30e4f60 100644
--- a/tests/src/cgeo/geocaching/utils/MemorySubjectTest.java
+++ b/tests/src/cgeo/geocaching/utils/MemorySubjectTest.java
@@ -4,7 +4,7 @@ import android.test.AndroidTestCase;
public class MemorySubjectTest extends AndroidTestCase {
- private class Observer implements IObserver<Integer> {
+ private static class Observer implements IObserver<Integer> {
public int times = 0;
public Integer value;