Author: amarkhel
Date: 2010-09-02 08:03:08 -0400 (Thu, 02 Sep 2010)
New Revision: 19092
Modified:
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/AutocompleteRendererBase.java
Log:
Fix checkstyle
Modified:
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/AutocompleteRendererBase.java
===================================================================
---
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/AutocompleteRendererBase.java 2010-09-02
11:50:39 UTC (rev 19091)
+++
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/AutocompleteRendererBase.java 2010-09-02
12:03:08 UTC (rev 19092)
@@ -91,14 +91,14 @@
utils.addToScriptHash(options, "onchange",
attributes.get("onchange"));
String mode = (String)attributes.get("mode");
if (mode != null) {
- if (mode.equals("ajax")){
- utils.addToScriptHash(options, "isCachedAjax", false,
"true");
- } else if (mode.equals("client") ||
mode.equals("lazyClient")) {
- utils.addToScriptHash(options, "ajaxMode", false,
"true");
- if (mode.equals("lazyClient")) {
- utils.addToScriptHash(options, "lazyClientMode", true,
"false");
- }
- }
+ if (mode.equals("ajax")){
+ utils.addToScriptHash(options, "isCachedAjax", false,
"true");
+ } else if (mode.equals("client") ||
mode.equals("lazyClient")) {
+ utils.addToScriptHash(options, "ajaxMode", false,
"true");
+ if (mode.equals("lazyClient")) {
+ utils.addToScriptHash(options, "lazyClientMode", true,
"false");
+ }
+ }
}
StringBuilder builder = new StringBuilder();
builder.append(ScriptUtils.toScript(options));
Show replies by date