Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-24 18:10:08 +01:00
Rename uploadAnonymous to upload
Dieser Commit ist enthalten in:
Ursprung
e7df3177cc
Commit
b2e3d40be2
@ -170,7 +170,7 @@ public class FaweAPI {
|
|||||||
* @return The download URL or null
|
* @return The download URL or null
|
||||||
*/
|
*/
|
||||||
public static URL upload(final Clipboard clipboard, final ClipboardFormat format) {
|
public static URL upload(final Clipboard clipboard, final ClipboardFormat format) {
|
||||||
return format.uploadAnonymous(clipboard);
|
return format.upload(clipboard);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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<OutputStream>() {
|
return MainUtil.upload(null, null, getPrimaryFileExtension(), new RunnableVal<OutputStream>() {
|
||||||
@Override
|
@Override
|
||||||
public void run(OutputStream value) {
|
public void run(OutputStream value) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren