Loading obex/javax/obex/ObexHelper.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -875,7 +875,7 @@ public final class ObexHelper { * @throws IllegalArgumentException if the byte array has an odd length * @throws IllegalArgumentException if the byte array has an odd length */ */ public static String convertToUnicode(byte[] b, boolean includesNull) { public static String convertToUnicode(byte[] b, boolean includesNull) { if (b == null) { if (b == null || b.length == 0) { return null; return null; } } int arrayLength = b.length; int arrayLength = b.length; Loading Loading
obex/javax/obex/ObexHelper.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -875,7 +875,7 @@ public final class ObexHelper { * @throws IllegalArgumentException if the byte array has an odd length * @throws IllegalArgumentException if the byte array has an odd length */ */ public static String convertToUnicode(byte[] b, boolean includesNull) { public static String convertToUnicode(byte[] b, boolean includesNull) { if (b == null) { if (b == null || b.length == 0) { return null; return null; } } int arrayLength = b.length; int arrayLength = b.length; Loading