cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1559241 - in /cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/io: XMLStreamDataReaderTest.java XMLStreamDataWriterTest.java
Date Fri, 17 Jan 2014 20:19:53 GMT
Author: dkulp
Date: Fri Jan 17 20:19:53 2014
New Revision: 1559241

URL: http://svn.apache.org/r1559241
Log:
Fix some eclipse warnings

Modified:
    cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/io/XMLStreamDataReaderTest.java
    cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/io/XMLStreamDataWriterTest.java

Modified: cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/io/XMLStreamDataReaderTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/io/XMLStreamDataReaderTest.java?rev=1559241&r1=1559240&r2=1559241&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/io/XMLStreamDataReaderTest.java
(original)
+++ cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/io/XMLStreamDataReaderTest.java
Fri Jan 17 20:19:53 2014
@@ -63,7 +63,7 @@ public class XMLStreamDataReaderTest ext
         reader = getTestReader("../resources/SetPropertyValidationFailureReq.xml");
         assertNotNull(reader);
         
-        DataReaderImpl<XMLStreamReader> dr = (DataReaderImpl)db.createReader(XMLStreamReader.class);
+        DataReaderImpl<XMLStreamReader> dr = (DataReaderImpl<XMLStreamReader>)db.createReader(XMLStreamReader.class);
         assertNotNull(dr);
         
         // Build message to set custom event handler

Modified: cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/io/XMLStreamDataWriterTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/io/XMLStreamDataWriterTest.java?rev=1559241&r1=1559240&r2=1559241&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/io/XMLStreamDataWriterTest.java
(original)
+++ cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/io/XMLStreamDataWriterTest.java
Fri Jan 17 20:19:53 2014
@@ -71,7 +71,7 @@ public class XMLStreamDataWriterTest ext
     public void testSetProperty() throws Exception {
         JAXBDataBinding db = getTestWriterFactory();
                
-        DataWriterImpl<XMLStreamWriter> dw = (DataWriterImpl)db.createWriter(XMLStreamWriter.class);
+        DataWriterImpl<XMLStreamWriter> dw = (DataWriterImpl<XMLStreamWriter>)db.createWriter(XMLStreamWriter.class);
         assertNotNull(dw);
         
         // Build message to set custom event handler



Mime
View raw message