mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
removed deprecated usages
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ public abstract class BuildArtifactsBeforeRunTaskProviderBase<T extends BuildArt
|
||||
protected void run(@NotNull final Result result) {
|
||||
List<ArtifactPointer> pointers = task.getArtifactPointers();
|
||||
for (ArtifactPointer pointer : pointers) {
|
||||
ContainerUtil.addIfNotNull(pointer.getArtifact(), artifacts);
|
||||
ContainerUtil.addIfNotNull(artifacts, pointer.getArtifact());
|
||||
}
|
||||
}
|
||||
}.execute();
|
||||
|
||||
+1
-1
@@ -226,7 +226,7 @@ public class BindFieldsFromParametersAction extends BaseIntentionAction implemen
|
||||
if (calledMethod != null && calledMethod.isConstructor()) {
|
||||
for (PsiExpression arg : ((PsiMethodCallExpression)expression).getArgumentList().getExpressions()) {
|
||||
if (arg instanceof PsiReferenceExpression) {
|
||||
ContainerUtil.addIfNotNull(((PsiReferenceExpression)arg).resolve(), resolvedInSuperOrThis);
|
||||
ContainerUtil.addIfNotNull(resolvedInSuperOrThis, ((PsiReferenceExpression)arg).resolve());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user