Hello,

Sorry for beeing familiar to this code.

inlined

2006/3/7, Pieter Vandepitte <[EMAIL PROTECTED]>:
>
> Hi,
> thats exactly what i want to do: deploying 3rd party jars to a remote
> repository.
> i copied now wagon-ftp-alpha-3 to wagon-ftp-alpha-6 to my lib directory
> and now... i get another error :) the good thing is: i know it's
> probably a version problem (newest version is unstable or simply doesn't
> work). the bad thing: I get an ArrayOutOfBoundsException in line 334 of
> FtpWagon.fillInputData. When I look at the sourcecode I see
>              if ( ftpFiles == null || ftpFiles.length <= 0
> 2 questions:
> 1. is someone familiar with this
> 2. isn't this code wrong? both conditions will always be evaluated, so
> if ftpFiles == null, then the second condition will throw a
> nullpointerexception


This code don't seems wrong to me as if ftpFiles is null then the
if will be true and the second part will not be evaluated.

May that helps.

Regards,

Raphaël

Reply via email to