[Libreoffice-commits] core.git: javaunohelper/com

rbuj robert.buj at gmail.com
Tue Jul 29 23:50:04 PDT 2014


 javaunohelper/com/sun/star/comp/helper/SharedLibraryLoader.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 192265720a0f83ceab58fe81a159df5f43a59bb5
Author: rbuj <robert.buj at gmail.com>
Date:   Tue Jul 29 21:34:00 2014 +0200

    javaunohelper: String comparison
    
    Change-Id: I52a7e456bef73824f64213c982052c61e54f7c76
    Reviewed-on: https://gerrit.libreoffice.org/10621
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/javaunohelper/com/sun/star/comp/helper/SharedLibraryLoader.java b/javaunohelper/com/sun/star/comp/helper/SharedLibraryLoader.java
index 32610a3..e8a4fad 100644
--- a/javaunohelper/com/sun/star/comp/helper/SharedLibraryLoader.java
+++ b/javaunohelper/com/sun/star/comp/helper/SharedLibraryLoader.java
@@ -46,7 +46,7 @@ public class SharedLibraryLoader {
     public static final String DEFAULT_IMPLEMENTATION = "com.sun.star.comp.stoc.DLLComponentLoader";
 
     static {
-        if (System.getProperty("java.vendor") == "The Android Project") {
+        if ("The Android Project".equals(System.getProperty("java.vendor"))) {
             // See corresponding code in
             // javaunohelper/com/sun/star/comp/helper/Bootstrap.java for more
             // comments.


More information about the Libreoffice-commits mailing list