mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
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:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user