jicarilla-suf/suf-components/datasource/src/java/org/apache/avalon/excalibur/datasource AbstractJdbcConnection.java,1.1.1.1,1.2 DataSourceComponent.java,1.1.1.1,1.2 InformixDataSource.java,1.1.1.1,1.2 J2eeDataSource.java,1.1.1.1,1.2 JdbcConnectionFactory.java,1.1.1.1,1.2 JdbcConnectionPool.java,1.1.1.1,1.2 JdbcDataSource.java,1.1.1.1,1.2 PoolSettable.java,1.1.1.1,1.2 ResourceLimitingJdbcConnectionPool.java,1.1.1.1,1.2 ResourceLimitingJdbcDataSource.java,1.1.1.1,1.2

Leo Simons <[email protected]>
Newsgroups gmane.comp.java.jicarilla.cvs
Message-ID <[email protected]>
Update of /cvsroot/jicarilla/jicarilla-suf/suf-components/datasource/src/java/org/apache/avalon/excalibur/datasource
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5723/suf-components/datasource/src/java/org/apache/avalon/excalibur/datasource

Modified Files:
	AbstractJdbcConnection.java DataSourceComponent.java 
	InformixDataSource.java J2eeDataSource.java 
	JdbcConnectionFactory.java JdbcConnectionPool.java 
	JdbcDataSource.java PoolSettable.java 
	ResourceLimitingJdbcConnectionPool.java 
	ResourceLimitingJdbcDataSource.java 
Log Message:
optimize imports

Index: InformixDataSource.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-suf/suf-components/datasource/src/java/org/apache/avalon/excalibur/datasource/InformixDataSource.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- InformixDataSource.java	10 Apr 2004 14:40:37 -0000	1.1.1.1
+++ InformixDataSource.java	10 Apr 2004 22:50:57 -0000	1.2
@@ -17,18 +17,17 @@
 
 package org.apache.avalon.excalibur.datasource;
 
-import java.lang.reflect.Method;
-import java.sql.Connection;
-import java.sql.SQLException;
+import org.apache.avalon.framework.configuration.Configuration;
+import org.apache.avalon.framework.configuration.ConfigurationException;
+import org.apache.avalon.framework.logger.AbstractLogEnabled;
 
 import javax.naming.Context;
 import javax.naming.InitialContext;
-import javax.sql.DataSource;
 import javax.sql.ConnectionPoolDataSource;
-
-import org.apache.avalon.framework.configuration.Configuration;
-import org.apache.avalon.framework.configuration.ConfigurationException;
-import org.apache.avalon.framework.logger.AbstractLogEnabled;
+import javax.sql.DataSource;
+import java.lang.reflect.Method;
+import java.sql.Connection;
+import java.sql.SQLException;
 
 /**
  * The Informix implementation for DataSources in Excalibur.  This uses the

Index: DataSourceComponent.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-suf/suf-components/datasource/src/java/org/apache/avalon/excalibur/datasource/DataSourceComponent.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- DataSourceComponent.java	10 Apr 2004 14:40:37 -0000	1.1.1.1
+++ DataSourceComponent.java	10 Apr 2004 22:50:57 -0000	1.2
@@ -17,13 +17,13 @@
 
 package org.apache.avalon.excalibur.datasource;
 
-import java.sql.Connection;
-import java.sql.SQLException;
-
 import org.apache.avalon.framework.component.Component;
 import org.apache.avalon.framework.configuration.Configurable;
 import org.apache.avalon.framework.thread.ThreadSafe;
 
+import java.sql.Connection;
+import java.sql.SQLException;
+
 /**
  * The standard interface for DataSources in Avalon.
  *

Index: ResourceLimitingJdbcConnectionPool.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-suf/suf-components/datasource/src/java/org/apache/avalon/excalibur/datasource/ResourceLimitingJdbcConnectionPool.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- ResourceLimitingJdbcConnectionPool.java	10 Apr 2004 14:40:37 -0000	1.1.1.1
+++ ResourceLimitingJdbcConnectionPool.java	10 Apr 2004 22:50:57 -0000	1.2
@@ -17,13 +17,13 @@
 
 package org.apache.avalon.excalibur.datasource;
 
-import java.sql.Connection;
-import java.sql.SQLException;
-
 import org.apache.avalon.excalibur.pool.ObjectFactory;
 import org.apache.avalon.excalibur.pool.Poolable;
 import org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool;
 
+import java.sql.Connection;
+import java.sql.SQLException;
+
 /**
  * A ResourceLimiting JdbcConnectionPool which allows for fine configuration of
  *  how the pool scales to loads.

Index: JdbcConnectionFactory.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-suf/suf-components/datasource/src/java/org/apache/avalon/excalibur/datasource/JdbcConnectionFactory.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- JdbcConnectionFactory.java	10 Apr 2004 14:40:37 -0000	1.1.1.1
+++ JdbcConnectionFactory.java	10 Apr 2004 22:50:57 -0000	1.2
@@ -17,17 +17,17 @@
 
 package org.apache.avalon.excalibur.datasource;
 
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Proxy;
-import java.sql.Connection;
-import java.sql.DriverManager;
-
 import org.apache.avalon.excalibur.pool.ObjectFactory;
 import org.apache.avalon.framework.activity.Disposable;
 import org.apache.avalon.framework.container.ContainerUtil;
 import org.apache.avalon.framework.logger.AbstractLogEnabled;
 import org.apache.avalon.framework.logger.LogEnabled;
 
+import java.lang.reflect.Constructor;
+import java.lang.reflect.Proxy;
+import java.sql.Connection;
+import java.sql.DriverManager;
+
 /**
  * The Factory implementation for JdbcConnections.
  *

Index: AbstractJdbcConnection.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-suf/suf-components/datasource/src/java/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- AbstractJdbcConnection.java	10 Apr 2004 14:40:37 -0000	1.1.1.1
+++ AbstractJdbcConnection.java	10 Apr 2004 22:50:57 -0000	1.2
@@ -17,10 +17,16 @@
 
 package org.apache.avalon.excalibur.datasource;
 
-import java.lang.reflect.Method;
-import java.lang.reflect.Proxy;
+import org.apache.avalon.excalibur.pool.Pool;
+import org.apache.avalon.excalibur.pool.Poolable;
+import org.apache.avalon.framework.activity.Disposable;
+import org.apache.avalon.framework.logger.AbstractLogEnabled;
+import org.apache.avalon.framework.logger.Logger;
+
 import java.lang.reflect.InvocationHandler;
 import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.lang.reflect.Proxy;
 import java.sql.Connection;
 import java.sql.PreparedStatement;
 import java.sql.ResultSet;
@@ -32,12 +38,6 @@
 import java.util.List;
 import java.util.Map;
 
-import org.apache.avalon.excalibur.pool.Pool;
-import org.apache.avalon.excalibur.pool.Poolable;
-import org.apache.avalon.framework.activity.Disposable;
-import org.apache.avalon.framework.logger.AbstractLogEnabled;
-import org.apache.avalon.framework.logger.Logger;
-
 /**
  * The Connection object used in conjunction with the JdbcDataSource
  * object.

Index: J2eeDataSource.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-suf/suf-components/datasource/src/java/org/apache/avalon/excalibur/datasource/J2eeDataSource.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- J2eeDataSource.java	10 Apr 2004 14:40:37 -0000	1.1.1.1
+++ J2eeDataSource.java	10 Apr 2004 22:50:57 -0000	1.2
@@ -17,18 +17,17 @@
 
 package org.apache.avalon.excalibur.datasource;
 
-import java.sql.Connection;
-import java.sql.SQLException;
-import java.util.Hashtable;
+import org.apache.avalon.framework.configuration.Configuration;
+import org.apache.avalon.framework.configuration.ConfigurationException;
+import org.apache.avalon.framework.logger.AbstractLogEnabled;
 
 import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
 import javax.sql.DataSource;
-
-import org.apache.avalon.framework.configuration.Configuration;
-import org.apache.avalon.framework.configuration.ConfigurationException;
-import org.apache.avalon.framework.logger.AbstractLogEnabled;
+import java.sql.Connection;
+import java.sql.SQLException;
+import java.util.Hashtable;
 
 /**
  * The J2EE implementation for DataSources in Cocoon.  This uses the

Index: ResourceLimitingJdbcDataSource.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-suf/suf-components/datasource/src/java/org/apache/avalon/excalibur/datasource/ResourceLimitingJdbcDataSource.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- ResourceLimitingJdbcDataSource.java	10 Apr 2004 14:40:37 -0000	1.1.1.1
+++ ResourceLimitingJdbcDataSource.java	10 Apr 2004 22:50:57 -0000	1.2
@@ -17,18 +17,16 @@
 
 package org.apache.avalon.excalibur.datasource;
 
-import java.sql.Connection;
-import java.sql.SQLException;
-
+import org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool;
 import org.apache.avalon.framework.activity.Disposable;
 import org.apache.avalon.framework.configuration.Configuration;
 import org.apache.avalon.framework.configuration.ConfigurationException;
 import org.apache.avalon.framework.logger.AbstractLogEnabled;
-
 import org.apache.excalibur.instrument.Instrument;
 import org.apache.excalibur.instrument.Instrumentable;
 
-import org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool;
+import java.sql.Connection;
+import java.sql.SQLException;
 
 /**
  * The ResourceLimiting implementation for DataSources in Avalon.

Index: PoolSettable.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-suf/suf-components/datasource/src/java/org/apache/avalon/excalibur/datasource/PoolSettable.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- PoolSettable.java	10 Apr 2004 14:40:37 -0000	1.1.1.1
+++ PoolSettable.java	10 Apr 2004 22:50:57 -0000	1.2
@@ -17,11 +17,11 @@
 
 package org.apache.avalon.excalibur.datasource;
 
-import java.sql.SQLException;
-
 import org.apache.avalon.excalibur.pool.Pool;
 import org.apache.avalon.excalibur.pool.Recyclable;
 
+import java.sql.SQLException;
+
 /**
  * Hack class to work around the dynamic proxy issues of not allowing
  * abstract base classes as an "interface".

Index: JdbcConnectionPool.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-suf/suf-components/datasource/src/java/org/apache/avalon/excalibur/datasource/JdbcConnectionPool.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- JdbcConnectionPool.java	10 Apr 2004 14:40:37 -0000	1.1.1.1
+++ JdbcConnectionPool.java	10 Apr 2004 22:50:57 -0000	1.2
@@ -17,14 +17,14 @@
 
 package org.apache.avalon.excalibur.datasource;
 
-import java.sql.Connection;
-
 import org.apache.avalon.excalibur.pool.DefaultPoolController;
 import org.apache.avalon.excalibur.pool.HardResourceLimitingPool;
 import org.apache.avalon.excalibur.pool.Poolable;
 import org.apache.avalon.framework.activity.Disposable;
 import org.apache.avalon.framework.activity.Initializable;
 
+import java.sql.Connection;
+
 /**
  * The Pool implementation for JdbcConnections.  It uses a background
  * thread to manage the number of SQL Connections.

Index: JdbcDataSource.java
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-suf/suf-components/datasource/src/java/org/apache/avalon/excalibur/datasource/JdbcDataSource.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- JdbcDataSource.java	10 Apr 2004 14:40:37 -0000	1.1.1.1
+++ JdbcDataSource.java	10 Apr 2004 22:50:57 -0000	1.2
@@ -17,15 +17,15 @@
 
 package org.apache.avalon.excalibur.datasource;
 
-import java.sql.Connection;
-import java.sql.SQLException;
-
 import org.apache.avalon.excalibur.pool.DefaultPoolController;
 import org.apache.avalon.framework.activity.Disposable;
 import org.apache.avalon.framework.configuration.Configuration;
 import org.apache.avalon.framework.configuration.ConfigurationException;
 import org.apache.avalon.framework.logger.AbstractLogEnabled;
 
+import java.sql.Connection;
+import java.sql.SQLException;
+
 /**
  * The Default implementation for DataSources in Avalon.  This uses the
  * normal <code>java.sql.Connection</code> object and



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.