Skip to content

Commit 5977dbd

Browse files
committed
Fix test failures
1 parent cd045fb commit 5977dbd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib-extra/src/jdt/java/com/diffplug/spotless/extra/glue/jdt/EclipseJdtSortMembers.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ public ICompilationUnit getPrimary() {
159159
private static class JavaProject extends org.eclipse.jdt.internal.core.JavaProject {
160160
static final JavaProject INSTANCE = new JavaProject();
161161

162+
JavaProject() {
163+
super(null, null);
164+
}
165+
162166
@Override
163167
public Map<String, String> getOptions(boolean inheritJavaCoreOptions) {
164168
return Map.of();

0 commit comments

Comments
 (0)