Return-Path: Delivered-To: apmail-avalon-cvs-archive@avalon.apache.org Received: (qmail 26824 invoked by uid 500); 18 Mar 2003 18:07:40 -0000 Mailing-List: contact cvs-help@avalon.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon CVS List" Reply-To: "Avalon Developers List" Delivered-To: mailing list cvs@avalon.apache.org Received: (qmail 26771 invoked by uid 500); 18 Mar 2003 18:07:40 -0000 Received: (qmail 26669 invoked from network); 18 Mar 2003 18:07:38 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 18 Mar 2003 18:07:38 -0000 Received: (qmail 73312 invoked by uid 1152); 18 Mar 2003 18:07:37 -0000 Date: 18 Mar 2003 18:07:37 -0000 Message-ID: <20030318180737.73311.qmail@icarus.apache.org> From: bloritsch@apache.org To: avalon-excalibur-cvs@apache.org Subject: cvs commit: avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/util Service.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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