Author: maksimkaszynski
Date: 2008-03-07 07:17:22 -0500 (Fri, 07 Mar 2008)
New Revision: 6618
Modified:
trunk/ui/componentControl/src/main/java/org/richfaces/component/UIComponentControl.java
Log:
fixed syntax for J5
Modified:
trunk/ui/componentControl/src/main/java/org/richfaces/component/UIComponentControl.java
===================================================================
---
trunk/ui/componentControl/src/main/java/org/richfaces/component/UIComponentControl.java 2008-03-07
12:17:16 UTC (rev 6617)
+++
trunk/ui/componentControl/src/main/java/org/richfaces/component/UIComponentControl.java 2008-03-07
12:17:22 UTC (rev 6618)
@@ -61,7 +61,7 @@
}
public String getEncodedParametersMap() {
- StringBuffer result = new StringBuffer();
+ StringBuilder result = new StringBuilder();
boolean shouldClose = false;
@@ -71,7 +71,7 @@
shouldClose = true;
}
- for (Iterator it = this.getChildren().iterator(); it.hasNext();) {
+ for (Iterator<UIComponent> it = this.getChildren().iterator(); it.hasNext();) {
UIComponent child = (UIComponent) it.next();
if (child instanceof UIParameter) {
String name = ((UIParameter) child).getName();
Show replies by date