[Android] MediaLibrary: code simplification

Geoffrey Métais geoffrey.metais at gmail.com
Fri Jun 12 09:46:53 CEST 2015


Yes the last part.

You can, but I found it cleaner to declare the reference before the loop,
and reuse it for each iteration.
Not a big deal imho

On Fri, Jun 12, 2015 at 12:09 AM Jean-Baptiste Kempf <jb at videolan.org>
wrote:

> On 11 Jun, Geoffrey Métais wrote :
> > It was intentional, to recycle the same reference, and not create one for
> > each iteration
>
> You mean the second File part? It can't infer that directly?
>
> With my kindest regards,
>
> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> _______________________________________________
> 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/20150612/99a69877/attachment.html>


More information about the Android mailing list