Skip to content

Commit a322588

Browse files
committed
use Integer.getInteger()
1 parent 3c8e190 commit a322588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visualvm/heapviewer/src/org/graalvm/visualvm/heapviewer/oql/OQLConsoleView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
})
152152
public class OQLConsoleView extends HeapViewerFeature {
153153

154-
private static final int RESULTS_LIMIT = Integer.parseInt(System.getProperty("OQLController.limitResults", "100")); // NOI18N
154+
private static final int RESULTS_LIMIT = Integer.getInteger("OQLController.limitResults", 100); // NOI18N
155155

156156

157157
private static final String GRAALJS_CODENAMEBASE = "org.graalvm.visualvm.modules.graaljs"; // NOI18N

0 commit comments

Comments
 (0)