Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Sternberg2011-02-05 20:31:50 +0000
committerRalf Sternberg2011-02-05 20:31:50 +0000
commit5d437fb7b59839029029da0e27baad5aa4da4df3 (patch)
treedcb0aa1c260d7463121353ad26e5526d6508a533 /bundles
parent6930c16e1fefa3f75e95d5b66ea237bf6fa638de (diff)
downloadorg.eclipse.rap-5d437fb7b59839029029da0e27baad5aa4da4df3.tar.gz
org.eclipse.rap-5d437fb7b59839029029da0e27baad5aa4da4df3.tar.xz
org.eclipse.rap-5d437fb7b59839029029da0e27baad5aa4da4df3.zip
Minor fix to equals()
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.rap.rwt/src/org/eclipse/rwt/internal/theme/QxImage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.rap.rwt/src/org/eclipse/rwt/internal/theme/QxImage.java b/bundles/org.eclipse.rap.rwt/src/org/eclipse/rwt/internal/theme/QxImage.java
index c241d76483..2b908cbff1 100644
--- a/bundles/org.eclipse.rap.rwt/src/org/eclipse/rwt/internal/theme/QxImage.java
+++ b/bundles/org.eclipse.rap.rwt/src/org/eclipse/rwt/internal/theme/QxImage.java
@@ -134,7 +134,7 @@ public final class QxImage implements QxType {
boolean result = false;
if( object == this ) {
result = true;
- } else if( object instanceof QxImage ) {
+ } else if( object.getClass() == QxImage.class ) {
QxImage other = ( QxImage )object;
result = ( path == null
? other.path == null

Back to the top