webwork/src/main/webwork/view/taglib URLTag.java,1.5,1.6

[email protected] Wed, 08 May 2002 13:42:47 -0700
Newsgroups gmane.comp.java.webwork.cvs
Message-ID <[email protected]>
Update of /cvsroot/webwork/webwork/src/main/webwork/view/taglib
In directory usw-pr-cvs1:/tmp/cvs-serv28218

Modified Files:
	URLTag.java 
Log Message:
removed catch

Index: URLTag.java
===================================================================
RCS file: /cvsroot/webwork/webwork/src/main/webwork/view/taglib/URLTag.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- URLTag.java	8 May 2002 20:38:38 -0000	1.5
+++ URLTag.java	8 May 2002 20:42:44 -0000	1.6
@@ -50,18 +50,13 @@
    }
 
    public void addParameter(String name, Object value) {
-      try {
-         if (params == null)
-            params = new HashMap();
+      if (params == null)
+         params = new HashMap();
 
-         if (value == null)
-            params.remove(name);
-         else {
-            params.put(name, value.toString());
-         }
-      } catch (UnsupportedOperationException e) {
-         Category.getInstance(this.getClass().getName()).debug("addParameter: ", e);
-         throw e;
+      if (value == null)
+         params.remove(name);
+      else {
+         params.put(name, value.toString());
       }
    }
 



_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [email protected]