Skip to content

Commit f33497c

Browse files
committed
improved/fixed javadoc
1 parent b5a840e commit f33497c

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

jansi/src/main/java/org/fusesource/jansi/AnsiOutputStream.java

+7-5
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
* A ANSI output stream extracts ANSI escape codes written to
2727
* an output stream and calls corresponding <code>process*</code> methods.
2828
*
29-
* For more information about ANSI escape codes, see:
30-
* http://en.wikipedia.org/wiki/ANSI_escape_code
29+
* <p>For more information about ANSI escape codes, see
30+
* <a href="http://en.wikipedia.org/wiki/ANSI_escape_code">Wikipedia article</a>
3131
*
32-
* This class just filters out the escape codes so that they are not
32+
* <p>This class just filters out the escape codes so that they are not
3333
* sent out to the underlying OutputStream: <code>process*</code> methods
3434
* are empty. Subclasses should actually perform the ANSI escape behaviors
3535
* by implementing active code in <code>process*</code> methods.
@@ -429,15 +429,17 @@ protected void processSaveCursorPosition() throws IOException {
429429
}
430430

431431
/**
432-
* Process <code>CSI s</code> ANSI code, corresponding to <code>IL – Insert Line</code>
432+
* Process <code>CSI L</code> ANSI code, corresponding to <code>IL – Insert Line</code>
433433
* @throws IOException
434+
* @since 1.16
434435
*/
435436
protected void processInsertLine(int optionInt) throws IOException {
436437
}
437438

438439
/**
439-
* Process <code>CSI s</code> ANSI code, corresponding to <code>DL – Delete Line</code>
440+
* Process <code>CSI M</code> ANSI code, corresponding to <code>DL – Delete Line</code>
440441
* @throws IOException
442+
* @since 1.16
441443
*/
442444
protected void processDeleteLine(int optionInt) throws IOException {
443445
}

jansi/src/main/java/org/fusesource/jansi/WindowsAnsiOutputStream.java

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
import java.io.IOException;
3939
import java.io.OutputStream;
4040

41-
import org.fusesource.jansi.internal.Kernel32;
4241
import org.fusesource.jansi.internal.WindowsSupport;
4342
import org.fusesource.jansi.internal.Kernel32.CONSOLE_SCREEN_BUFFER_INFO;
4443
import org.fusesource.jansi.internal.Kernel32.COORD;

0 commit comments

Comments
 (0)