svn commit: r14763 - trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportClassLoader.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-05-18 09:38:19-0700
New Revision: 14763

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportClassLoader.java

Log:
Make implementation match API

Modified: trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportClassLoader.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportClassLoader.java?view=diff&rev=14763&p1=trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportClassLoader.java&p2=trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportClassLoader.java&r1=14762&r2=14763
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportClassLoader.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/reveng/ImportClassLoader.java	2008-05-18 09:38:19-0700
@@ -139,16 +139,9 @@
     /**
      * @param f the file to be added
      * @throws MalformedURLException when the URL is bad
-     * 
-     * TODO: Either method signature or implementation needs to be
-     * changed to make behavior consistent - tfm
      */
     public void addFile(File f) throws MalformedURLException {
-        try {
-            this.addURL(f.toURI().toURL());
-        } catch (MalformedURLException e) {
-	    LOG.warn("could not add file ", e);
-	}
+        addURL(f.toURI().toURL());
     }
 
     /**
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.