1
2
3
4
5
6
7
8
9
10
11 package org.eclipse.jgit.merge;
12
13 import org.eclipse.jgit.lib.Config;
14 import org.eclipse.jgit.lib.ObjectInserter;
15 import org.eclipse.jgit.lib.Repository;
16
17
18
19
20 public class StrategyResolve extends ThreeWayMergeStrategy {
21
22
23 @Override
24 public ThreeWayMerger newMerger(Repository db) {
25 return new ResolveMerger(db, false);
26 }
27
28
29 @Override
30 public ThreeWayMerger newMerger(Repository db, boolean inCore) {
31 return new ResolveMerger(db, inCore);
32 }
33
34
35 @Override
36 public ThreeWayMerger newMerger(ObjectInserter inserter, Config config) {
37 return new ResolveMerger(inserter, config);
38 }
39
40
41 @Override
42 public String getName() {
43 return "resolve";
44 }
45 }