Skip to content

Commit b49a6d1

Browse files
committed
supress warning
1 parent 017c964 commit b49a6d1

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/PosixModuleBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ Object open(String pathname, int flags, int fileMode, @SuppressWarnings("unused"
591591
}
592592
}
593593

594-
@SuppressWarnings("unchecked")
594+
@SuppressWarnings({"unchecked", "rawtypes"})
595595
@TruffleBoundary(allowInlining = true)
596596
private static FileAttribute<Set<PosixFilePermission>>[] modeToAttributes(int fileMode) {
597597
FileAttribute<Set<PosixFilePermission>> fa1 = PosixFilePermissions.asFileAttribute(new HashSet<>(Arrays.asList(otherBitsToPermission[fileMode & 7])));

0 commit comments

Comments
 (0)