You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by mp...@apache.org on 2002/02/16 18:06:53 UTC

cvs commit: jakarta-turbine-torque/src/java/org/apache/torque/task TorqueDataSQLTask.java

mpoeschl    02/02/16 09:06:53

  Modified:    src/java/org/apache/torque/task TorqueDataSQLTask.java
  Log:
  formating
  
  Revision  Changes    Path
  1.7       +12 -17    jakarta-turbine-torque/src/java/org/apache/torque/task/TorqueDataSQLTask.java
  
  Index: TorqueDataSQLTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/task/TorqueDataSQLTask.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TorqueDataSQLTask.java	6 Dec 2001 22:46:34 -0000	1.6
  +++ TorqueDataSQLTask.java	16 Feb 2002 17:06:53 -0000	1.7
  @@ -70,7 +70,7 @@
    * @author <a href="mailto:jvanzyl@periapt.com"> Jason van Zyl </a>
    * @author <a href="mailto:jmcnally@collab.net"> John McNally </a>
    * @author <a href="mailto:fedor.karpelevitch@home.com"> Fedor Karpelevitch </a>
  - * @version $Id: TorqueDataSQLTask.java,v 1.6 2001/12/06 22:46:34 mpoeschl Exp $
  + * @version $Id: TorqueDataSQLTask.java,v 1.7 2002/02/16 17:06:53 mpoeschl Exp $
    */
   public class TorqueDataSQLTask
       extends TorqueDataModelTask
  @@ -79,15 +79,13 @@
       private String dataDTD;
   
       /**
  -     *  The target database(s) we are generating SQL
  -     *  for. Right now we can only deal with a single
  -     *  target, but we will support multiple targets
  -     *  soon.
  +     * The target database(s) we are generating SQL for. Right now we can only
  +     * deal with a single target, but we will support multiple targets soon.
        */
       private String targetDatabase;
   
       /**
  -     *  Sets the DataXmlFile attribute of the TorqueDataSQLTask object
  +     * Sets the DataXmlFile attribute of the TorqueDataSQLTask object
        *
        * @param  dataXmlFile The new DataXmlFile value
        */
  @@ -97,7 +95,7 @@
       }
   
       /**
  -     *  Gets the DataXmlFile attribute of the TorqueDataSQLTask object
  +     * Gets the DataXmlFile attribute of the TorqueDataSQLTask object
        *
        * @return  The DataXmlFile value
        */
  @@ -107,7 +105,7 @@
       }
   
       /**
  -     *  Get the current target database.
  +     * Get the current target database.
        *
        * @return  String target database(s)
        */
  @@ -117,8 +115,8 @@
       }
   
       /**
  -     *  Set the current target database.  This is where
  -     *  generated java classes will live.
  +     * Set the current target database.  This is where generated java classes
  +     * will live.
        *
        * @param  v The new TargetDatabase value
        */
  @@ -128,7 +126,7 @@
       }
   
       /**
  -     *  Gets the DataDTD attribute of the TorqueDataSQLTask object
  +     * Gets the DataDTD attribute of the TorqueDataSQLTask object
        *
        * @return  The DataDTD value
        */
  @@ -138,7 +136,7 @@
       }
   
       /**
  -     *  Sets the DataDTD attribute of the TorqueDataSQLTask object
  +     * Sets the DataDTD attribute of the TorqueDataSQLTask object
        *
        * @param  dataDTD The new DataDTD value
        */
  @@ -148,8 +146,7 @@
       }
   
       /**
  -     *  Set up the initialial context for generating the
  -     *  SQL from the XML schema.
  +     * Set up the initialial context for generating the SQL from the XML schema.
        *
        * @return  Description of the Returned Value
        */
  @@ -184,10 +181,8 @@
           fis.close();
   
           p.setProperty(getOutputFile(), db.getName());
  -        p.store(new FileOutputStream(getSqlDbMap()),"Sqlfile -> Database map");
  +        p.store(new FileOutputStream(getSqlDbMap()), "Sqlfile -> Database map");
   
           return context;
       }
   }
  -
  -
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>