Skip to content

Commit 7bdf2ae

Browse files
committed
compiler: remove the confusingly named CheckGraalInvariants#relativeFileName
1 parent 7ef3891 commit 7bdf2ae

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

compiler/src/jdk.graal.compiler.test/src/jdk/graal/compiler/core/test/CheckGraalInvariants.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,6 @@ public static void main(String[] args) {
154154

155155
}
156156

157-
public static String relativeFileName(String absolutePath) {
158-
int lastFileSeparatorIndex = absolutePath.lastIndexOf(File.separator);
159-
return absolutePath.substring(Math.max(lastFileSeparatorIndex, 0));
160-
}
161-
162157
public static class InvariantsTool {
163158

164159
protected boolean shouldProcess(String classpathEntry) {

0 commit comments

Comments
 (0)