jaxp/src/java.xml/share/classes/javax/xml/catalog/CatalogUriResolverImpl.java
changeset 37382 c7d898d8da12
parent 33542 9f0eef87e8c1
child 38497 06b1977d0f4f
equal deleted inserted replaced
37011:c84d0cce090e 37382:c7d898d8da12
    58         this.catalog = catalog;
    58         this.catalog = catalog;
    59     }
    59     }
    60 
    60 
    61     @Override
    61     @Override
    62     public Source resolve(String href, String base) {
    62     public Source resolve(String href, String base) {
       
    63         href = Util.getNotNullOrEmpty(href);
       
    64         base = Util.getNotNullOrEmpty(base);
       
    65 
    63         if (href == null) return null;
    66         if (href == null) return null;
    64 
    67 
    65         CatalogImpl c = (CatalogImpl)catalog;
    68         CatalogImpl c = (CatalogImpl)catalog;
    66         String uri = Normalizer.normalizeURI(href);
    69         String uri = Normalizer.normalizeURI(href);
    67         String result;
    70         String result;