From b2e3d40be26b092369d16b8b8ad6869c899c3204 Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Mon, 23 Mar 2020 20:48:58 -0400 Subject: [PATCH] Rename uploadAnonymous to upload --- worldedit-core/src/main/java/com/boydti/fawe/FaweAPI.java | 2 +- .../sk89q/worldedit/extent/clipboard/io/ClipboardFormat.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/FaweAPI.java b/worldedit-core/src/main/java/com/boydti/fawe/FaweAPI.java index e73f7166a..3548112d7 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/FaweAPI.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/FaweAPI.java @@ -170,7 +170,7 @@ public class FaweAPI { * @return The download URL or null */ public static URL upload(final Clipboard clipboard, final ClipboardFormat format) { - return format.uploadAnonymous(clipboard); + return format.upload(clipboard); } /** diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/ClipboardFormat.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/ClipboardFormat.java index 1c26b8dfd..67c589c26 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/ClipboardFormat.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/ClipboardFormat.java @@ -135,7 +135,7 @@ public interface ClipboardFormat { } - default URL uploadAnonymous(final Clipboard clipboard) { + default URL upload(final Clipboard clipboard) { return MainUtil.upload(null, null, getPrimaryFileExtension(), new RunnableVal() { @Override public void run(OutputStream value) {