click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r951353 - /click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java
Date Fri, 04 Jun 2010 10:45:42 GMT
Author: sabob
Date: Fri Jun  4 10:45:41 2010
New Revision: 951353

URL: http://svn.apache.org/viewvc?rev=951353&view=rev
Log:
fixed variable name

Modified:
    click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java?rev=951353&r1=951352&r2=951353&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java (original)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java Fri Jun  4
10:45:41 2010
@@ -139,7 +139,7 @@ public class DateField extends TextField
     private static final long serialVersionUID = 1L;
 
     /** Supported locales. */
-    static final String[] SUPPORTTED_LANGUAGES =
+    static final String[] SUPPORTED_LANGUAGES =
         {"da", "de", "en", "fi", "fr", "ja", "nl", "pl", "pt", "ru"};
 
     // Instance Variables -----------------------------------------------------
@@ -951,13 +951,13 @@ public class DateField extends TextField
 
         locale = getContext().getLocale();
         String lang = locale.getLanguage();
-        if (Arrays.binarySearch(SUPPORTTED_LANGUAGES, lang) >= 0) {
+        if (Arrays.binarySearch(SUPPORTED_LANGUAGES, lang) >= 0) {
             return locale;
         }
 
         locale = Locale.getDefault();
         lang = locale.getLanguage();
-        if (Arrays.binarySearch(SUPPORTTED_LANGUAGES, lang) >= 0) {
+        if (Arrays.binarySearch(SUPPORTED_LANGUAGES, lang) >= 0) {
             return locale;
         }
 



Mime
View raw message