diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-23 09:29:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-23 09:31:05 +0200 |
commit | b4203f530c856bafb117a7391905b25c3a5baa4b (patch) | |
tree | 2cd4e28b91b43c86d524b280070a6ba1fc5ae3df /swext | |
parent | f126d7fb8fca4a1ae1e88afe99a0229b50e944d1 (diff) |
cid#1326858 Eq: Problems with implementation of equals()
Change-Id: If87666e6e4ac9397ac44bed805fc7c83ad357105
Diffstat (limited to 'swext')
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java | 2 |
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 edd2e104d968..81e09f986d26 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java @@ -157,7 +157,7 @@ class WikiProtocolSocketFactory extends SSLSocketFactory @Override public boolean equals(Object obj) { - return ((obj != null) && obj.getClass().equals(WikiProtocolSocketFactory.class)); + return (obj != null) && (obj instanceof WikiProtocolSocketFactory); } @Override |