commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgra...@apache.org
Subject cvs commit: jakarta-commons-sandbox/mapper/src/share/org/apache/commons/mapper MapperAdapter.java
Date Thu, 28 Aug 2003 00:11:36 GMT
dgraham     2003/08/27 17:11:36

  Modified:    mapper/src/share/org/apache/commons/mapper
                        MapperAdapter.java
  Log:
  Changed Mapper.findAllObjects() to return a Collection instead of a List 
  because the objects aren't necessarily ordered.
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-commons-sandbox/mapper/src/share/org/apache/commons/mapper/MapperAdapter.java
  
  Index: MapperAdapter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/mapper/src/share/org/apache/commons/mapper/MapperAdapter.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MapperAdapter.java	10 Jun 2003 02:39:35 -0000	1.2
  +++ MapperAdapter.java	28 Aug 2003 00:11:36 -0000	1.3
  @@ -61,7 +61,7 @@
   
   package org.apache.commons.mapper;
   
  -import java.util.List;
  +import java.util.Collection;
   
   /**
    * A default implementation of the Mapper interface that throws 
  @@ -112,7 +112,7 @@
       /**
        * @see org.apache.commons.mapper.Mapper#findAllObjects()
        */
  -    public List findAllObjects() throws MapperException {
  +    public Collection findAllObjects() throws MapperException {
           throw new UnsupportedOperationException("This mapper does not support findAllObjects().");
       }
   
  
  
  

Mime
View raw message