You are right, Arnaud. Sorry about this. :( I'm pushing a fix right now (for 0.9.1 as well)). Thanks for reporting this!
On 16 Jul 2015, at 16:22, LINZ, Arnaud <
[hidden email]> wrote:
> Hello,
>
> According to the documentation, getIndexOfThisSubtask starts from 1;
>
> /**
> * Gets the number of the parallel subtask. The numbering starts from 1 and goes up to the parallelism,
> * as returned by {@link #getNumberOfParallelSubtasks()}.
> *
> * @return The number of the parallel subtask.
> */
> int getIndexOfThisSubtask();
>
> but in my code in 0.9.0 it starts at 0 and goes up to getNumberOfParallelSubtasks()-1
>
> I suppose that the doc is wrong, then.
>
> Best regards,
> Arnaud
>
> ________________________________
>
> L'intégrité de ce message n'étant pas assurée sur internet, la société expéditrice ne peut être tenue responsable de son contenu ni de ses pièces jointes. Toute utilisation ou diffusion non autorisée est interdite. Si vous n'êtes pas destinataire de ce message, merci de le détruire et d'avertir l'expéditeur.
>
> The integrity of this message cannot be guaranteed on the Internet. The company that sent this message cannot therefore be held liable for its content nor attachments. Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender.