commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dfabul...@apache.org
Subject svn commit: r743293 - in /commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers: AbstractListHandler.java ArrayListHandler.java ColumnListHandler.java GenericListHandler.java MapListHandler.java
Date Wed, 11 Feb 2009 10:38:29 GMT
Author: dfabulich
Date: Wed Feb 11 10:38:28 2009
New Revision: 743293

URL: http://svn.apache.org/viewvc?rev=743293&view=rev
Log:
Renaming GenericListHandler to AbstractListHandler; if we're going to make it public, we should
give it a more reasonable name.  A GenericListHandler (one that actually uses java5 generics)
will be introduced in a later version, I think

Added:
    commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/AbstractListHandler.java
  (contents, props changed)
      - copied, changed from r742704, commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/GenericListHandler.java
Removed:
    commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/GenericListHandler.java
Modified:
    commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/ArrayListHandler.java
    commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/ColumnListHandler.java
    commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/MapListHandler.java

Copied: commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/AbstractListHandler.java
(from r742704, commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/GenericListHandler.java)
URL: http://svn.apache.org/viewvc/commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/AbstractListHandler.java?p2=commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/AbstractListHandler.java&p1=commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/GenericListHandler.java&r1=742704&r2=743293&rev=743293&view=diff
==============================================================================
--- commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/GenericListHandler.java
(original)
+++ commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/AbstractListHandler.java
Wed Feb 11 10:38:28 2009
@@ -29,7 +29,7 @@
  *
  * @see org.apache.commons.dbutils.ResultSetHandler
  */
-public abstract class GenericListHandler implements ResultSetHandler {
+public abstract class AbstractListHandler implements ResultSetHandler {
     /**
      * Whole <code>ResultSet</code> handler. It produce <code>List</code>
as
      * result. To convert individual rows into Java objects it uses

Propchange: commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/AbstractListHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/AbstractListHandler.java
------------------------------------------------------------------------------
    svn:mergeinfo = 

Modified: commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/ArrayListHandler.java
URL: http://svn.apache.org/viewvc/commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/ArrayListHandler.java?rev=743293&r1=743292&r2=743293&view=diff
==============================================================================
--- commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/ArrayListHandler.java
(original)
+++ commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/ArrayListHandler.java
Wed Feb 11 10:38:28 2009
@@ -28,7 +28,7 @@
  * 
  * @see org.apache.commons.dbutils.ResultSetHandler
  */
-public class ArrayListHandler extends GenericListHandler {
+public class ArrayListHandler extends AbstractListHandler {
 
     /**
      * The RowProcessor implementation to use when converting rows 
@@ -62,7 +62,7 @@
      * @return <code>Object[]</code>, never <code>null</code>.
      * 
      * @throws SQLException if a database access error occurs
-     * @see org.apache.commons.dbutils.handlers.GenericListHandler#handle(ResultSet)
+     * @see org.apache.commons.dbutils.handlers.AbstractListHandler#handle(ResultSet)
      */
     protected Object handleRow(ResultSet rs) throws SQLException {
         return this.convert.toArray(rs);

Modified: commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/ColumnListHandler.java
URL: http://svn.apache.org/viewvc/commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/ColumnListHandler.java?rev=743293&r1=743292&r2=743293&view=diff
==============================================================================
--- commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/ColumnListHandler.java
(original)
+++ commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/ColumnListHandler.java
Wed Feb 11 10:38:28 2009
@@ -27,7 +27,7 @@
  * @see org.apache.commons.dbutils.ResultSetHandler
  * @since DbUtils 1.1
  */
-public class ColumnListHandler extends GenericListHandler {
+public class ColumnListHandler extends AbstractListHandler {
 
     /**
      * The column number to retrieve.
@@ -75,7 +75,7 @@
      * 
      * @throws SQLException if a database access error occurs
      * 
-     * @see org.apache.commons.dbutils.handlers.GenericListHandler#handle(ResultSet)
+     * @see org.apache.commons.dbutils.handlers.AbstractListHandler#handle(ResultSet)
      */
    protected Object handleRow(ResultSet rs) throws SQLException {
         if (this.columnName == null) {

Modified: commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/MapListHandler.java
URL: http://svn.apache.org/viewvc/commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/MapListHandler.java?rev=743293&r1=743292&r2=743293&view=diff
==============================================================================
--- commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/MapListHandler.java
(original)
+++ commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/handlers/MapListHandler.java
Wed Feb 11 10:38:28 2009
@@ -28,7 +28,7 @@
  * 
  * @see org.apache.commons.dbutils.ResultSetHandler
  */
-public class MapListHandler extends GenericListHandler {
+public class MapListHandler extends AbstractListHandler {
 
     /**
      * The RowProcessor implementation to use when converting rows 
@@ -62,7 +62,7 @@
      * 
      * @throws SQLException if a database access error occurs
      * 
-     * @see org.apache.commons.dbutils.handlers.GenericListHandler#handle(ResultSet)
+     * @see org.apache.commons.dbutils.handlers.AbstractListHandler#handle(ResultSet)
      */
     protected Object handleRow(ResultSet rs) throws SQLException {
         return this.convert.toMap(rs);



Mime
View raw message