org.eclipse.jgit.diff.HistogramDiff is used as
diff algorithm.
| Modifier and Type | Field and Description |
|---|---|
| private final DiffAlgorithm | |
| private static final Edit | |
| private ContentMergeStrategy |
| Access | Constructor and Description |
|---|---|
| public | MergeAlgorithm()
Creates a new MergeAlgorithm which uses
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ContentMergeStrategy | Returns: theContentMergeStrategy in effectRetrieves the |
| private static boolean | |
| public < type of the sequences S extends Sequence> MergeResult | Returns: the resulting contentcomparison method for this execution. cmp, S the common base sequence base, S the first sequence to be merged ours, S the second sequence to be merged theirs)Does the three way merge between a common base and two sequences. |
| private static Edit | |
| public void |
| diffAlg | back to summary |
|---|---|
| private final DiffAlgorithm diffAlg | |
| END_EDIT | back to summary |
|---|---|
| private static final Edit END_EDIT | |
| strategy | back to summary |
|---|---|
| private ContentMergeStrategy strategy
| |
| MergeAlgorithm | back to summary |
|---|---|
| public MergeAlgorithm() Creates a new MergeAlgorithm which uses
| |
| MergeAlgorithm | back to summary |
|---|---|
| public MergeAlgorithm(DiffAlgorithm diff) Creates a new MergeAlgorithm
| |
| getContentMergeStrategy | back to summary |
|---|---|
| public ContentMergeStrategy getContentMergeStrategy() Retrieves the
| |
| isEndEdit | back to summary |
|---|---|
private static boolean isEndEdit(Edit edit)
| |
| merge | back to summary |
|---|---|
| public <S extends Sequence> MergeResult Does the three way merge between a common base and two sequences.
| |
| nextEdit | back to summary |
|---|---|
| private static Edit nextEdit(Iterator<Edit> it) Helper method which returns the next Edit for an Iterator over Edits. When there are no more edits left this method will return the constant END_EDIT. | |
| setContentMergeStrategy | back to summary |
|---|---|
| public void setContentMergeStrategy(ContentMergeStrategy strategy) Sets the
| |