diff options
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 |