Skip to content

Commit 0dfc9a6

Browse files
committed
chore: list-providers now shows active providers
1 parent d751bf6 commit 0dfc9a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/codejive/jvm/Main.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ public Integer call() {
146146
CWC_LongestLine cwc = new CWC_LongestLine();
147147
at.getRenderer().setCWC(cwc);
148148
at.addRule();
149-
at.addRow("Provider", "Description");
149+
at.addRow("Provider", "Active", "Description");
150150
at.addRule();
151151
for (JdkProvider prov : providers) {
152-
at.addRow(prov.name(), prov.description());
152+
at.addRow(prov.name(), prov.canUse(), prov.description());
153153
}
154154
at.addRule();
155155
System.out.println(at.render());

0 commit comments

Comments
 (0)