Hi,
i didn't realise java is doing lazy evaluation. The source code doesn't give me a clue, but nevermind, I'll use scp instead of ftp. thanx anyway for the quick response
Pieter
Piéroni Raphaël wrote:
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


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to