Author: sback
Date: 2007-08-07 06:46:17 +0000 (Tue, 07 Aug 2007)
New Revision: 14500

Modified:
   trunk/freenet/src/freenet/support/HTMLNode.java
Log:
Removed bugous and not used method. Made "attributes" private

Modified: trunk/freenet/src/freenet/support/HTMLNode.java
===================================================================
--- trunk/freenet/src/freenet/support/HTMLNode.java     2007-08-06 23:50:28 UTC 
(rev 14499)
+++ trunk/freenet/src/freenet/support/HTMLNode.java     2007-08-07 06:46:17 UTC 
(rev 14500)
@@ -15,7 +15,7 @@

        private final String content;

-       protected final Map attributes = new HashMap();
+       private final Map attributes = new HashMap();

        protected final List children = new ArrayList();

@@ -75,10 +75,6 @@
                return content;
        }

-       public void addAttribute(String attributeName) {
-               addAttribute(attributeName, attributeName);
-       }
-
        public void addAttribute(String attributeName, String attributeValue) {
                attributes.put(attributeName, attributeValue);
        }


Reply via email to