Author: scabanovich
Date: 2007-07-20 09:44:30 -0400 (Fri, 20 Jul 2007)
New Revision: 2547
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSFEntityRecognizer.java
Log:
EXIN-86 deprecated XMLEntityResolver removed
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSFEntityRecognizer.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSFEntityRecognizer.java 2007-07-20
13:43:47 UTC (rev 2546)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSFEntityRecognizer.java 2007-07-20
13:44:30 UTC (rev 2547)
@@ -12,14 +12,14 @@
import org.eclipse.core.runtime.FileLocator;
import org.jboss.tools.common.model.loaders.*;
-import org.jboss.tools.common.model.util.*;
+import org.jboss.tools.common.xml.XMLEntityResolver;
import org.jboss.tools.jsf.JSFModelPlugin;
public class JSFEntityRecognizer implements EntityRecognizer, JSFConstants {
static {
try {
- Class c = JSFEntityRecognizer.class;
+ Class<?> c = JSFEntityRecognizer.class;
XMLEntityResolver.registerPublicEntity(DOC_PUBLICID,
FileLocator.resolve(c.getResource("/meta/web-facesconfig_1_0.dtd")).toString());
XMLEntityResolver.registerPublicEntity(DOC_PUBLICID_11,
FileLocator.resolve(c.getResource("/meta/web-facesconfig_1_1.dtd")).toString());
} catch (Exception e) {
Show replies by date