File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed
src/main/java/difflib/algorithm/myers Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change 3535 */
3636public final class MyersDiff <T > implements DiffAlgorithm <T > {
3737
38- /**
39- * Default equalizer.
40- */
4138 private final BiPredicate <T ,T > DEFAULT_EQUALIZER = Object ::equals ;
42-
43- /**
44- * The equalizer.
45- */
4639 private final BiPredicate <T ,T > equalizer ;
4740
48- /**
49- * Constructs an instance of the Myers differencing algorithm.
50- */
41+
5142 public MyersDiff () {
5243 equalizer = DEFAULT_EQUALIZER ;
5344 }
5445
55- /**
56- * Constructs an instance of the Myers differencing algorithm.
57- *
58- * @param equalizer Must not be {@code null}.
59- */
46+
6047 public MyersDiff (final BiPredicate <T ,T > equalizer ) {
6148 Objects .requireNonNull (equalizer , "equalizer must not be null" );
6249 this .equalizer = equalizer ;
You can’t perform that action at this time.
0 commit comments