Revision: 3645 Author: mikesamuel Date: Thu Aug 6 21:06:17 2009 Log: Fix bug in HTML.Attribute.getElementName() http://codereview.appspot.com/104058
I don't think this method is used, but it is clearly wrong. [email protected] http://code.google.com/p/google-caja/source/detail?r=3645 Modified: /trunk/src/com/google/caja/lang/html/HTML.java ======================================= --- /trunk/src/com/google/caja/lang/html/HTML.java Wed May 13 14:07:05 2009 +++ /trunk/src/com/google/caja/lang/html/HTML.java Thu Aug 6 21:06:17 2009 @@ -211,7 +211,7 @@ /** Gets the name of the element, or the special value "*". */ public Name getElementName() { - return attributeName_; + return elementName_; } /** Gets the type, e.g. URI. */
