Skip to content

Commit

Permalink
mark not recommended processor explicitely instead of using **
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasmoreau committed May 17, 2022
1 parent f2a849e commit 06623f3
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,13 @@ private void initNodeConsumers() {

// recommended consumers
for (String ivoaID : visibleConsumers) {
consumers.add(new SelectItem(ivoaID, " ** "
+ registryFacade.getResourceTitle(ivoaID)));
consumers.add(new SelectItem(ivoaID, registryFacade.getResourceTitle(ivoaID)));
}

// other consumers
for (String ivoaID : registryFacade.getConsumerIvoaIDs()) {
if (visibleConsumers.contains(ivoaID) == false) {
consumers.add(new SelectItem(ivoaID, registryFacade
if (!visibleConsumers.contains(ivoaID)) {
consumers.add(new SelectItem(ivoaID, "<Not recommended> " + registryFacade
.getResourceTitle(ivoaID)));
}
}
Expand Down

0 comments on commit 06623f3

Please sign in to comment.