cvs commit: spice/sandbox/repository/componenthaus/src/java/org/componenthaus/repository/impl ServiceImpl.java CategoryImpl.java

Mike Hogan <[email protected]> Mon, 10 Nov 2003 12:21:42 -0800
Newsgroups gmane.comp.java.spice.cvs
Message-ID <[email protected]>
hogie       03/11/10 12:21:42

  Modified:    sandbox/repository/componenthaus/src/java/org/componenthaus/repository/impl
                        ServiceImpl.java
  Removed:     sandbox/repository/componenthaus/src/java/org/componenthaus/repository/impl
                        CategoryImpl.java
  Log:
  Preview release with plexus-utils components
  
  Revision  Changes    Path
  1.4       +2 -16     spice/sandbox/repository/componenthaus/src/java/org/componenthaus/repository/impl/ServiceImpl.java
  
  Index: ServiceImpl.java
  ===================================================================
  RCS file: /cvsroot/spice/spice/sandbox/repository/componenthaus/src/java/org/componenthaus/repository/impl/ServiceImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ServiceImpl.java	9 Nov 2003 14:00:48 -0000	1.3
  +++ ServiceImpl.java	10 Nov 2003 20:21:42 -0000	1.4
  @@ -1,11 +1,10 @@
   package org.componenthaus.repository.impl;
   
  -import org.componenthaus.repository.api.Service;
   import org.apache.commons.lang.builder.EqualsBuilder;
  +import org.componenthaus.repository.api.Service;
   
  -import java.util.List;
  -import java.util.Iterator;
   import java.util.ArrayList;
  +import java.util.List;
   
   class ServiceImpl implements Service {
       private String name = null;
  @@ -47,19 +46,6 @@
   
       public String getFullyQualifiedName() {
           return fullyQualifiedName;
  -    }
  -
  -    public String getAuthorsCSV() {
  -        final StringBuffer result = new StringBuffer();
  -        int count = 0;
  -        for(Iterator i=authors.iterator();i.hasNext();) {
  -            if ( count > 0) {
  -                result.append(", ");
  -            }
  -            result.append(i.next());
  -            count++;
  -        }
  -        return result.toString();
       }
   
       public List getAuthors() {
  
  
  


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/