File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
graalpython/org.graalvm.python.embedding/src/org/graalvm/python/embedding/utils Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 145145 * @see VirtualFileSystem.Builder
146146 */
147147// TODO: link to user guide
148- public class GraalPyResources {
148+ public final class GraalPyResources {
149+
150+ private GraalPyResources () {
151+ }
149152
150153 /**
151154 * Creates a GraalPy context preconfigured with a {@link VirtualFileSystem} and other GraalPy
@@ -362,7 +365,7 @@ private static Context.Builder createContextBuilder() {
362365 * <p>
363366 * <b>Example </b> creating a GraalPy context precofigured with an external resource directory
364367 * located next to a native image executable.
365- *
368+ *
366369 * <pre>
367370 * Path resourcesDir = GraalPyResources.getNativeExecutablePath().getParent().resolve("python-resources");
368371 * try (Context context = GraalPyResources.contextBuilder(resourcesDir).build()) {
@@ -405,7 +408,7 @@ public static Path getNativeExecutablePath() {
405408 * </p>
406409 * <p>
407410 * <b>Example</b>
408- *
411+ *
409412 * <pre>
410413 * Path resourcesDir = Path.of(System.getProperty("user.home"), ".cache", "my.java.python.app.resources");
411414 * FileSystem fs = GraalPyResources.createVirtualFileSystem();
You can’t perform that action at this time.
0 commit comments