click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r1034732 - /click/trunk/click/framework/src/org/apache/click/control/RadioGroup.java
Date Sat, 13 Nov 2010 11:56:29 GMT
Author: sabob
Date: Sat Nov 13 11:56:29 2010
New Revision: 1034732

URL: http://svn.apache.org/viewvc?rev=1034732&view=rev
Log:
cleanup

Modified:
    click/trunk/click/framework/src/org/apache/click/control/RadioGroup.java

Modified: click/trunk/click/framework/src/org/apache/click/control/RadioGroup.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/control/RadioGroup.java?rev=1034732&r1=1034731&r2=1034732&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/control/RadioGroup.java (original)
+++ click/trunk/click/framework/src/org/apache/click/control/RadioGroup.java Sat Nov 13 11:56:29
2010
@@ -495,7 +495,7 @@ public class RadioGroup extends Field {
         appendAttributes(buffer);
         buffer.closeTag();
 
-        String value = getValue();
+        String localValue = getValue();
 
         final int size = getRadioList().size();
 
@@ -509,8 +509,8 @@ public class RadioGroup extends Field {
                 radio.setDisabled(true);
             }
 
-            if (value != null && value.length() > 0) {
-                if (radio.getValue().equals(value)) {
+            if (localValue != null && localValue.length() > 0) {
+                if (radio.getValue().equals(localValue)) {
                     radio.setChecked(true);
                 } else {
                     radio.setChecked(false);



Mime
View raw message