You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2007/05/11 18:07:53 UTC
svn commit: r537219 -
/myfaces/tobago/trunk/sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TreeNodeRenderer.java
Author: lofwyr
Date: Fri May 11 09:07:52 2007
New Revision: 537219
URL: http://svn.apache.org/viewvc?view=rev&rev=537219
Log:
checkstyle
Modified:
myfaces/tobago/trunk/sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TreeNodeRenderer.java
Modified: myfaces/tobago/trunk/sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TreeNodeRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TreeNodeRenderer.java?view=diff&rev=537219&r1=537218&r2=537219
==============================================================================
--- myfaces/tobago/trunk/sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TreeNodeRenderer.java (original)
+++ myfaces/tobago/trunk/sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/TreeNodeRenderer.java Fri May 11 09:07:52 2007
@@ -252,9 +252,9 @@
writer.startElement(IMG, null);
writer.writeClassAttribute("tree-junction");
if (junction && !menuMode) {
- writer.writeAttribute("src", perpendicular, true);// xxx is escaping required?
+ writer.writeAttribute("src", perpendicular, true); // xxx is escaping required?
} else {
- writer.writeAttribute("src", blank, true);// xxx is escaping required?
+ writer.writeAttribute("src", blank, true); // xxx is escaping required?
}
writer.endElement(IMG);
}
@@ -283,9 +283,9 @@
);
String src = ResourceManagerUtil.getImageWithPath(facesContext, "image/" + gif);
- writer.writeAttribute("src", src, true);// xxx is escaping required
+ writer.writeAttribute("src", src, true); // xxx is escaping required
if (isFolder) {
- writer.writeAttribute("onclick", createOnclickForToggle(facesContext, treeId), true);// xxx is escaping required
+ writer.writeAttribute("onclick", createOnclickForToggle(facesContext, treeId), true); // xxx is escaping required
}
writer.writeAttribute("alt", "", false);
// } else if (( !this.hideRoot && depth >0 ) || (this.hideRoot && depth > 1)) {
@@ -311,9 +311,9 @@
: "new.gif";
String src = ResourceManagerUtil.getImageWithPath(facesContext, "image/" + gif);
- writer.writeAttribute("src", src, true);// xxx is escaping required
+ writer.writeAttribute("src", src, true); // xxx is escaping required
if (isFolder) {
- writer.writeAttribute("onclick", createOnclickForToggle(facesContext, treeId), true);// xxx is escaping required
+ writer.writeAttribute("onclick", createOnclickForToggle(facesContext, treeId), true); // xxx is escaping required
}
writer.writeAttribute("alt", "", false);
writer.endElement(IMG);
@@ -353,7 +353,7 @@
} else {
writer.startElement(A, null);
writer.writeAttribute(HtmlAttributes.HREF, helper.getHref(), true);
- writer.writeAttribute(HtmlAttributes.ONCLICK, helper.getOnclick(), true);// xxx is escaping required?
+ writer.writeAttribute(HtmlAttributes.ONCLICK, helper.getOnclick(), true); // xxx is escaping required?
writer.writeAttribute(HtmlAttributes.ONFOCUS, "storeMarker(this.parentNode, '" + treeId + "')", false);
}
if (marked) {