Examples of changes()


Examples of org.apache.pig.impl.plan.ProjectionMap.changes()

        assertTrue(cogroupAddedFields.get(1) == 2);
       
        //check that the foreach projection map has null mappedFields
        LOForEach foreach = (LOForEach)lp.getLeaves().get(0);
        ProjectionMap foreachProjectionMap = foreach.getProjectionMap();
        assertTrue(foreachProjectionMap.changes() == true);
       
        MultiMap<Integer, ProjectionMap.Column> foreachMapFields = foreachProjectionMap.getMappedFields();
        assertTrue(foreachMapFields != null);
       
        mapValues = (ArrayList<ProjectionMap.Column>)foreachMapFields.get(0);
View Full Code Here

Examples of org.jboss.dna.graph.request.ChangeRequest.changes()

                // Remove all of the enqueued requests for this branch ...
                for (Iterator<Request> iter = this.requests.iterator(); iter.hasNext();) {
                    Request request = iter.next();
                    assert request instanceof ChangeRequest;
                    ChangeRequest change = (ChangeRequest)request;
                    if (change.changes(workspaceName, node.getPath())) {
                        iter.remove();
                    }
                }
            }
        }
View Full Code Here

Examples of org.sonar.api.issue.internal.DefaultIssue.changes()

    IssueTrackingResult trackingResult = mock(IssueTrackingResult.class);
    when(trackingResult.matched()).thenReturn(newArrayList(issue));
    when(trackingResult.matching(eq(issue))).thenReturn(previousIssue);
    decorator.mergeMatched(trackingResult);

    assertThat(issue.changes()).hasSize(1);
  }

}
View Full Code Here

Examples of org.sonar.server.issue.IssueChangelog.changes()

      .value(i18n.message(UserSession.get().locale(), "created", null))
      .endArray()
      .endObject();

    IssueChangelog changelog = issueChangelogService.changelog(issue);
    for (FieldDiffs diffs : changelog.changes()) {
      User user = changelog.user(diffs);
      json
        .beginObject()
        .prop("userName", user != null ? user.name() : null)
        .prop("creationDate", DateUtils.formatDateTime(diffs.creationDate()))
View Full Code Here

Examples of org.tmatesoft.hg.repo.HgBundle.changes()

    +Changeset {User: ..., Comment: Integer ....}
    +Changeset {User: ..., Comment: Approach with ...}
    -Changeset {User: ..., Comment: Correct project name...}
    -Changeset {User: ..., Comment: Record possible...}
    */
    hgBundle.changes(hgRepo, new HgChangelog.Inspector() {
      private final HgChangelog changelog = hgRepo.getChangelog();
     
      public void next(int revisionNumber, Nodeid nodeid, RawChangeset cset) throws HgRuntimeException {
        if (changelog.isKnown(nodeid)) {
          System.out.print("+");
View Full Code Here

Examples of org.tmatesoft.hg.repo.HgBundle.changes()

    try {
      final List<Nodeid> common = getCommon();
      HgBundle changegroup = remoteRepo.getChanges(common);
      final ChangesetTransformer transformer = new ChangesetTransformer(localRepo, handler, getParentHelper(), ps, getCancelSupport(handler, true));
      transformer.limitBranches(branches);
      changegroup.changes(localRepo, new HgChangelog.Inspector() {
        private int localIndex;
        private final HgParentChildMap<HgChangelog> parentHelper;
     
        {
          parentHelper = getParentHelper();
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.