tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fra...@apache.org
Subject svn commit: r425811 - in /incubator/tuscany/java/sdo/impl/src: main/java/org/apache/tuscany/sdo/helper/XSDHelperImpl.java test/java/org/apache/tuscany/sdo/test/XSDHelperTestCase.java
Date Wed, 26 Jul 2006 19:35:31 GMT
Author: frankb
Date: Wed Jul 26 12:35:31 2006
New Revision: 425811

URL: http://svn.apache.org/viewvc?rev=425811&view=rev
Log:
Remove System.out.println calls

Modified:
    incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/helper/XSDHelperImpl.java
    incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XSDHelperTestCase.java

Modified: incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/helper/XSDHelperImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/helper/XSDHelperImpl.java?rev=425811&r1=425810&r2=425811&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/helper/XSDHelperImpl.java
(original)
+++ incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/helper/XSDHelperImpl.java
Wed Jul 26 12:35:31 2006
@@ -255,14 +255,14 @@
          }
          catch ( Exception e )
          {
-             System.out.println("Unable to generate schema due to ..." + e);
+             //System.out.println("Unable to generate schema due to ..." + e);
              //e.printStackTrace();
              throw new IllegalArgumentException(e);
          }
       }
       else
       {
-          System.out.println("No SDO Types to generate schema ...");
+          //System.out.println("No SDO Types to generate schema ...");
           return "";
       }
   }

Modified: incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XSDHelperTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XSDHelperTestCase.java?rev=425811&r1=425810&r2=425811&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XSDHelperTestCase.java
(original)
+++ incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XSDHelperTestCase.java
Wed Jul 26 12:35:31 2006
@@ -17,20 +17,16 @@
 package org.apache.tuscany.sdo.test;
 
 import java.io.IOException;
-import java.math.BigDecimal;
 import java.net.URL;
 import java.util.Hashtable;
 import java.util.List;
 import java.util.Vector;
 
+import junit.framework.TestCase;
+
 import org.apache.tuscany.sdo.util.SDOUtil;
 
-import com.example.simple.Quote;
-import com.example.simple.impl.QuoteImpl;
 import com.example.simple.impl.SimpleFactoryImpl;
-
-import junit.framework.TestCase;
-
 import commonj.sdo.DataObject;
 import commonj.sdo.Type;
 import commonj.sdo.helper.DataFactory;
@@ -118,7 +114,7 @@
         try
         {
             xsd = xsdHelper.generate(types);
-            System.out.println(xsd);
+            //System.out.println(xsd);
         }
         catch ( IllegalArgumentException e )
         {
@@ -127,7 +123,6 @@
         
     }
     
-    
     public void testXSDGeneration_DynamicWithNestedStaticSDOType() throws IOException 
     {
         //testing static SDO with XSD Model being contained in a Dynamic SDO not having an
XSD Model.
@@ -177,7 +172,7 @@
             Hashtable schemaLocationMap = new Hashtable();
             schemaLocationMap.put("http://www.example.com/simples", "http://www.example.com/simple/xsd");
             xsd = xsdHelper.generate(types, schemaLocationMap);
-            System.out.println(xsd);
+            //System.out.println(xsd);
         }
         catch ( IllegalArgumentException e )
         {



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message