[Android] [PATCH] no isEmpty() before Android 9...

Geoffrey Métais geoffrey.metais at gmail.com
Mon Nov 17 18:53:07 CET 2014


Oh crap I see, completely dumb mistake :/

Thanks I change it right now.

On Mon, Nov 17, 2014 at 6:52 PM, Geoffrey Métais <geoffrey.metais at gmail.com>
wrote:

> Not necessary in this case, holderText is initialized to "" a few lines
> above.
> Then, eventually, strings a concatenated to holderText.
>
> On Mon, Nov 17, 2014 at 6:44 PM, Edward Wang <
> edward.c.wang at compdigitec.com> wrote:
>
>>
>>
>> Hello,
>>
>> Le 17 novembre 2014 08:07:23 HNP, "Geoffrey Métais" <
>> geoffrey.metais at gmail.com> a écrit :
>> >---
>> > vlc-android/src/org/videolan/vlc/gui/DirectoryAdapter.java | 2 +-
>> > 1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> >diff --git a/vlc-android/src/org/videolan/vlc/gui/DirectoryAdapter.java
>> >b/vlc-android/src/org/videolan/vlc/gui/DirectoryAdapter.java
>> >index 0706f6e..83a3143 100644
>> >--- a/vlc-android/src/org/videolan/vlc/gui/DirectoryAdapter.java
>> >+++ b/vlc-android/src/org/videolan/vlc/gui/DirectoryAdapter.java
>> >@@ -351,7 +351,7 @@ public class DirectoryAdapter extends BaseAdapter {
>> >                         R.plurals.mediafiles_quantity, mediaFileCount,
>> >                         mediaFileCount);
>> >         }
>> >-        if (holderText.isEmpty())
>> >+        if (holderText == "")
>>
>> "".equals(holderText) ?
>>
>> Regards,
>> Edward
>>
>> _______________________________________________
>> Android mailing list
>> Android at videolan.org
>> https://mailman.videolan.org/listinfo/android
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20141117/32b9e99f/attachment.html>


More information about the Android mailing list