Skip to content

Commit

Permalink
Make method public and don't make statement unnecessarily nested within
Browse files Browse the repository at this point in the history
else clause.
  • Loading branch information
garydgregory authored and gnodet committed Mar 15, 2017
1 parent fd67379 commit 4864636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jansi/src/main/java/org/fusesource/jansi/AnsiRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ static public Appendable render(final String input, Appendable target) throws IO
}
}

static private String render(final String text, final String... codes) {
static public String render(final String text, final String... codes) {
Ansi ansi = Ansi.ansi();
for (String name : codes) {
Code code = Code.valueOf(name.toUpperCase(Locale.ENGLISH));
Expand Down

0 comments on commit 4864636

Please sign in to comment.