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