mirror of
https://github.com/java-diff-utils/java-diff-utils.git
synced 2026-03-13 10:11:17 +08:00
This commit is contained in:
@@ -75,9 +75,7 @@ public final class MyersDiff<T> implements DiffAlgorithm<T> {
|
||||
* @param equalizer Must not be {@code null}.
|
||||
*/
|
||||
public MyersDiff(final Equalizer<T> equalizer) {
|
||||
if (equalizer == null) {
|
||||
throw new IllegalArgumentException("equalizer must not be null");
|
||||
}
|
||||
Objects.requireNonNull(equalizer, "equalizer must not be null");
|
||||
this.equalizer = equalizer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user