Log Message
Make Java 1.4 compatible.
Modified Paths
Diff
Modified: branches/v-1.4.x/xstream/src/test/com/thoughtworks/xstream/mapper/SecurityMapperTest.java (2221 => 2222)
--- branches/v-1.4.x/xstream/src/test/com/thoughtworks/xstream/mapper/SecurityMapperTest.java 2014-01-22 21:59:59 UTC (rev 2221)
+++ branches/v-1.4.x/xstream/src/test/com/thoughtworks/xstream/mapper/SecurityMapperTest.java 2014-01-23 00:32:19 UTC (rev 2222)
@@ -35,16 +35,15 @@
public class SecurityMapperTest extends TestCase {
private SecurityMapper mapper;
- private Map<String, Class<?>> classMap;
+ private Map classMap;
- @Override
protected void setUp() throws Exception {
super.setUp();
- classMap = new HashMap<String, Class<?>>();
+ classMap = new HashMap();
mapper = new SecurityMapper(new MapperWrapper(null) {
public Class realClass(final String elementName) {
- return classMap.get(elementName);
+ return (Class)classMap.get(elementName);
}
});
}
To unsubscribe from this list please visit:
