From f33497c0117b556e39fe806581e717292e6862ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Sun, 7 May 2017 23:13:40 +0200 Subject: [PATCH] improved/fixed javadoc --- .../java/org/fusesource/jansi/AnsiOutputStream.java | 12 +++++++----- .../fusesource/jansi/WindowsAnsiOutputStream.java | 1 - 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/jansi/src/main/java/org/fusesource/jansi/AnsiOutputStream.java b/jansi/src/main/java/org/fusesource/jansi/AnsiOutputStream.java index eb10529e..070afff6 100644 --- a/jansi/src/main/java/org/fusesource/jansi/AnsiOutputStream.java +++ b/jansi/src/main/java/org/fusesource/jansi/AnsiOutputStream.java @@ -26,10 +26,10 @@ * A ANSI output stream extracts ANSI escape codes written to * an output stream and calls corresponding process* methods. * - * For more information about ANSI escape codes, see: - * http://en.wikipedia.org/wiki/ANSI_escape_code + *

For more information about ANSI escape codes, see + * Wikipedia article * - * This class just filters out the escape codes so that they are not + *

This class just filters out the escape codes so that they are not * sent out to the underlying OutputStream: process* methods * are empty. Subclasses should actually perform the ANSI escape behaviors * by implementing active code in process* methods. @@ -429,15 +429,17 @@ protected void processSaveCursorPosition() throws IOException { } /** - * Process CSI s ANSI code, corresponding to IL – Insert Line + * Process CSI L ANSI code, corresponding to IL – Insert Line * @throws IOException + * @since 1.16 */ protected void processInsertLine(int optionInt) throws IOException { } /** - * Process CSI s ANSI code, corresponding to DL – Delete Line + * Process CSI M ANSI code, corresponding to DL – Delete Line * @throws IOException + * @since 1.16 */ protected void processDeleteLine(int optionInt) throws IOException { } diff --git a/jansi/src/main/java/org/fusesource/jansi/WindowsAnsiOutputStream.java b/jansi/src/main/java/org/fusesource/jansi/WindowsAnsiOutputStream.java index 150c0ff1..fd8acc0d 100644 --- a/jansi/src/main/java/org/fusesource/jansi/WindowsAnsiOutputStream.java +++ b/jansi/src/main/java/org/fusesource/jansi/WindowsAnsiOutputStream.java @@ -38,7 +38,6 @@ import java.io.IOException; import java.io.OutputStream; -import org.fusesource.jansi.internal.Kernel32; import org.fusesource.jansi.internal.WindowsSupport; import org.fusesource.jansi.internal.Kernel32.CONSOLE_SCREEN_BUFFER_INFO; import org.fusesource.jansi.internal.Kernel32.COORD;