Skip to content

Commit 681c425

Browse files
committed
reworded some log messages
1 parent 0e52528 commit 681c425

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

graalpython/org.graalvm.python.embedding/src/org/graalvm/python/embedding/utils/VirtualFileSystem.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ public void checkAccess(Path path, Set<? extends AccessMode> modes, LinkOption..
740740
delegate.checkAccess(path, modes, linkOptions);
741741
passed = true;
742742
} finally {
743-
finest("VFS.checkAccess delegated '%s' %s", path, passed ? "OK" : "KO");
743+
finest("VFS.checkAccess delegated '%s' %s and ", path, passed ? "passed" : "did not pass");
744744
}
745745
} else {
746746
String msg = String.format("filesystem without host IO: '%s'", path);
@@ -771,7 +771,7 @@ public void createDirectory(Path dir, FileAttribute<?>... attrs) throws IOExcept
771771
try {
772772
delegate.createDirectory(dir, attrs);
773773
} finally {
774-
finest("VFS.createDirectory delegated '%s' %s", dir, passed ? "OK" : "KO");
774+
finest("VFS.createDirectory delegated '%s' %s", dir, passed ? "passed" : "did not pass");
775775
}
776776
} else {
777777
String msg = String.format("filesystem without host IO: '%s'", dir);
@@ -794,7 +794,7 @@ public void delete(Path path) throws IOException {
794794
try {
795795
delegate.delete(path);
796796
} finally {
797-
finest("VFS.delete delegated '%s' %s", path, passed ? "OK" : "KO");
797+
finest("VFS.delete delegated '%s' %s", path, passed ? "passed" : "did not pass");
798798
}
799799
} else {
800800
String msg = String.format("filesystem without host IO: '%s'", path);
@@ -817,7 +817,7 @@ public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> o
817817
try {
818818
return delegate.newByteChannel(path, options, attrs);
819819
} finally {
820-
finest("VFS.newByteChannel delegated '%s' %s", path, passed ? "OK" : "KO");
820+
finest("VFS.newByteChannel delegated '%s' %s", path, passed ? "passed" : "did not pass");
821821
}
822822
} else {
823823
String msg = String.format("filesystem without host IO: '%s'", path);
@@ -916,7 +916,7 @@ public DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter
916916
try {
917917
return delegate.newDirectoryStream(dir, filter);
918918
} finally {
919-
finest("VFS.newDirectoryStream delegated '%s' %s", dir, passed ? "OK" : "KO");
919+
finest("VFS.newDirectoryStream delegated '%s' %s", dir, passed ? "passed" : "did not pass");
920920
}
921921
} else {
922922
String msg = String.format("filesystem without host IO: '%s'", dir);

0 commit comments

Comments
 (0)