You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ti...@apache.org on 2013/06/12 23:32:39 UTC

[2/3] git commit: Missing parenthesis

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 <ti...@adobe.com>
Authored: Wed Jun 12 14:22:16 2013 -0700
Committer: Tim Kim <ti...@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);