Author: nbelaevski
Date: 2011-01-20 04:01:13 -0500 (Thu, 20 Jan 2011)
New Revision: 21105
Modified:
trunk/core/api/src/main/java/org/ajax4jsf/javascript/JSChainJSFFunction.java
Log:
Fixed checkstyle violation in JSChainJSFFunction
Modified: trunk/core/api/src/main/java/org/ajax4jsf/javascript/JSChainJSFFunction.java
===================================================================
---
trunk/core/api/src/main/java/org/ajax4jsf/javascript/JSChainJSFFunction.java 2011-01-20
07:00:42 UTC (rev 21104)
+++
trunk/core/api/src/main/java/org/ajax4jsf/javascript/JSChainJSFFunction.java 2011-01-20
09:01:13 UTC (rev 21105)
@@ -28,6 +28,10 @@
*/
public class JSChainJSFFunction extends JSFunction {
+ public JSChainJSFFunction(Object... parameters) {
+ super("jsf.util.chain", (Object[]) createFunctionArgs(parameters));
+ }
+
private static Object[] createFunctionArgs(Object[] sourceParams) {
Object[] result = new Object[sourceParams.length + 2];
@@ -40,8 +44,4 @@
return result;
}
- public JSChainJSFFunction(Object... parameters) {
- super("jsf.util.chain", (Object[]) createFunctionArgs(parameters));
- }
-
}