Skip to content

Commit 96fec2c

Browse files
committed
Remove unnecessary functions
1 parent b0ca714 commit 96fec2c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/main/java/org/utplsql/cli/ReportersCommand.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,7 @@ public String getCommand() {
6161
return "reporters";
6262
}
6363

64-
private int getMaxNameLength(List<ReporterInfo> reporterInfos) {
65-
return reporterInfos.stream()
66-
.mapToInt(info -> info.getName().length())
67-
.max()
68-
.orElse(0);
69-
}
70-
7164
private void writeReporters(List<ReporterInfo> reporterInfos, PrintStream out) {
72-
//int padding = getMaxNameLength(reporterInfos)+1;
7365
reporterInfos.stream()
7466
.sorted(Comparator.comparing(ReporterInfo::getName))
7567
.forEach(info -> writeReporter(info, 4, out));

0 commit comments

Comments
 (0)