Skip to content

Commit 722e06f

Browse files
committed
1 parent ea849a9 commit 722e06f

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

src/main/java/difflib/algorithm/myers/MyersDiff.java

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,15 @@
3535
*/
3636
public 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;

0 commit comments

Comments
 (0)