Skip to content

Commit b85e5bb

Browse files
extract EnigmaProjectImpl
1 parent 6c2e30c commit b85e5bb

5 files changed

Lines changed: 580 additions & 457 deletions

File tree

enigma/src/main/java/org/quiltmc/enigma/api/Enigma.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public EnigmaProject openJar(Path path, ClassProvider libraryClassProvider, Prog
143143
MappingsIndex mappingsIndex = MappingsIndex.empty();
144144
mappingsIndex.indexMappings(proposedNames, progress);
145145

146-
return new EnigmaProject(this, path, mainProjectProvider, jarIndex, libIndex, comboIndex, mappingsIndex, proposedNames, Utils.zipSha1(path));
146+
return EnigmaProject.of(this, path, mainProjectProvider, jarIndex, libIndex, comboIndex, mappingsIndex, proposedNames, Utils.zipSha1(path));
147147
}
148148

149149
private Predicate<String> createMainReferencedPredicate(AbstractJarIndex mainIndex, ProjectClassProvider classProvider) {

0 commit comments

Comments
 (0)