< prev index next >
test/javax/xml/jaxp/isolatedjdk/catalog/PropertiesTest.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -40,11 +40,10 @@
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import javax.xml.catalog.CatalogResolver;
-import javax.xml.catalog.CatalogUriResolver;
/*
* This case tests if the properties FILES, DEFER, PREFER, RESOLVE in
* jaxp.properties and system properties could be cared.
*/
@@ -94,11 +93,11 @@
entityResolver.resolveEntity("-//REMOTE//DTD DOC XML//EN",
"http://remote/dtd/doc.dtd").getSystemId());
}
private static void testPropertiesOnUriResolver() {
- CatalogUriResolver uriResolver = catalogUriResolver((String[]) null);
+ CatalogResolver uriResolver = catalogUriResolver((String[]) null);
uriResolver.resolve("http://remote/uri/dtd/docDummy.dtd", null);
"http://local/base/dtd/docURI.dtd".equals(uriResolver.resolve(
"http://remote/dtd/doc.dtd", null).getSystemId());
}
< prev index next >