Skip to content

Commit 4d24cd8

Browse files
committed
Remove hardly used stuff
1 parent aa0c419 commit 4d24cd8

23 files changed

+63
-2198
lines changed

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

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -697,35 +697,6 @@ public Ansi format(String pattern, Object... args) {
697697
return this;
698698
}
699699

700-
/**
701-
* Uses the {@link AnsiRenderer}
702-
* to generate the ANSI escape sequences for the supplied text.
703-
*
704-
* @param text text
705-
* @return this
706-
*
707-
* @since 1.1
708-
*/
709-
public Ansi render(final String text) {
710-
a(AnsiRenderer.render(text));
711-
return this;
712-
}
713-
714-
/**
715-
* String formats and renders the supplied arguments. Uses the {@link AnsiRenderer}
716-
* to generate the ANSI escape sequences.
717-
*
718-
* @param text format
719-
* @param args arguments
720-
* @return this
721-
*
722-
* @since 1.1
723-
*/
724-
public Ansi render(final String text, Object... args) {
725-
a(String.format(AnsiRenderer.render(text), args));
726-
return this;
727-
}
728-
729700
@Override
730701
public String toString() {
731702
flushAttributes();

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

Lines changed: 10 additions & 265 deletions
Large diffs are not rendered by default.

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ public static void main(String... args) throws IOException {
7979
System.out.println(AnsiConsole.JANSI_PASSTHROUGH + "= " + AnsiConsole.getBoolean(AnsiConsole.JANSI_PASSTHROUGH));
8080
System.out.println(AnsiConsole.JANSI_STRIP + "= " + AnsiConsole.getBoolean(AnsiConsole.JANSI_STRIP));
8181
System.out.println(AnsiConsole.JANSI_FORCE + "= " + AnsiConsole.getBoolean(AnsiConsole.JANSI_FORCE));
82-
System.out.println(AnsiConsole.JANSI_DO_WRAP + "= " + AnsiConsole.getBoolean(AnsiConsole.JANSI_DO_WRAP));
83-
System.out.println(AnsiConsole.JANSI_NO_OPTIMIZE + "= " + AnsiConsole.getBoolean(AnsiConsole.JANSI_NO_OPTIMIZE));
8482
System.out.println(Ansi.DISABLE + "= " + AnsiConsole.getBoolean(Ansi.DISABLE));
8583

8684
System.out.println();
@@ -90,8 +88,6 @@ public static void main(String... args) throws IOException {
9088
System.out.println("IS_CONEMU: " + AnsiConsole.IS_CONEMU);
9189
System.out.println("IS_CYGWIN: " + AnsiConsole.IS_CYGWIN);
9290
System.out.println("IS_MSYSTEM: " + AnsiConsole.IS_MSYSTEM);
93-
System.out.println("IS_CON_EMU_ANSI: " + AnsiConsole.IS_CON_EMU_ANSI + " (deprecated)");
94-
System.out.println("IS_MINGW_XTERM: " + AnsiConsole.IS_MINGW_XTERM + " (deprecated)");
9591
}
9692

9793
System.out.println();

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

Lines changed: 0 additions & 241 deletions
This file was deleted.

0 commit comments

Comments
 (0)