diff options
author | Artur Dryomov <artur.dryomov@gmail.com> | 2013-04-16 19:33:24 +0300 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-04-17 10:01:35 +0000 |
commit | b80d8c695e6b6ded231e67ed9a80bcd1f1250c03 (patch) | |
tree | fbd2686e52603d484b12a836db2f8fb33ff79c32 /swext | |
parent | c75eeddfb892918c13a19f7c534b73e423ff8d89 (diff) |
fdo#62096 - replace some O(U)String compareTo with ==
Change-Id: I98d04d7da4c2b7ea0b769df9c2bfa8c1ad86bf2d
Reviewed-on: https://gerrit.libreoffice.org/3422
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'swext')
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java index 03e2604b8ca4..0b37a657cca8 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java @@ -146,7 +146,7 @@ public final class WikiEditorImpl extends WeakBase { final com.sun.star.util.URL myURL = aURL; //logger.log( Level.INFO, "received dispatch request for: "+aURL.Complete ); - if ( aURL.Protocol.compareTo( protocolName ) == 0 ) + if ( aURL.Protocol == protocolName ) { /* synchronized( this ) @@ -158,7 +158,7 @@ public final class WikiEditorImpl extends WeakBase try { - if ( myURL.Path.compareTo( "send" ) == 0 ) + if ( myURL.Path == "send" ) { sendArticle(); } |