Skip to content

Commit dd124ae

Browse files
committed
Fixed style - made convertStringToDoubleOrThrow static
1 parent 82f47b7 commit dd124ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/BuiltinConstructors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ private double convertStringToDouble(VirtualFrame frame, String str, Object orig
10141014

10151015
// Adapted from Jython PyString's atof() method
10161016
@TruffleBoundary
1017-
private double convertStringToDoubleOrThrow(String str) throws NumberFormatException {
1017+
private static double convertStringToDoubleOrThrow(String str) throws NumberFormatException {
10181018
StringBuilder s = null;
10191019
int n = str.length();
10201020

0 commit comments

Comments
 (0)