diff --git a/jansi/src/main/java/org/fusesource/jansi/Ansi.java b/jansi/src/main/java/org/fusesource/jansi/Ansi.java index 97798d31..e2dfedd4 100644 --- a/jansi/src/main/java/org/fusesource/jansi/Ansi.java +++ b/jansi/src/main/java/org/fusesource/jansi/Ansi.java @@ -548,9 +548,11 @@ public Ansi format(String pattern, Object... args) { /** * Uses the {@link AnsiRenderer} * to generate the ANSI escape sequences for the supplied text. - * + * + * @param text text + * @return this + * * @since 1.1 - * @param text */ public Ansi render(final String text) { a(AnsiRenderer.render(text)); @@ -560,10 +562,12 @@ public Ansi render(final String text) { /** * String formats and renders the supplied arguments. Uses the {@link AnsiRenderer} * to generate the ANSI escape sequences. - * + * + * @param text format + * @param args arguments + * @return this + * * @since 1.1 - * @param text - * @param args */ public Ansi render(final String text, Object... args) { a(String.format(AnsiRenderer.render(text), args)); diff --git a/jansi/src/main/java/org/fusesource/jansi/AnsiRenderer.java b/jansi/src/main/java/org/fusesource/jansi/AnsiRenderer.java index df360266..7db384ba 100644 --- a/jansi/src/main/java/org/fusesource/jansi/AnsiRenderer.java +++ b/jansi/src/main/java/org/fusesource/jansi/AnsiRenderer.java @@ -24,7 +24,6 @@ /** * Renders ANSI color escape-codes in strings by parsing out some special syntax to pick up the correct fluff to use. * - *

* The syntax for embedded ANSI codes is: * *