diff options
author | George Fraser <george@fivetran.com> | 2019-01-08 20:18:49 -0800 |
---|---|---|
committer | George Fraser <george@fivetran.com> | 2019-01-08 20:18:49 -0800 |
commit | a8d28f51dfc42c88eddbe1b5156f5b1be5aece83 (patch) | |
tree | a9c95f9d86332df2a375870cdaf96c58929c0889 /src/test | |
parent | 07a4b8b44b492d18cd759022395eb3a593f42f75 (diff) | |
download | java-language-server-a8d28f51dfc42c88eddbe1b5156f5b1be5aece83.zip |
Use ForwardingJavaFileManager
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/javacs/SourceFileManagerTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/javacs/SourceFileManagerTest.java b/src/test/java/org/javacs/SourceFileManagerTest.java index 523b6a4..64a35ac 100644 --- a/src/test/java/org/javacs/SourceFileManagerTest.java +++ b/src/test/java/org/javacs/SourceFileManagerTest.java @@ -21,8 +21,8 @@ public class SourceFileManagerTest { private static SourceFileManager createSourceFileManager() { var fileManager = new SourceFileManager(); try { - fileManager.setLocationFromPaths(StandardLocation.SOURCE_PATH, List.of(src)); - fileManager.setLocationFromPaths(StandardLocation.CLASS_PATH, List.of(classes)); + fileManager.setLocation(StandardLocation.SOURCE_PATH, List.of(src.toFile())); + fileManager.setLocation(StandardLocation.CLASS_PATH, List.of(classes.toFile())); } catch (IOException e) { throw new RuntimeException(e); } |