litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/ui/inspection/NthWidgetSelector.java
|
@@ -1,19 +1,15 @@ |
1 |
1 |
|
package org.litesoft.GWT.client.ui.inspection; |
2 |
2 |
|
|
3 |
|
- |
public abstract class NthWidgetSelector implements WidgetSelector |
4 |
|
- |
{ |
|
3 |
+ |
public abstract class NthWidgetSelector implements WidgetSelector { |
5 |
4 |
|
private Integer mNth; |
6 |
5 |
|
private int mFound = -1; |
7 |
6 |
|
|
8 |
|
- |
protected NthWidgetSelector( Integer pNth ) |
9 |
|
- |
{ |
|
7 |
+ |
protected NthWidgetSelector( Integer pNth ) { |
10 |
8 |
|
mNth = pNth; |
11 |
9 |
|
} |
12 |
10 |
|
|
13 |
|
- |
protected boolean foundNth( boolean pAcceptable ) |
14 |
|
- |
{ |
15 |
|
- |
if ( !pAcceptable ) |
16 |
|
- |
{ |
|
11 |
+ |
protected boolean foundNth( boolean pAcceptable ) { |
|
12 |
+ |
if ( !pAcceptable ) { |
17 |
13 |
|
return false; |
18 |
14 |
|
} |
19 |
15 |
|
mFound++; |