added a clear method. Useful for testing

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14603 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-01-17 16:48:04 +00:00
1 parent 14e90ba0f7
commit 031541556f
1 file changed
+4
@@ -95,6 +95,10 @@ public class DescribableList<T extends Describable<T>, D extends Descriptor<T>>
}
}
public void clear() {
data.clear();
}
public Iterator<T> iterator() {
return data.iterator();
}