private static AbstractPage findByURL()

in src/main/java/org/apache/cxf/cwiki/SiteExporter.java [963:970]


    private static AbstractPage findByURL(String url, Collection<? extends AbstractPage> pages) throws Exception {
        for (AbstractPage p : pages) {
            if (p.getURL().endsWith(url)) {
                return p;
            }
        }
        return null;
    }