[Mulgara-svn] r1980 - trunk/src/jar/dtd/java/org/mulgara/xml
pag at mulgara.org
pag at mulgara.org
Fri Oct 1 04:11:20 UTC 2010
Author: pag
Date: 2010-10-01 04:11:19 +0000 (Fri, 01 Oct 2010)
New Revision: 1980
Modified:
trunk/src/jar/dtd/java/org/mulgara/xml/ResourceEntityResolver.java
Log:
Added generics to hashmaps
Modified: trunk/src/jar/dtd/java/org/mulgara/xml/ResourceEntityResolver.java
===================================================================
--- trunk/src/jar/dtd/java/org/mulgara/xml/ResourceEntityResolver.java 2010-10-01 04:04:07 UTC (rev 1979)
+++ trunk/src/jar/dtd/java/org/mulgara/xml/ResourceEntityResolver.java 2010-10-01 04:11:19 UTC (rev 1980)
@@ -59,7 +59,7 @@
* <dt> PUBLIC <a href="http://jetty.mortbay.org/configure_1_1.dtd">-//Mort
* Bay Consulting//DTD Configure 1.0//EN</a> </dt>
* <dd> The XML document type declaration for the configuration files of the
- * <a href="http://jetty.mortbay.com/jetty/index.html">Jetty</a> servlet
+ * <a href="http://jetty.mortbay.org/jetty/index.html">Jetty</a> servlet
* container </dd>
* <dt> PUBLIC <a href="http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
* -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN</a> </dt>
@@ -82,16 +82,16 @@
* contains the paths to the corresponding resources within the classpath,
* also as {@link String}s.
*/
- private static Map publicEntities =
- Collections.synchronizedMap(new HashMap());
+ private static Map<String,String> publicEntities =
+ Collections.synchronizedMap(new HashMap<String,String>());
/**
* Cached entities. The map is keyed on the system ID {@link String} and
* contains the paths to the corresponding resources within the classpath,
* also as {@link String}s.
*/
- private static Map systemEntities =
- Collections.synchronizedMap(new HashMap());
+ private static Map<String,String> systemEntities =
+ Collections.synchronizedMap(new HashMap<String,String>());
/**
* Initialize entity map. TODO: rewrite this to use an SGML catalog instead of
More information about the Mulgara-svn
mailing list