summaryrefslogtreecommitdiff
path: root/src/main/java/org/javacs/Parser.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/javacs/Parser.java')
-rw-r--r--src/main/java/org/javacs/Parser.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/javacs/Parser.java b/src/main/java/org/javacs/Parser.java
index 128fbca..1aa6fe2 100644
--- a/src/main/java/org/javacs/Parser.java
+++ b/src/main/java/org/javacs/Parser.java
@@ -42,7 +42,7 @@ class Parser {
private static final StandardJavaFileManager fileManager =
compiler.getStandardFileManager(__ -> {}, null, Charset.defaultCharset());
- private static JavacTask parseTask(JavaFileObject file) {
+ static JavacTask parseTask(JavaFileObject file) {
return (JavacTask)
compiler.getTask(
null,
@@ -53,7 +53,7 @@ class Parser {
Collections.singletonList(file));
}
- private static JavacTask parseTask(Path source) {
+ static JavacTask parseTask(Path source) {
JavaFileObject file =
fileManager.getJavaFileObjectsFromFiles(Collections.singleton(source.toFile())).iterator().next();
return parseTask(file);