Skip to content

Commit 7714e81

Browse files
Update java/ql/lib/semmle/code/java/os/OSCheck.qll
Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
1 parent 2896c0c commit 7714e81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/os/OSCheck.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private class IsUnixFromApacheCommons extends IsUnixGuard instanceof FieldAccess
6969
/**
7070
* A guard that checks if the `java.nio.file.FileSystem` supports posix file permissions.
7171
* This is often used to infer if the OS is unix-based.
72-
* Looks for calls to `contains("poxix")` on the `supportedFileAttributeViews` method returned by `FileSystem`.
72+
* Looks for calls to `contains("posix")` on the `supportedFileAttributeViews` method returned by `FileSystem`.
7373
*/
7474
private class IsUnixFromPosixFromFileSystem extends IsUnixGuard instanceof MethodAccess {
7575
IsUnixFromPosixFromFileSystem() {

0 commit comments

Comments
 (0)