You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: visualvm/libs.profiler/lib.profiler.common/src/org/graalvm/visualvm/lib/common/integration/IntegrationUtils.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -230,7 +230,7 @@ public static boolean isFileModifiedForProfiler(File file) {
230
230
returnfalse;
231
231
}
232
232
233
-
if (line.indexOf(MODIFIED_FOR_PROFILER_STRING) != -1) {
233
+
if (line.contains(MODIFIED_FOR_PROFILER_STRING)) {
234
234
br.close();
235
235
236
236
returntrue;
@@ -245,7 +245,7 @@ public static boolean isFileModifiedForProfiler(File file) {
245
245
returnfalse;
246
246
}
247
247
248
-
if (line.indexOf(MODIFIED_FOR_PROFILER_STRING) != -1) {
248
+
if (line.contains(MODIFIED_FOR_PROFILER_STRING)) {
0 commit comments