From 8ab5bbf5f5daf7aee8229525197fe394eb2b3cab Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Tue, 23 Jul 2024 10:04:14 -0400 Subject: [PATCH] Make method static. --- .../com/ibm/wala/cast/python/parser/PythonModuleParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.ibm.wala.cast.python.jython3/source/com/ibm/wala/cast/python/parser/PythonModuleParser.java b/com.ibm.wala.cast.python.jython3/source/com/ibm/wala/cast/python/parser/PythonModuleParser.java index 8a5c1037..6b651776 100644 --- a/com.ibm.wala.cast.python.jython3/source/com/ibm/wala/cast/python/parser/PythonModuleParser.java +++ b/com.ibm.wala.cast.python.jython3/source/com/ibm/wala/cast/python/parser/PythonModuleParser.java @@ -257,7 +257,7 @@ private String resolveRelativeImport(String importName) { return subpath.toString(); } - private int getNumberOfBeginningDots(String string) { + private static int getNumberOfBeginningDots(String string) { int ret = 0; for (int i = 0; i < string.length(); i++) {