Package org.gitective.core.filter.commit

Examples of org.gitective.core.filter.commit.ParentCountFilter.clone()


    ParentCountFilter parents = new ParentCountFilter(1);
    service.setFilter(new AndCommitFilter(parents, commits));
    service.find();
    assertEquals(commit2, commits.getCommits().get(0));

    RevFilter clone = parents.clone();
    assertNotNull(clone);
    assertNotSame(parents, clone);

    commits = new CommitListFilter();
    service.setFilter(new AndCommitFilter(clone, commits));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.