avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/util Service.java
Date Tue, 18 Mar 2003 18:07:37 GMT
bloritsch    2003/03/18 10:07:37

  Modified:    fortress/src/java/org/apache/avalon/fortress/util
                        Service.java
  Log:
  remove method that no longer belongs here
  
  Revision  Changes    Path
  1.2       +0 -14     avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/util/Service.java
  
  Index: Service.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/util/Service.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Service.java	18 Mar 2003 17:11:09 -0000	1.1
  +++ Service.java	18 Mar 2003 18:07:37 -0000	1.2
  @@ -66,8 +66,6 @@
   import java.util.Iterator;
   import java.util.Set;
   
  -import javax.swing.ImageIcon;
  -
   /**
    * This class handles looking up service providers on the class path.
    * It implements the system described in:
  @@ -178,17 +176,5 @@
           }
   
           return providerSet.iterator();
  -    }
  -
  -    /**
  -     * Load an icon from the JARs
  -     * 
  -     * @param entry      Path to the icon
  -     * @return ImageIcon The ImageIcon from the loaded icon.
  -     */
  -    public static ImageIcon loadLibraryIcon( String entry )
  -    {
  -        ClassLoader loader = Thread.currentThread().getContextClassLoader();
  -        return new ImageIcon( loader.getResource( entry ) );
       }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message