incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject [15/21] android commit: woops java type checks! love it!
Date Mon, 20 Feb 2012 21:01:00 GMT
woops java type checks! love it!


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/390fe537
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/390fe537
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/390fe537

Branch: refs/heads/master
Commit: 390fe537f8af9b6b0044254661ef2df88dc8bb89
Parents: 40cd714
Author: Fil Maj <filip.maj@nitobi.com>
Authored: Wed Jan 25 14:12:38 2012 -0800
Committer: Joe Bowser <bowserj@apache.org>
Committed: Mon Feb 20 11:04:35 2012 -0800

----------------------------------------------------------------------
 .../src/org/apache/cordova/CompassListener.java    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/390fe537/framework/src/org/apache/cordova/CompassListener.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/CompassListener.java b/framework/src/org/apache/cordova/CompassListener.java
index 97a8b6f..01d431a 100755
--- a/framework/src/org/apache/cordova/CompassListener.java
+++ b/framework/src/org/apache/cordova/CompassListener.java
@@ -59,7 +59,7 @@ public class CompassListener extends Plugin implements SensorEventListener
{
      * Constructor.
      */
     public CompassListener() {
-        this.heading = 0.0;
+        this.heading = 0;
         this.timeStamp = 0;
         this.setStatus(CompassListener.STOPPED);
     }


Mime
View raw message