giacomo 2003/01/09 06:17:50 Modified: src/blocks/databases/java/org/apache/cocoon/transformation SQLTransformer.java Log: make some method package protected instead of privat to increase performance by avoiding 'access emulated by a synthetic accessor method' (objected by eclipse) Revision Changes Path 1.5 +8 -8 xml-cocoon2/src/blocks/databases/java/org/apache/cocoon/transformation/SQLTransformer.java Index: SQLTransformer.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/blocks/databases/java/org/apache/cocoon/transformation/SQLTransformer.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -b -u -r1.4 -r1.5 --- SQLTransformer.java 7 Jan 2003 23:17:08 -0000 1.4 +++ SQLTransformer.java 9 Jan 2003 14:17:49 -0000 1.5 @@ -1,4 +1,4 @@ -/* +Q/* ============================================================================ The Apache Software License, Version 1.1 @@ -143,13 +143,13 @@ // /** Is the old-driver turned on? (default is off) */ - private boolean oldDriver = false; + boolean oldDriver = false; /** How many connection attempts to do? (default is 5 times) */ - private int connectAttempts = 5; + int connectAttempts = 5; /** How long wait between connection attempts? (default is 5000 ms) */ - private int connectWaittime = 5; + int connectWaittime = 5; // // State @@ -767,7 +767,7 @@ /** * Helper method for generating SAX events */ - private void start( String name, AttributesImpl attr ) + void start( String name, AttributesImpl attr ) throws SAXException { try { super.startTransformingElement( outUri, name, nsQualify( name, outPrefix ), attr ); @@ -782,7 +782,7 @@ /** * Helper method for generating SAX events */ - private void end( String name ) throws SAXException { + void end( String name ) throws SAXException { try { super.endTransformingElement( outUri, name, nsQualify( name, outPrefix ) ); } catch (IOException ioe) { @@ -795,7 +795,7 @@ /** * Helper method for generating SAX events */ - private void data( String data ) throws SAXException { + void data( String data ) throws SAXException { if ( data != null ) { super.characters( data.toCharArray(), 0, data.length() ); }
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]