diff options
| author | Michael Keppler <michael.keppler@gmx.de> | 2014-04-19 09:51:21 +0200 |
|---|---|---|
| committer | Michael Keppler <michael.keppler@gmx.de> | 2014-04-19 09:51:21 +0200 |
| commit | 856133fddb826e616a994bae0c32169a5f2f781c (patch) | |
| tree | 4fdabc2b196df8592b57e79c5ea501969e780df9 /main/src/cgeo/geocaching/sensors | |
| parent | 9fa96b63ab13377b6be3052f6ecbeadb170e9bdc (diff) | |
| download | cgeo-856133fddb826e616a994bae0c32169a5f2f781c.zip cgeo-856133fddb826e616a994bae0c32169a5f2f781c.tar.gz cgeo-856133fddb826e616a994bae0c32169a5f2f781c.tar.bz2 | |
remove unneeded suppresswarnings
Eclipse does not show a warning if the parameter is documented in the
JavaDoc. If your IDE shows warnings about these parameters now after the
change, consider upgrading.
Diffstat (limited to 'main/src/cgeo/geocaching/sensors')
| -rw-r--r-- | main/src/cgeo/geocaching/sensors/GeoDirHandler.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/sensors/GeoDirHandler.java b/main/src/cgeo/geocaching/sensors/GeoDirHandler.java index c10cb48..0f30142 100644 --- a/main/src/cgeo/geocaching/sensors/GeoDirHandler.java +++ b/main/src/cgeo/geocaching/sensors/GeoDirHandler.java @@ -4,6 +4,7 @@ import cgeo.geocaching.CgeoApplication; import cgeo.geocaching.settings.Settings; import org.apache.commons.lang3.tuple.ImmutablePair; + import rx.Observable; import rx.Subscription; import rx.android.schedulers.AndroidSchedulers; @@ -37,7 +38,7 @@ public abstract class GeoDirHandler { * * @param geoData the new geographical data */ - public void updateGeoData(@SuppressWarnings("unused") final IGeoData geoData) { + public void updateGeoData(final IGeoData geoData) { } /** @@ -46,7 +47,7 @@ public abstract class GeoDirHandler { * * @param direction the new direction */ - public void updateDirection(@SuppressWarnings("unused") final float direction) { + public void updateDirection(final float direction) { } /** @@ -59,7 +60,7 @@ public abstract class GeoDirHandler { * If the device goes fast enough, or if the compass use is not enabled in the settings, * the GPS direction information will be used instead of the compass one. */ - public void updateGeoDir(@SuppressWarnings("unused") final IGeoData geoData, @SuppressWarnings("unused") final float direction) { + public void updateGeoDir(final IGeoData geoData, final float direction) { } private static Observable<Float> fixedDirection() { |
