Document/fix Transport open method for specific case
commit2ede1f7f316fc99b064515d1bcc8457abadd4921
authorMarek Zawirski <marek.zawirski@gmail.com>
Wed, 13 Aug 2008 16:32:09 +0000 (13 18:32 +0200)
committerMarek Zawirski <marek.zawirski@gmail.com>
Sat, 16 Aug 2008 13:27:19 +0000 (16 15:27 +0200)
tree8658c3c11dbdba60b936d7f8aec29d279bccd9a9
parentfc7626f59b352d002485c908ccf8dba99dfa822d
Document/fix Transport open method for specific case

RemoteConfig may have empty URIs list.
It would be nicer to throw documented exception than
ArrayIndexOutOfBoundsException in this case.

Signed-off-by: Marek Zawirski <marek.zawirski@gmail.com>
org.spearce.jgit/src/org/spearce/jgit/transport/Transport.java