[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r19803 - in trunk/subversion/bindings/java/javahl: native src/org/tigris/subversion/javahl

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-05-24 22:26:17 CEST

Daniel Rall <dlr@collab.net> wrote on 05/24/2006 04:19:25 PM:

> On a related note, here at CollabNet we were wondering if the
> SVNClientInterface.username() and password() Java methods should even
> accept null input, or should instead throw IllegalArgumentException
> [1]. Setting a null username seems like a pretty bogus operation to
> me, setting a null password perhaps less so. Thoughts?

In Subclipse we use the callback interface, PromptUserPassword, and I
remember wondering if I should set username/password to null to be clear I
wanted the callback. I guess I do not do that since the JVM does not
crash. That being said, receiving an exception would have likely answered
my question the first time I ran it.


Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 24 22:26:46 2006

This is an archived mail posted to the Subversion Dev mailing list.