/[classpath]/classpath/java/net/URLClassLoader.java
ViewVC logotype

Diff of /classpath/java/net/URLClassLoader.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21.2.7 by gnu_andrew, Tue Sep 20 18:46:29 2005 UTC revision 1.21.2.8 by gnu_andrew, Sun Oct 16 17:12:07 2005 UTC
# Line 853  public class URLClassLoader extends Secu Line 853  public class URLClassLoader extends Secu
853     * loaded     * loaded
854     * @return a Class object representing the found class     * @return a Class object representing the found class
855     */     */
856    protected Class findClass(final String className)    protected Class<?> findClass(final String className)
857      throws ClassNotFoundException      throws ClassNotFoundException
858    {    {
859      // Just try to find the resource by the (almost) same name      // Just try to find the resource by the (almost) same name
# Line 1073  public class URLClassLoader extends Secu Line 1073  public class URLClassLoader extends Secu
1073     * @exception IOException when an error occurs accessing one of the     * @exception IOException when an error occurs accessing one of the
1074     * locations     * locations
1075     */     */
1076    public Enumeration findResources(String resourceName)    public Enumeration<URL> findResources(String resourceName)
1077      throws IOException      throws IOException
1078    {    {
1079      Vector resources = new Vector();      Vector<URL> resources = new Vector<URL>();
1080      int max = urlinfos.size();      int max = urlinfos.size();
1081      for (int i = 0; i < max; i++)      for (int i = 0; i < max; i++)
1082        {        {

Legend:
Removed from v.1.21.2.7  
changed lines
  Added in v.1.21.2.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26