click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From med...@apache.org
Subject svn commit: r781390 - /incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
Date Wed, 03 Jun 2009 14:14:30 GMT
Author: medgar
Date: Wed Jun  3 14:14:30 2009
New Revision: 781390

URL: http://svn.apache.org/viewvc?rev=781390&view=rev
Log:
update to support old autobinding configuration

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java

Modified: incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java?rev=781390&r1=781389&r2=781390&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
(original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
Wed Jun  3 14:14:30 2009
@@ -696,13 +696,17 @@
             if ("annotation".equalsIgnoreCase(autobindingStr)) {
                 autobinding = AutoBinding.ANNOTATION;
 
-            // Provided for backward compability
-            } else if ("true".equalsIgnoreCase(autobindingStr)) {
+            } else if ("public".equalsIgnoreCase(autobindingStr)) {
                 autobinding = AutoBinding.PUBLIC;
 
-            } else if ("public".equalsIgnoreCase(autobindingStr)) {
+            } else if ("none".equalsIgnoreCase(autobindingStr)) {
+                autobinding = AutoBinding.NONE;
+
+            // Provided for backward compatibility
+            } else if ("true".equalsIgnoreCase(autobindingStr)) {
                 autobinding = AutoBinding.PUBLIC;
 
+             // Provided for backward compatibility
             } else if ("false".equalsIgnoreCase(autobindingStr)) {
                 autobinding = AutoBinding.NONE;
 



Mime
View raw message