Add URIish.isRemote to easily test for non-local URI
commit2a2eeb9ef3467e780f3db59eb5c19a303baebad4
authorShawn O. Pearce <spearce@spearce.org>
Thu, 24 Apr 2008 02:13:04 +0000 (23 22:13 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 11 May 2008 05:16:33 +0000 (11 01:16 -0400)
tree993ce3d8e6ea6b2d9afad667faf0c5d96a97ca1d
parent6fbb5aef9fe5eae9dd05b9204b168552f292ba84
Add URIish.isRemote to easily test for non-local URI

A URI is thought to be remote if it has a host component,
as this part describes what system must be contacted.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit.test/tst/org/spearce/jgit/transport/URIishTest.java
org.spearce.jgit/src/org/spearce/jgit/transport/URIish.java