aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/utils/AngleUtils.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-11-19 07:15:47 +0100
committerBananeweizen <bananeweizen@gmx.de>2012-11-19 07:15:47 +0100
commitc49a772303401f6996ce7b80899f167310193a14 (patch)
treed017a0357c5c6d51b4b39041cbd9fcd759b44397 /main/src/cgeo/geocaching/utils/AngleUtils.java
parent095423b24064c35037d4b7d6aea423b1652f7a82 (diff)
downloadcgeo-c49a772303401f6996ce7b80899f167310193a14.zip
cgeo-c49a772303401f6996ce7b80899f167310193a14.tar.gz
cgeo-c49a772303401f6996ce7b80899f167310193a14.tar.bz2
#2083: target level 17 changes
* set level 17 as target in manifest (level 4 still supported) * refactor compatibility classes * move deprecated code into compatibility classes
Diffstat (limited to 'main/src/cgeo/geocaching/utils/AngleUtils.java')
-rw-r--r--main/src/cgeo/geocaching/utils/AngleUtils.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/utils/AngleUtils.java b/main/src/cgeo/geocaching/utils/AngleUtils.java
index e2b4a66..6e59a91 100644
--- a/main/src/cgeo/geocaching/utils/AngleUtils.java
+++ b/main/src/cgeo/geocaching/utils/AngleUtils.java
@@ -8,9 +8,11 @@ public class AngleUtils {
/**
* Return the angle to turn of to go from an angle to the other
- *
- * @param from the origin angle in degrees
- * @param to the target angle in degreees
+ *
+ * @param from
+ * the origin angle in degrees
+ * @param to
+ * the target angle in degrees
* @return a value in degrees, in the [-180, 180[ range
*/
public static float difference(final float from, final float to) {