Skip to content

Commit

Permalink
fix: handle Quarkus streams with null status
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Bricon <[email protected]>
  • Loading branch information
fbricon committed Aug 24, 2023
1 parent 2cde322 commit 326adb0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ protected void customizeCellRenderer(@NotNull JList<? extends QuarkusStream> lis
} else {
this.append(stream.getPlatformVersion(), SimpleTextAttributes.REGULAR_ATTRIBUTES, true);
}
this.append(" ").append(stream.getStatus());
if (stream.getStatus() != null) {
this.append(" ").append(stream.getStatus());
}
}
});
formBuilder.addLabeledComponent("Quarkus stream:", streamComboBox);
Expand Down

0 comments on commit 326adb0

Please sign in to comment.