mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] cleanup: use getLast/getFirst/etc.
GitOrigin-RevId: e77d2952e8d83aedd00784a2b3290c6c92460717
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2bc43dfd13
commit
53489602f1
@@ -519,7 +519,7 @@ public final class ArtifactUtil {
|
||||
}
|
||||
|
||||
if (!parents.isEmpty()) {
|
||||
CompositePackagingElement<?> lastParent = parents.get(parents.size() - 1);
|
||||
CompositePackagingElement<?> lastParent = parents.getLast();
|
||||
if (lastParent instanceof ArtifactRootElement<?> && !processor.process(lastParent, currentPath, anArtifact)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user