mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[Gradle reload] cleanup: AbstractExternalDependency
GitOrigin-RevId: 5d2c7cf76147cc635fff45e8e59ad4f4f09f1a1b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b6465a7343
commit
cee329afdb
@@ -36,7 +36,7 @@ public abstract class AbstractExternalDependency implements ExternalDependency {
|
||||
Collection<? extends ExternalDependency> dependencies) {
|
||||
myId = new DefaultExternalDependencyId(id);
|
||||
mySelectionReason = selectionReason;
|
||||
myDependencies = dependencies == null ? new ArrayList<ExternalDependency>(0) : ModelFactory.createCopy(dependencies);
|
||||
myDependencies = dependencies == null ? new ArrayList<>(0) : ModelFactory.createCopy(dependencies);
|
||||
}
|
||||
|
||||
public AbstractExternalDependency(ExternalDependency dependency) {
|
||||
@@ -109,6 +109,10 @@ public abstract class AbstractExternalDependency implements ExternalDependency {
|
||||
return mySelectionReason;
|
||||
}
|
||||
|
||||
public void setSelectionReason(String selectionReason) {
|
||||
this.mySelectionReason = selectionReason;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getClasspathOrder() {
|
||||
return myClasspathOrder;
|
||||
@@ -118,10 +122,6 @@ public abstract class AbstractExternalDependency implements ExternalDependency {
|
||||
myClasspathOrder = order;
|
||||
}
|
||||
|
||||
public void setSelectionReason(String selectionReason) {
|
||||
this.mySelectionReason = selectionReason;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getScope() {
|
||||
return myScope;
|
||||
@@ -190,7 +190,7 @@ public abstract class AbstractExternalDependency implements ExternalDependency {
|
||||
private final ArrayList<Integer> myProcessedStructure;
|
||||
|
||||
private DependenciesIterator(@NotNull Collection<ExternalDependency> dependencies) {
|
||||
mySeenDependencies = Collections.newSetFromMap(new IdentityHashMap<AbstractExternalDependency, Boolean>());
|
||||
mySeenDependencies = Collections.newSetFromMap(new IdentityHashMap<>());
|
||||
myToProcess = new ArrayDeque<>(dependencies);
|
||||
myProcessedStructure = new ArrayList<>();
|
||||
}
|
||||
@@ -218,11 +218,6 @@ public abstract class AbstractExternalDependency implements ExternalDependency {
|
||||
return next();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void remove() {
|
||||
throw new UnsupportedOperationException("remove");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user