[freenet-cvs] r14500 - trunk/freenet/src/freenet/support

sback at freenetproject.org sback at freenetproject.org
Tue Aug 7 06:46:18 UTC 2007


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);
 	}




More information about the cvs mailing list