diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2012-12-18 22:34:18 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2012-12-18 22:54:16 +0100 |
| commit | a6d638fb2d0fa3c68e5299bdae5849968adbd033 (patch) | |
| tree | 2000b0fe4cff3370d7b50cb739c0c4f12089c4b0 /main/src/cgeo/geocaching/ui/CompassMiniView.java | |
| parent | 67f77085aeb5d600e3fe21221744712a40c5b9b8 (diff) | |
| download | cgeo-a6d638fb2d0fa3c68e5299bdae5849968adbd033.zip cgeo-a6d638fb2d0fa3c68e5299bdae5849968adbd033.tar.gz cgeo-a6d638fb2d0fa3c68e5299bdae5849968adbd033.tar.bz2 | |
Refactoring: do not use protected methods in final classes
Diffstat (limited to 'main/src/cgeo/geocaching/ui/CompassMiniView.java')
| -rw-r--r-- | main/src/cgeo/geocaching/ui/CompassMiniView.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/ui/CompassMiniView.java b/main/src/cgeo/geocaching/ui/CompassMiniView.java index 44fb8e2..da8f69e 100644 --- a/main/src/cgeo/geocaching/ui/CompassMiniView.java +++ b/main/src/cgeo/geocaching/ui/CompassMiniView.java @@ -97,17 +97,17 @@ final public class CompassMiniView extends View { targetCoords = point; } - protected void updateAzimuth(float azimuth) { + public void updateAzimuth(float azimuth) { this.azimuth = azimuth; updateDirection(); } - protected void updateHeading(float heading) { + public void updateHeading(float heading) { this.heading = heading; updateDirection(); } - protected void updateCurrentCoords(final Geopoint currentCoords) { + public void updateCurrentCoords(final Geopoint currentCoords) { if (currentCoords == null || targetCoords == null) { return; } |
