Author: jason.greene(a)jboss.com
Date: 2006-12-04 12:05:16 -0500 (Mon, 04 Dec 2006)
New Revision: 1548
Modified:
trunk/src/main/java/org/jboss/ws/integration/jboss50/WebMetaDataAdaptor.java
Log:
Fix compatibility with latest jbossas
Modified: trunk/src/main/java/org/jboss/ws/integration/jboss50/WebMetaDataAdaptor.java
===================================================================
---
trunk/src/main/java/org/jboss/ws/integration/jboss50/WebMetaDataAdaptor.java 2006-12-04
15:01:07 UTC (rev 1547)
+++
trunk/src/main/java/org/jboss/ws/integration/jboss50/WebMetaDataAdaptor.java 2006-12-04
17:05:16 UTC (rev 1548)
@@ -107,7 +107,8 @@
while(it.hasNext())
{
ServletMapping sm = (ServletMapping)it.next();
- mappings.put(sm.getName(), sm.getUrlPattern());
+ // FIXME - Add support for multiple mappings
+ mappings.put(sm.getName(), sm.getUrlPatterns().get(0));
}
return mappings;
}
Show replies by date