Refactor version dependant calls to new System #79
@ -68,7 +68,7 @@ public class CheckSchemType implements ICheckSchemType {
|
||||
}
|
||||
|
||||
public AutoCheckResult autoCheck(Schematic schematic) {
|
||||
return VersionedCallable.call(new VersionedCallable<>(() -> new AutoCheckResult(), 8),
|
||||
return VersionedCallable.call(new VersionedCallable<>(AutoCheckResult::new, 8),
|
||||
new VersionedCallable<>(() -> CheckSchemType_12.autoCheck(schematic, null), 12),
|
||||
new VersionedCallable<>(() -> CheckSchemType_15.autoCheck(schematic, null), 15));
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren