INT-1596, fixed the broken links as well as all warnings

This commit is contained in:
Oleg Zhurakousky
2010-11-09 12:17:45 -05:00
parent 8da4fae7ef
commit 1278666ed7
31 changed files with 40 additions and 259 deletions

View File

@@ -45,7 +45,7 @@ public class StubMarshaller implements Marshaller {
}
@SuppressWarnings("unchecked")
@SuppressWarnings("rawtypes")
public boolean supports(Class clazz) {
return true;
}

View File

@@ -33,7 +33,7 @@ public class StubUnmarshaller implements Unmarshaller {
public LinkedList<Source> sourcesPassed = new LinkedList<Source>();
@SuppressWarnings("unchecked")
@SuppressWarnings("rawtypes")
public boolean supports(Class clazz) {
return true;
}

View File

@@ -81,6 +81,7 @@ public class XmlPayloadValidatingFilterParserTests {
inputChannel.send(docMessage);
assertNotNull(validChannel.receive(100));
}
@SuppressWarnings("unused")
@Test
public void testInvalidMessageWithValidatorAndDiscardChannel() throws Exception {
ApplicationContext ac = new ClassPathXmlApplicationContext("XmlPayloadValidatingFilterParserTests-context.xml", this.getClass());

View File

@@ -36,7 +36,7 @@ import org.springframework.xml.xpath.XPathExpressionFactory;
public class XPathRouterTests {
@Test
@SuppressWarnings("unchecked")
@SuppressWarnings({ "unchecked", "rawtypes" })
public void simpleSingleAttribute() throws Exception {
Document doc = XmlTestUtil.getDocumentForString("<doc type=\"one\" />");
XPathExpression expression = XPathExpressionFactory.createXPathExpression("/doc/@type");
@@ -47,7 +47,7 @@ public class XPathRouterTests {
}
@Test
@SuppressWarnings("unchecked")
@SuppressWarnings({ "unchecked", "rawtypes" })
public void multipleNodeValues() throws Exception {
Document doc = XmlTestUtil.getDocumentForString("<doc type=\"one\"><book>bOne</book><book>bTwo</book></doc>");
XPathExpression expression = XPathExpressionFactory.createXPathExpression("/doc/book");
@@ -59,7 +59,7 @@ public class XPathRouterTests {
}
@Test
@SuppressWarnings("unchecked")
@SuppressWarnings({ "unchecked", "rawtypes" })
public void multipleNodeValuesAsString() throws Exception {
XPathExpression expression = XPathExpressionFactory.createXPathExpression("/doc/book");
XPathRouter router = new XPathRouter(expression);