mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
+3
-5
@@ -30,7 +30,6 @@ import com.sun.jdi.Value;
|
||||
import org.jdom.Element;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
public class CompoundNodeRenderer extends NodeRendererImpl{
|
||||
@@ -97,11 +96,10 @@ public class CompoundNodeRenderer extends NodeRendererImpl{
|
||||
@SuppressWarnings({"HardCodedStringLiteral"})
|
||||
public void readExternal(Element element) throws InvalidDataException {
|
||||
super.readExternal(element);
|
||||
final List children = element.getChildren(NodeRendererSettings.RENDERER_TAG);
|
||||
List<Element> children = element.getChildren(NodeRendererSettings.RENDERER_TAG);
|
||||
if (children != null) {
|
||||
for (Iterator it = children.iterator(); it.hasNext();) {
|
||||
final Element elem = (Element)it.next();
|
||||
final String role = elem.getAttributeValue("role");
|
||||
for (Element elem : children) {
|
||||
String role = elem.getAttributeValue("role");
|
||||
if (role == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user