cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r748338 - /cxf/branches/2.1.x-fixes/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/xmlconfig/TestDateMapping.java
Date Thu, 26 Feb 2009 22:28:58 GMT
Author: dkulp
Date: Thu Feb 26 22:28:58 2009
New Revision: 748338

URL: http://svn.apache.org/viewvc?rev=748338&view=rev
Log:
Fix compile failure

Modified:
    cxf/branches/2.1.x-fixes/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/xmlconfig/TestDateMapping.java

Modified: cxf/branches/2.1.x-fixes/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/xmlconfig/TestDateMapping.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.1.x-fixes/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/xmlconfig/TestDateMapping.java?rev=748338&r1=748337&r2=748338&view=diff
==============================================================================
--- cxf/branches/2.1.x-fixes/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/xmlconfig/TestDateMapping.java
(original)
+++ cxf/branches/2.1.x-fixes/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/xmlconfig/TestDateMapping.java
Thu Feb 26 22:28:58 2009
@@ -30,7 +30,6 @@
 import org.apache.cxf.aegis.AegisWriter;
 import org.apache.cxf.aegis.type.Type;
 import org.apache.cxf.test.TestUtilities;
-import org.apache.ws.commons.schema.XmlSchema;
 
 import org.junit.Before;
 import org.junit.Test;
@@ -78,9 +77,8 @@
         java.sql.Date date = new java.sql.Date(0);
         bean.setFig(date);
         Type sbType = context.getTypeMapping().getType(bean.getClass());
-        XmlSchema root = new XmlSchema(); // dummy to put schema in.
      /* will explode if the type object created for the custom mapping isn't fully initialized.
       */
-        sbType.writeSchema(root); 
+        sbType.writeSchema(null);
     }
 }



Mime
View raw message