You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by mp...@apache.org on 2003/09/06 00:41:41 UTC

cvs commit: db-torque/src/java/org/apache/torque/util BasePeer.java

mpoeschl    2003/09/05 15:41:41

  Modified:    .        project.xml
               src/java/org/apache/torque/util BasePeer.java
  Added:       xdocs    changes.xml
  Log:
  Remove PasePeer.DEFAULT_MAP_BUILDER and BasePeer.getMapBuilder()
  both are deprecated and don't work
  
  Revision  Changes    Path
  1.105     +2 -2      db-torque/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/db-torque/project.xml,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- project.xml	1 Sep 2003 20:33:22 -0000	1.104
  +++ project.xml	5 Sep 2003 22:41:41 -0000	1.105
  @@ -303,9 +303,7 @@
     <reports>
       <report>maven-jdepend-plugin</report>
       <report>maven-checkstyle-plugin</report>
  -<!--    
       <report>maven-changes-plugin</report>
  --->
       <report>maven-changelog-plugin</report>
       <report>maven-file-activity-plugin</report>
       <report>maven-developer-activity-plugin</report>
  @@ -314,7 +312,9 @@
       <report>maven-junit-report-plugin</report>
       <report>maven-tasklist-plugin</report>
       <report>maven-pmd-plugin</report>
  +    <report>maven-findbugs-plugin</report>
       <report>maven-simian-plugin</report>
  +    <report>maven-jcoverage-plugin</report>
     </reports>
     
   </project>
  
  
  
  1.109     +7 -1006   db-torque/xdocs/changes.xml
  
  
  
  
  1.77      +1 -26     db-torque/src/java/org/apache/torque/util/BasePeer.java
  
  Index: BasePeer.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/java/org/apache/torque/util/BasePeer.java,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- BasePeer.java	25 Aug 2003 16:33:22 -0000	1.76
  +++ BasePeer.java	5 Sep 2003 22:41:41 -0000	1.77
  @@ -126,14 +126,6 @@
       /** Classes that implement this class should override this value. */
       public static final String TABLE_NAME = "TABLE_NAME";
   
  -    /** 
  -     * The Torque default MapBuilder.
  -     * 
  -     * @deprecated there is no default map builder! 
  -     */
  -    public static final String DEFAULT_MAP_BUILDER =
  -        "org.apache.torque.util.db.map.TurbineMapBuilder";
  -
       /** Hashtable that contains the cached mapBuilders. */
       private static Hashtable mapBuilders = new Hashtable(5);
   
  @@ -2061,23 +2053,6 @@
       {
           throw new TorqueException("Criteria expected single Record and "
                   + "Multiple Records were selected");
  -    }
  -
  -    /**
  -     * This method returns the MapBuilder specified in the
  -     * configuration file. By default, this is
  -     * org.apache.torque.util.db.map.TurbineMapBuilder.
  -     * FIXME! With the decoupled Torque there seem to be no
  -     * default map builder anymore.
  -     *
  -     * @return A MapBuilder.
  -     * @throws TorqueException Any exceptions caught during processing will be
  -     *         rethrown wrapped into a TorqueException.
  -     * @deprecated you have to specify the name of the map builder!
  -     */
  -    public static MapBuilder getMapBuilder() throws TorqueException
  -    {
  -        return getMapBuilder(DEFAULT_MAP_BUILDER.trim());
       }
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org