SteamWar/BauSystem2.0
Archiviert
12
0

Remove FlatteningWrapper.IFlatteningWrapper.start and stop as they should not be exposed
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2022-02-01 08:51:51 +01:00
Ursprung 4e54f13848
Commit d571edd2b9
2 geänderte Dateien mit 2 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -124,13 +124,11 @@ public class FlatteningWrapper15 implements FlatteningWrapper.IFlatteningWrapper
private final Map<String, Long> timing = new HashMap<>();
@Override
public void start(String name) {
private void start(String name) {
timing.put(name, System.currentTimeMillis());
}
@Override
public long stop(String name) {
private long stop(String name) {
return System.currentTimeMillis() - timing.getOrDefault(name, System.currentTimeMillis());
}

Datei anzeigen

@ -49,8 +49,6 @@ public class FlatteningWrapper {
boolean isWorldEditCommand(String command);
void setSelection(Player p, Point minPoint, Point maxPoint);
void start(String name);
long stop(String name);
EditSession paste(File file, Point pastePoint, PasteOptions pasteOptions);
EditSession paste(Clipboard clipboard, Point pastePoint, PasteOptions pasteOptions);
void changeColor(Clipboard clipboard, Color color) throws WorldEditException;