incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bcur...@apache.org
Subject [15/16] android commit: woops java type checks! love it!
Date Fri, 17 Feb 2012 22:58:02 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/c7d4d834
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/c7d4d834
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/c7d4d834

Branch: refs/heads/master
Commit: c7d4d8347642bda0c8c73e0951558a219666bbcc
Parents: 003e3d4
Author: Fil Maj <filip.maj@nitobi.com>
Authored: Wed Jan 25 14:12:38 2012 -0800
Committer: Fil Maj <filip.maj@nitobi.com>
Committed: Wed Feb 15 10:35:20 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/c7d4d834/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