834835836837838839840841842843844845846847
{ break; } // MSITE-600 URIPathDescriptor siteURI = new URIPathDescriptor( URIEncoder.encodeURI( site.getUrl() ), "" ); URIPathDescriptor oldSiteURI = new URIPathDescriptor( URIEncoder.encodeURI( oldSite.getUrl() ), "" ); if ( !siteURI.sameSite( oldSiteURI.getBaseURI() ) ) { return oldSite; } }
820821822823824825826827828829830831832833
{ return oldProject; } // MSITE-600 URIPathDescriptor siteURI = new URIPathDescriptor( URIEncoder.encodeURI( site.getUrl() ), "" ); URIPathDescriptor oldSiteURI = new URIPathDescriptor( URIEncoder.encodeURI( oldSite.getUrl() ), "" ); if ( !siteURI.sameSite( oldSiteURI.getBaseURI() ) ) { return oldProject; } }
545556575859606162636465
} // this shouldn't be necessary, just to swallow malformed hrefs try { final URIPathDescriptor path = new URIPathDescriptor(baseDirUri, link); return path.relativizeLink().toString(); } catch (IllegalArgumentException e) { return link; } }
839840841842843844845846847848849850851852
822823824825826827828829830831832833834835