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

rbuj robert.buj at gmail.com
Wed Jul 30 05:27:14 PDT 2014


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

New commits:
commit c7c535351cec9089e232cc5cb3e59454cef27e17
Author: rbuj <robert.buj at gmail.com>
Date:   Wed Jul 30 10:57:19 2014 +0200

    javaunohelper: String comparison
    
    Change-Id: Ic0291e655525639b2f3cd33760d8f5f343b208f1
    Reviewed-on: https://gerrit.libreoffice.org/10638
    Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/javaunohelper/com/sun/star/comp/helper/Bootstrap.java b/javaunohelper/com/sun/star/comp/helper/Bootstrap.java
index 6c40f7c..3bc5bde 100644
--- a/javaunohelper/com/sun/star/comp/helper/Bootstrap.java
+++ b/javaunohelper/com/sun/star/comp/helper/Bootstrap.java
@@ -199,7 +199,7 @@ public class Bootstrap {
 
         if (! m_loaded_juh)
         {
-            if (System.getProperty("java.vendor") == "The Android Project")
+            if ("The Android Project".equals(System.getProperty("java.vendor")))
             {
                 // Find out if we are configured with DISABLE_DYNLOADING or
                 // not. Try to load the lo-bootstrap shared library which


More information about the Libreoffice-commits mailing list