mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
when library is deleted it is removed from artifacts
This commit is contained in:
+10
@@ -127,4 +127,14 @@ public abstract class CompositePackagingElement<S> extends PackagingElement<S> i
|
||||
public void removeAllChildren() {
|
||||
myChildren.clear();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public CompositePackagingElement<?> findCompositeChild(@NotNull String name) {
|
||||
for (PackagingElement<?> child : myChildren) {
|
||||
if (child instanceof CompositePackagingElement && name.equals(((CompositePackagingElement)child).getName())) {
|
||||
return (CompositePackagingElement)child;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user