Commit bb82718
authored
Simplify the JctFileManagerImpl class into a separate repository (#287)
This splits up the file manager system into smaller components to reduce
complexity of each
class.
There is now a separate repository mediator class, and module discovery
is performed in a utility class in the utils package instead, enabling
reuse and easier ability to swap out the existing implementation with
new logic in the future, should it be needed. This also makes it easier
to stub module detection in tests by using MockedStatic in Mockito1 parent e92e588 commit bb82718
File tree
8 files changed
+674
-333
lines changed- java-compiler-testing/src
- main/java/io/github/ascopes/jct
- containers/impl
- diagnostics
- filemanagers
- config
- impl
- utils
- test/java/io/github/ascopes/jct/tests/unit/filemanagers
- config
- impl
8 files changed
+674
-333
lines changedLines changed: 425 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments