bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_info_holder.java | 2 +- bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit ec2d5ac3718981b4d225ac831232ae4a8a7e498f Author: Robert Antoni Buj i Gelonch <robert....@gmail.com> Date: Tue Sep 16 13:21:40 2014 +0200 jni_uno: string comparison Change-Id: If093afb43f6ad8d4fcf6c0ec426eb48a6061ef3e Reviewed-on: https://gerrit.libreoffice.org/11470 Reviewed-by: Noel Grandin <noelgran...@gmail.com> Tested-by: Noel Grandin <noelgran...@gmail.com> diff --git a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_info_holder.java b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_info_holder.java index 99fd9bc..1c2b691 100644 --- a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_info_holder.java +++ b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_info_holder.java @@ -24,7 +24,7 @@ import com.sun.star.lib.util.NativeLibraryLoader; public final class JNI_info_holder { 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. diff --git a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java index 8a60bee..af8f4a9 100644 --- a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java +++ b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java @@ -31,7 +31,7 @@ import com.sun.star.uno.IQueryInterface; public final class JNI_proxy implements java.lang.reflect.InvocationHandler { 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. _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits