mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
No need to have protected utility method
GitOrigin-RevId: e2691b87289c8f7846c8e40a4177632d424da601
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0a08f82123
commit
8ecd83341a
@@ -30,7 +30,7 @@ import java.util.stream.Stream;
|
||||
/**
|
||||
* @author max
|
||||
*/
|
||||
public class PyPsiUtils {
|
||||
public final class PyPsiUtils {
|
||||
|
||||
private static final Logger LOG = Logger.getInstance(PyPsiUtils.class.getName());
|
||||
|
||||
@@ -38,7 +38,7 @@ public class PyPsiUtils {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
protected static <T extends PyElement> T[] nodesToPsi(ASTNode[] nodes, T[] array) {
|
||||
static <T extends PyElement> T[] nodesToPsi(ASTNode[] nodes, T[] array) {
|
||||
T[] psiElements = ArrayUtil.newArray(ArrayUtil.getComponentType(array), nodes.length);
|
||||
for (int i = 0; i < nodes.length; i++) {
|
||||
//noinspection unchecked
|
||||
@@ -648,4 +648,4 @@ public class PyPsiUtils {
|
||||
return element.getText();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user