summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-23 09:25:02 +0200
committerNoel Grandin <noel@peralex.com>2016-02-23 09:31:05 +0200
commitc39a9240c550e9a3f403b5a08ec6e09ab204ebfe (patch)
tree171c671fa1d5c173b0e6c66d1aa9ce6e986607d6
parent761053abd83155d5333e098bfa114624437ae553 (diff)
cid#1327465 Eq: Problems with implementation of equals()
Change-Id: I63921f5a84adcb3d1e562327fd1f47282efe6fbd
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java
index 4ffd06c0ff78..5419fba2d024 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java
@@ -320,7 +320,7 @@ class LoggingProtocolSocketFactory extends SSLSocketFactory
@Override
public boolean equals(Object obj)
{
- return ((obj != null) && obj.getClass().equals(LoggingProtocolSocketFactory.class));
+ return (obj != null) && (obj instanceof LoggingProtocolSocketFactory);
}
@Override