You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2012/01/09 22:06:38 UTC
svn commit: r1229348 - in
/cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test:
AbstractTypeTestClient3.java AbstractTypeTestClient4.java
Author: dkulp
Date: Mon Jan 9 21:06:37 2012
New Revision: 1229348
URL: http://svn.apache.org/viewvc?rev=1229348&view=rev
Log:
JAXB generated code for a couple types has rawtype issues
Modified:
cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient3.java
cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient4.java
Modified: cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient3.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient3.java?rev=1229348&r1=1229347&r2=1229348&view=diff
==============================================================================
--- cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient3.java (original)
+++ cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient3.java Mon Jan 9 21:06:37 2012
@@ -2124,6 +2124,7 @@ public abstract class AbstractTypeTestCl
//org.apache.type_test.types3.OccuringChoice1;
+ @SuppressWarnings("rawtypes")
protected boolean equals(OccuringChoice1 x, OccuringChoice1 y) {
List<Comparable> xList = x.getVarFloatOrVarInt();
List<Comparable> yList = y.getVarFloatOrVarInt();
@@ -2155,6 +2156,7 @@ public abstract class AbstractTypeTestCl
return;
}
OccuringChoice1 x = new OccuringChoice1();
+ @SuppressWarnings("rawtypes")
List<Comparable> theList = x.getVarFloatOrVarInt();
theList.add(0);
theList.add(new Float(1.14f));
Modified: cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient4.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient4.java?rev=1229348&r1=1229347&r2=1229348&view=diff
==============================================================================
--- cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient4.java (original)
+++ cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient4.java Mon Jan 9 21:06:37 2012
@@ -840,6 +840,7 @@ public abstract class AbstractTypeTestCl
//org.apache.type_test.types3.StructWithOccuringStruct;
+ @SuppressWarnings("rawtypes")
protected boolean equals(StructWithOccuringStruct x, StructWithOccuringStruct y) {
if (x.getVarInteger() != y.getVarInteger()) {
return false;