/** {@inheritDoc} */ @Override public void recoverRunningVersion(TestElement owner) { if (savedValue != null) { value = savedValue; } value.recoverRunningVersion(); }
private void recoverRunningVersion(List<?> list) { @SuppressWarnings("unchecked") // All implementations extend TestElement List<TestElement> telist = (List<TestElement>) list; for (TestElement te : telist) { te.recoverRunningVersion(); } }