Refactor version dependant calls to new System
Dieser Commit ist enthalten in:
Ursprung
d5cf3aa545
Commit
e155536573
@ -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