/** * Returns the pure URL portion of {@link #remote} by removing * possible "@NNN" suffix. */ public String getURL() { return SvnHelper.getUrlWithoutRevision(remote); }
private void testGetUrlWithoutRevision(String serverURL, String expected) { String value = SvnHelper.getUrlWithoutRevision(serverURL); Assert.assertEquals("URL w/o revision differs from expected value", expected, value); }
String urlWithoutRevision = SvnHelper.getUrlWithoutRevision(url);