Subversion Repository Public Repository

litesoft

Diff Revisions 609 vs 610 for /trunk/Java/GWT/Dev/src/org/litesoft/GWT/client/dev/ui/testplan/TestPlanActionClickCheckBox.java

Diff revisions: vs.
  @@ -66,13 +66,11 @@
66 66
67 67 protected WidgetSelector createWidgetSelector()
68 68 {
69 - return new WidgetSelector()
69 + return new NthWidgetSelector(mNth)
70 70 {
71 - private int mFound = -1;
72 -
73 71 public boolean isAcceptable( Widget pWidget )
74 72 {
75 - return (pWidget instanceof CheckBox) && ((mNth == null) || (++mFound == mNth));
73 + return foundNth(pWidget instanceof CheckBox);
76 74 }
77 75 };
78 76 }