Skip to content

Commit 3a27973

Browse files
committed
Delete more commented out code. No logical changes
1 parent 596c1c7 commit 3a27973

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

java/server/src/org/openqa/selenium/server/htmlrunner/ReflectivelyDiscoveredSteps.java

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -236,44 +236,6 @@ public boolean until() {
236236
}
237237
return NextStepDecorator.IDENTITY;
238238
});
239-
240-
241-
// factories.put(
242-
// "waitFor" + shortName,
243-
// (loc, val) -> (selenium, state) -> {
244-
// String locator = state.expand(loc);
245-
// String value = state.expand(val);
246-
//
247-
// String[] args = buildArgs(method, locator, value);
248-
//
249-
// new Wait() {
250-
// @Override
251-
// public boolean until() {
252-
// invokeMethod(method, selenium, buildArgs(method, state.expand(loc), state.expand(val)));
253-
// return true;
254-
// }
255-
// }.wait("Can't wait for " + shortName);
256-
// return NextStepDecorator.IDENTITY;
257-
// });
258-
//
259-
// factories.put(
260-
// "waitFor" + negateName(shortName),
261-
// (loc, val) -> (selenium, state) -> {
262-
// String locator = state.expand(loc);
263-
// String value = state.expand(val);
264-
// try {
265-
// new Wait() {
266-
// @Override
267-
// public boolean until() {
268-
// invokeMethod(method, selenium, buildArgs(method, locator, value));
269-
// return true;
270-
// }
271-
// }.wait("Can't wait for " + shortName);
272-
// return NextStepDecorator.ASSERTION_FAILED("Wait succeeded but should have failed");
273-
// } catch (Wait.WaitTimedOutException e) {
274-
// return NextStepDecorator.IDENTITY;
275-
// }
276-
// });
277239
}
278240

279241
factories.put(

0 commit comments

Comments
 (0)