public @Nullable Change getSelectedChange(int @NotNull [] rows) {
    if (rows.length == 0) return null;

    int row = rows[0];
    VisiblePack visiblePack = getVisiblePack();
    List<Integer> parentRows;
    if (rows.length == 1) {
      if (VisiblePack.NO_GRAPH_INFORMATION.get(visiblePack, false) &&
          row + 1 < visiblePack.getVisibleGraph().getVisibleCommitCount()) {
        parentRows = Collections.singletonList(row + 1);
      }
      else {
        parentRows = visiblePack.getVisibleGraph().getRowInfo(row).getAdjacentRows(true);
      }
    }
    else {
      parentRows = Collections.singletonList(rows[rows.length - 1]);
    }
    return FileHistoryUtil.createChangeToParents(row, parentRows, visiblePack, myDiffHandler, myLogData);
  }
public @Nullable Change getSelectedChange(int @NotNull [] rows)