harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r618283 - /harmony/enhanced/jdktools/trunk/modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/HTMLParser.java
Date Mon, 04 Feb 2008 14:01:33 GMT
Author: apetrenko
Date: Mon Feb  4 06:01:32 2008
New Revision: 618283

URL: http://svn.apache.org/viewvc?rev=618283&view=rev
Log:
Additional patch for HARMONY-5450

Modified:
    harmony/enhanced/jdktools/trunk/modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/HTMLParser.java

Modified: harmony/enhanced/jdktools/trunk/modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/HTMLParser.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/jdktools/trunk/modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/HTMLParser.java?rev=618283&r1=618282&r2=618283&view=diff
==============================================================================
--- harmony/enhanced/jdktools/trunk/modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/HTMLParser.java
(original)
+++ harmony/enhanced/jdktools/trunk/modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/HTMLParser.java
Mon Feb  4 06:01:32 2008
@@ -97,11 +97,7 @@
                 appletInfo.setWidth((String)attributes.getAttribute(HTML.Attribute.WIDTH));
                 appletInfo.setHeight((String)attributes.getAttribute(HTML.Attribute.HEIGHT));
 
-                try {
-                    appletInfo.setArchive((String)attributes.getAttribute(HTML.Attribute.ARCHIVE));
-                } catch (MalformedURLException e) {
-                    appletInfo.setArchive((URL)null);
-                }
+                appletInfo.setArchive((String)attributes.getAttribute(HTML.Attribute.ARCHIVE));
 
                 try {
                     appletInfo.setCode((String)attributes.getAttribute(HTML.Attribute.CODE));



Mime
View raw message