java/code/src/com/redhat/rhn/frontend/action/systems/SystemListHelper.java | 18
+++++-----
1 file changed, 9 insertions(+), 9 deletions(-)
New commits:
commit dce9669748d758730d1abc2c4fdd19c7439742f1
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Feb 25 15:12:16 2011 +0100
Fixing checkstyle issues.
Addressing
Class LocalVariableNameCheck
Detail Name 'locked_url' must match pattern '^[a-z][a-zA-Z0-9]*$'.
Class LocalVariableNameCheck
Detail Name 'locked_img' must match pattern '^[a-z][a-zA-Z0-9]*$'.
diff --git a/java/code/src/com/redhat/rhn/frontend/action/systems/SystemListHelper.java
b/java/code/src/com/redhat/rhn/frontend/action/systems/SystemListHelper.java
index 4f97e8e..6023842 100644
--- a/java/code/src/com/redhat/rhn/frontend/action/systems/SystemListHelper.java
+++ b/java/code/src/com/redhat/rhn/frontend/action/systems/SystemListHelper.java
@@ -159,22 +159,22 @@ public class SystemListHelper {
}
if (next.getLocked().intValue() == 1) {
- HtmlTag locked_url = new HtmlTag("a");
- HtmlTag locked_img = new HtmlTag("img");
+ HtmlTag lockedUrl = new HtmlTag("a");
+ HtmlTag lockedImg = new HtmlTag("img");
//status = "locked";
- locked_url.setAttribute("href",
+ lockedUrl.setAttribute("href",
"/rhn/help/reference/en-US/s1-sm-systems.jsp");
message = ls.getMessage("systemlist.jsp.locked");
- locked_img.setAttribute("src", "/img/icon_locked.gif");
- locked_img.setAttribute("alt", message);
- locked_img.setAttribute("title", message);
+ lockedImg.setAttribute("src", "/img/icon_locked.gif");
+ lockedImg.setAttribute("alt", message);
+ lockedImg.setAttribute("title", message);
if (makeLinks) {
- locked_url.addBody(locked_img);
- statusDisplay = statusDisplay + locked_url.render();
+ lockedUrl.addBody(lockedImg);
+ statusDisplay = statusDisplay + lockedUrl.render();
}
else {
- statusDisplay = statusDisplay + locked_img.render();
+ statusDisplay = statusDisplay + lockedImg.render();
}
}
Show replies by thread