From f641fc1716aaec9de055d86fd92b217e66fac6bc Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Mon, 13 Sep 2021 13:27:47 +0100 Subject: [PATCH] Javadoc --- .../com/sk89q/worldedit/extent/clipboard/Clipboard.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/Clipboard.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/Clipboard.java index a4511e37a..813da83de 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/Clipboard.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/Clipboard.java @@ -186,10 +186,17 @@ public interface Clipboard extends Extent, Iterable, Closeable, Fl return apply(region, filter); } + /** + * Close the clipboard. May not allow further reading of the clipboard if saved on disk. + */ @Override default void close() { } + /** + * Flush the clipboard if appropriate. Only does something if using clipboard-on-disk. Blocking method and ensures all data + * is saved to disk for any further operation with the clipboard. + */ @Override default void flush() { }