if (myPath.endsWith("/")) { myPath = myPath.substring(0, myPath.length() - "/".length()); }
myPath = PathUtil.removeTrailingSlash(myPath);
    public SVNRepositoryLocation(String protocol, String host, int port, String path) {        myHost = host;        myProtocol = protocol;        myPort = port;        myPath = path;        if (myPath.endsWith("/")) {            myPath = myPath.substring(0, myPath.length() - "/".length());        }        myPath = PathUtil.encode(myPath);    }