Kaydet (Commit) ec2d5ac3 authored tarafından Robert Antoni Buj i Gelonch's avatar Robert Antoni Buj i Gelonch Kaydeden (comit) Noel Grandin

jni_uno: string comparison

Change-Id: If093afb43f6ad8d4fcf6c0ec426eb48a6061ef3e
Reviewed-on: https://gerrit.libreoffice.org/11470Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 9685276b
...@@ -24,7 +24,7 @@ import com.sun.star.lib.util.NativeLibraryLoader; ...@@ -24,7 +24,7 @@ import com.sun.star.lib.util.NativeLibraryLoader;
public final class JNI_info_holder public final class JNI_info_holder
{ {
static { static {
if (System.getProperty("java.vendor") == "The Android Project") { if ("The Android Project".equals(System.getProperty("java.vendor"))) {
// See corresponding code in // See corresponding code in
// javaunohelper/com/sun/star/comp/helper/Bootstrap.java for more // javaunohelper/com/sun/star/comp/helper/Bootstrap.java for more
// comments. // comments.
......
...@@ -31,7 +31,7 @@ import com.sun.star.uno.IQueryInterface; ...@@ -31,7 +31,7 @@ import com.sun.star.uno.IQueryInterface;
public final class JNI_proxy implements java.lang.reflect.InvocationHandler public final class JNI_proxy implements java.lang.reflect.InvocationHandler
{ {
static { static {
if (System.getProperty("java.vendor") == "The Android Project") { if ("The Android Project".equals(System.getProperty("java.vendor"))) {
// See corresponding code in // See corresponding code in
// javaunohelper/com/sun/star/comp/helper/Bootstrap.java for more // javaunohelper/com/sun/star/comp/helper/Bootstrap.java for more
// comments. // comments.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment