X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Frhynodge%2Foutput%2FOutput.java;h=853c9ce7a41e677103f5d35cc89155f13d84acee;hb=bc384cab6e0242753c4e74252529d5cfd9c6d982;hp=dc058bba2e8d2cfc56f9f9c9438738a4078fc809;hpb=edf0639a237a4bceedaaa71290b933cdb8488a39;p=rhynodge.git diff --git a/src/main/java/net/pterodactylus/rhynodge/output/Output.java b/src/main/java/net/pterodactylus/rhynodge/output/Output.java index dc058bb..853c9ce 100644 --- a/src/main/java/net/pterodactylus/rhynodge/output/Output.java +++ b/src/main/java/net/pterodactylus/rhynodge/output/Output.java @@ -21,7 +21,7 @@ import net.pterodactylus.rhynodge.Trigger; /** * Defines the output of a {@link Trigger}. As different output has to be - * generated for different media, the {@link #text(String, int)} method takes as + * generated for different media, the {@link #text(String)} method takes as * an argument the MIME type of the desired output. * * @author David ‘Bombe’ Roden @@ -45,12 +45,9 @@ public interface Output { * @param mimeType * The MIME type of the text (“text/plain” and “text/html” should * be supported by all {@link Trigger}s) - * @param maxLength - * The maximum length of the returned text (may be < {@code 0} - * to indicate no length restriction) * @return The text for the given MIME type, or {@code null} if there is no * text defined for the given MIME type */ - String text(String mimeType, int maxLength); + String text(String mimeType); }