File D:\maven-qcr-plugin-testsunitaires\qcr4java\jenkins-master\target\site\qc\core\src\main\java\hudson\scm\EmptyChangeLogSet.java.html

1 package hudson.scm;
2
3 import hudson.model.AbstractBuild;
4
5 import java.util.Collections;
6 import java.util.Iterator;
7
8 /**
9 * {@link ChangeLogSet} that's empty.
10 *
11 * @author Kohsuke Kawaguchi
12 */
13 final class EmptyChangeLogSet extends ChangeLogSet<ChangeLogSet.Entry> {
14 /*package*/ EmptyChangeLogSet(AbstractBuild<?, ?> build) {
15 super(build);
16 }
17
18 @Override
19 public boolean isEmptySet() {
20 return true;
21 }
22
23 public Iterator<Entry> iterator() {
24 return Collections.<Entry>emptySet().iterator();
25 }
26 }
27