Return-Path: Delivered-To: apmail-cocoon-cvs-archive@www.apache.org Received: (qmail 67071 invoked from network); 20 Sep 2003 17:15:34 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 20 Sep 2003 17:15:34 -0000 Received: (qmail 74166 invoked by uid 500); 20 Sep 2003 17:15:25 -0000 Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 74107 invoked by uid 500); 20 Sep 2003 17:15:25 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 74096 invoked by uid 500); 20 Sep 2003 17:15:25 -0000 Delivered-To: apmail-cocoon-2.1-cvs@apache.org Received: (qmail 74093 invoked from network); 20 Sep 2003 17:15:25 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 20 Sep 2003 17:15:25 -0000 Received: (qmail 67047 invoked by uid 1260); 20 Sep 2003 17:15:32 -0000 Date: 20 Sep 2003 17:15:32 -0000 Message-ID: <20030920171532.67046.qmail@minotaur.apache.org> From: cziegeler@apache.org To: cocoon-2.1-cvs@apache.org Subject: cvs commit: cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/transformation SQLTransformer.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 cziegeler 2003/09/20 10:15:32 Modified: src/blocks/databases/java/org/apache/cocoon/transformation SQLTransformer.java Log: Cleaning up code Revision Changes Path 1.9 +7 -7 cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/transformation/SQLTransformer.java Index: SQLTransformer.java =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/transformation/SQLTransformer.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- SQLTransformer.java 18 Aug 2003 13:00:46 -0000 1.8 +++ SQLTransformer.java 20 Sep 2003 17:15:32 -0000 1.9 @@ -147,13 +147,13 @@ // /** Is the old-driver turned on? (default is off) */ - private boolean oldDriver = false; + protected boolean oldDriver = false; /** How many connection attempts to do? (default is 5 times) */ - private int connectAttempts = 5; + protected int connectAttempts = 5; /** How long wait between connection attempts? (default is 5000 ms) */ - private int connectWaittime = 5; + protected int connectWaittime = 5; // // State @@ -768,7 +768,7 @@ /** * Helper method for generating SAX events */ - private void start( String name, AttributesImpl attr ) + protected void start( String name, AttributesImpl attr ) throws SAXException { try { super.startTransformingElement( outUri, name, nsQualify( name, outPrefix ), attr ); @@ -783,7 +783,7 @@ /** * Helper method for generating SAX events */ - private void end( String name ) throws SAXException { + protected void end( String name ) throws SAXException { try { super.endTransformingElement( outUri, name, nsQualify( name, outPrefix ) ); } catch (IOException ioe) { @@ -796,7 +796,7 @@ /** * Helper method for generating SAX events */ - private void data( String data ) throws SAXException { + protected void data( String data ) throws SAXException { if ( data != null ) { super.characters( data.toCharArray(), 0, data.length() ); }