Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 72082 invoked from network); 5 Sep 2003 22:42:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Sep 2003 22:42:06 -0000 Received: (qmail 39079 invoked by uid 500); 5 Sep 2003 22:41:45 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 38950 invoked by uid 500); 5 Sep 2003 22:41:43 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 38815 invoked by uid 500); 5 Sep 2003 22:41:40 -0000 Received: (qmail 38798 invoked from network); 5 Sep 2003 22:41:40 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 5 Sep 2003 22:41:40 -0000 Received: (qmail 71947 invoked by uid 1280); 5 Sep 2003 22:41:41 -0000 Date: 5 Sep 2003 22:41:41 -0000 Message-ID: <20030905224141.71946.qmail@minotaur.apache.org> From: mpoeschl@apache.org To: db-torque-cvs@apache.org Subject: cvs commit: db-torque/src/java/org/apache/torque/util BasePeer.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 @@ maven-jdepend-plugin maven-checkstyle-plugin - maven-changelog-plugin maven-file-activity-plugin maven-developer-activity-plugin @@ -314,7 +312,9 @@ maven-junit-report-plugin maven-tasklist-plugin maven-pmd-plugin + maven-findbugs-plugin maven-simian-plugin + maven-jcoverage-plugin 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