diff options
author | gkessler | 2007-05-17 22:58:31 +0000 |
---|---|---|
committer | gkessler | 2007-05-17 22:58:31 +0000 |
commit | a261e82d504e5cc908ca7048d5df49e556384bd1 (patch) | |
tree | 1a282f14f59173b8c8d2c0213396fb7a288fa401 | |
parent | 82a75587dde58120945fd0e0866959d06e6b49e9 (diff) | |
download | webtools.jsf-a261e82d504e5cc908ca7048d5df49e556384bd1.tar.gz webtools.jsf-a261e82d504e5cc908ca7048d5df49e556384bd1.tar.xz webtools.jsf-a261e82d504e5cc908ca7048d5df49e556384bd1.zip |
fix for 182012
-rw-r--r-- | jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/project/facet/JSFUtils12.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/project/facet/JSFUtils12.java b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/project/facet/JSFUtils12.java index e430dd5d0..830862d71 100644 --- a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/project/facet/JSFUtils12.java +++ b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/project/facet/JSFUtils12.java @@ -276,7 +276,7 @@ public class JSFUtils12 extends JSFUtils{ public static String getPrefixMapping(ServletMapping map) { List urls = map.getUrlPatterns(); for (Iterator it=urls.iterator();it.hasNext();){ - IPath extPath = new Path((String)it.next()); + IPath extPath = new Path(((UrlPatternType)it.next()).getValue()); if (extPath != null){ String ext = extPath.getFileExtension(); if (ext == null){ @@ -300,7 +300,7 @@ public class JSFUtils12 extends JSFUtils{ public static String getFileExtensionFromMap(ServletMapping map) { List urls = map.getUrlPatterns(); for (Iterator it=urls.iterator();it.hasNext();){ - IPath extPath = new Path((String)it.next()); + IPath extPath = new Path(((UrlPatternType)it.next()).getValue()); if (extPath != null){ String ext = extPath.getFileExtension(); if (ext != null && !ext.equals("")) //$NON-NLS-1$ |