@@ -103,7 +103,7 @@ public Component prepareRenderer(TableCellRenderer renderer, int row, int column
103103 if (rowValue instanceof SectionHeaderContribution ) {
104104 c .setBackground (sectionColor );
105105 } else if (isRowSelected (row )) {
106- if (((Contribution ) rowValue ).isCompatible (Base . getRevision () )) {
106+ if (((Contribution ) rowValue ).isCompatible ()) {
107107 c .setBackground (selectionColor );
108108 } else {
109109 c .setBackground (selectionColorIncompatible );
@@ -238,7 +238,7 @@ private static int getContributionStatusRank(Contribution c) {
238238 if (ContributionListing .getInstance ().hasUpdates (c )) {
239239 pos = 2 ;
240240 }
241- if (!c .isCompatible (Base . getRevision () )) {
241+ if (!c .isCompatible ()) {
242242 // This is weird because it means some grayed-out items will
243243 // show up before non-gray items. We probably need another
244244 // state icon for 'installed but incompatible' [fry 220116]
@@ -387,7 +387,7 @@ public Component getTableCellRendererComponent(JTable table, Object value,
387387 if (contribution instanceof SectionHeaderContribution ) {
388388 // grouping color for libraries, modes, tools headers in updates panel
389389 label .setForeground (textColorIncompatible );
390- } else if (contribution .isCompatible (Base . getRevision () )) {
390+ } else if (contribution .isCompatible ()) {
391391 label .setForeground (textColor );
392392 } else {
393393 label .setForeground (textColorIncompatible );
@@ -405,7 +405,7 @@ private void configureStatusColumnLabel(JLabel label, Contribution contribution)
405405// float amount = detail.getProgressAmount();
406406// icon = (amount == -1) ? downloadingIcon : renderProgressIcon(amount);
407407 } else if (contribution .isInstalled ()) {
408- if (!contribution .isCompatible (Base . getRevision () )) {
408+ if (!contribution .isCompatible ()) {
409409 icon = incompatibleIcon ;
410410 } else if (ContributionListing .getInstance ().hasUpdates (contribution )) {
411411 icon = updateAvailableIcon ;
0 commit comments