mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
add curly brackets (formatting)
- add curly brackets around single line conditional statements
This commit is contained in:
@@ -1261,8 +1261,9 @@ public abstract class UIBean extends Component {
|
||||
for (Object o : params.entrySet()) {
|
||||
Map.Entry entry = (Map.Entry) o;
|
||||
String key = (String) entry.getKey();
|
||||
if(!isValidTagAttribute(key) && !key.equals("dynamicAttributes"))
|
||||
if (!isValidTagAttribute(key) && !key.equals("dynamicAttributes")) {
|
||||
dynamicAttributes.put(key, entry.getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user