cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tim...@apache.org
Subject [2/3] git commit: Missing parenthesis
Date Wed, 12 Jun 2013 21:32:39 GMT
Missing parenthesis


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/commit/b9137844
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/tree/b9137844
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/diff/b9137844

Branch: refs/heads/master
Commit: b91378446a59abf12f63cece0447b5aad82bef36
Parents: 54dc4ce
Author: Tim Kim <timk@adobe.com>
Authored: Wed Jun 12 14:22:16 2013 -0700
Committer: Tim Kim <timk@adobe.com>
Committed: Wed Jun 12 14:22:16 2013 -0700

----------------------------------------------------------------------
 src/android/Globalization.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/blob/b9137844/src/android/Globalization.java
----------------------------------------------------------------------
diff --git a/src/android/Globalization.java b/src/android/Globalization.java
index 04b6872..9dcbb80 100644
--- a/src/android/Globalization.java
+++ b/src/android/Globalization.java
@@ -260,7 +260,7 @@ public class Globalization extends CordovaPlugin  {
             String fmt = fmtDate.toLocalizedPattern() + " " + fmtTime.toLocalizedPattern();
//default SHORT date/time format. ex. dd/MM/yyyy h:mm a
 
             //get Date value + options (if available)
-            if (options.getJSONObject(0).has(OPTIONS){
+            if (options.getJSONObject(0).has(OPTIONS)){
                 //options were included
 
                 JSONObject innerOptions = options.getJSONObject(0).getJSOBObject(OPTIONS);


Mime
View raw message