litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/forms/client/nonpublic/FormActionAdapter.java
|
@@ -1,8 +1,7 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
2 |
|
package org.litesoft.GWT.forms.client.nonpublic; |
3 |
3 |
|
|
4 |
|
- |
public interface FormActionAdapter extends FormComponentAdapter |
5 |
|
- |
{ |
|
4 |
+ |
public interface FormActionAdapter extends FormComponentAdapter { |
6 |
5 |
|
public static final FormActionAdapter[] EMPTY_ARRAY = new FormActionAdapter[0]; |
7 |
6 |
|
|
8 |
7 |
|
String getActionID(); |
|
@@ -11,14 +10,11 @@ |
11 |
10 |
|
|
12 |
11 |
|
Boolean getInputErrorStateEnablement(); |
13 |
12 |
|
|
14 |
|
- |
public class Helper |
15 |
|
- |
{ |
16 |
|
- |
public static FormActionAdapter[] append( FormActionAdapter[] pOrig, FormActionAdapter pNew ) |
17 |
|
- |
{ |
|
13 |
+ |
public class Helper { |
|
14 |
+ |
public static FormActionAdapter[] append( FormActionAdapter[] pOrig, FormActionAdapter pNew ) { |
18 |
15 |
|
FormActionAdapter[] newArray = new FormActionAdapter[pOrig.length + 1]; |
19 |
16 |
|
int i = 0; |
20 |
|
- |
for ( ; i < pOrig.length; i++ ) |
21 |
|
- |
{ |
|
17 |
+ |
for (; i < pOrig.length; i++ ) { |
22 |
18 |
|
newArray[i] = pOrig[i]; |
23 |
19 |
|
} |
24 |
20 |
|
newArray[i] = pNew; |