Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2011-05-06 18:43:25 +0000
committerAndrew Niefer2011-05-06 18:43:25 +0000
commit9e735f9ab12885c676d3a7ec18c3ff8f5c764b68 (patch)
treed7e3b3b3cbd8db1ddf4c759622f817e49538e3f5 /bundles/org.eclipse.equinox.p2.ui
parent418023e17bfa1078cdce1ebb72a7aab2816739c3 (diff)
downloadrt.equinox.p2-9e735f9ab12885c676d3a7ec18c3ff8f5c764b68.tar.gz
rt.equinox.p2-9e735f9ab12885c676d3a7ec18c3ff8f5c764b68.tar.xz
rt.equinox.p2-9e735f9ab12885c676d3a7ec18c3ff8f5c764b68.zip
bug 344977 - unable to update M7 - be paranoid about NPEv20110506
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.ui')
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/AvailableUpdateElement.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/AvailableUpdateElement.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/AvailableUpdateElement.java
index 3ba9708e2..d89fcab37 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/AvailableUpdateElement.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/AvailableUpdateElement.java
@@ -97,7 +97,7 @@ public class AvailableUpdateElement extends AvailableIUElement {
protected String getImageId(Object obj) {
String imageId = super.getImageId(obj);
- if (imageId.equals(ProvUIImages.IMG_IU) && isLockedForUpdate())
+ if (ProvUIImages.IMG_IU.equals(imageId) && isLockedForUpdate())
return ProvUIImages.IMG_DISABLED_IU;
return imageId;
}

Back to the top