aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/utils
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2012-04-28 11:47:26 +0200
committerSamuel Tardieu <sam@rfc1149.net>2012-04-28 11:47:39 +0200
commitf8454954a74bfbd5106d7288b70a3eb8e42fb061 (patch)
tree55fa46a2e47e38c32cd3bb99388b4c71e5b18866 /tests/src/cgeo/geocaching/utils
parent2b1909586060ce653011c19d81fdbea63dc9bf45 (diff)
downloadcgeo-f8454954a74bfbd5106d7288b70a3eb8e42fb061.zip
cgeo-f8454954a74bfbd5106d7288b70a3eb8e42fb061.tar.gz
cgeo-f8454954a74bfbd5106d7288b70a3eb8e42fb061.tar.bz2
Refactoring: make entities static
Those are of little importance in tests where performances do not matter as much as in the application, but nevertheless, tests should be held to the same code standards as the application code.
Diffstat (limited to 'tests/src/cgeo/geocaching/utils')
-rw-r--r--tests/src/cgeo/geocaching/utils/MemorySubjectTest.java2
1 files changed, 1 insertions, 1 deletions
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;