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:
@@ -35,7 +35,7 @@ import java.util.List;
|
||||
* @author <a href="dm.naumenko@gmail.com>Dmitry Naumenko</a>
|
||||
* @param T The type of the compared elements in the 'lines'.
|
||||
*/
|
||||
public class Chunk<T> {
|
||||
public final class Chunk<T> {
|
||||
|
||||
private final int position;
|
||||
private List<T> lines;
|
||||
|
||||
@@ -30,7 +30,7 @@ import java.util.ListIterator;
|
||||
* @author <a href="dm.naumenko@gmail.com">Dmitry Naumenko</a>
|
||||
* @param T The type of the compared elements in the 'lines'.
|
||||
*/
|
||||
public class Patch<T> {
|
||||
public final class Patch<T> {
|
||||
|
||||
private final List<Delta<T>> deltas = new LinkedList<>();
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ package difflib.text;
|
||||
*
|
||||
* @author <a href="dm.naumenko@gmail.com">Dmitry Naumenko</a>
|
||||
*/
|
||||
public class DiffRow {
|
||||
public final class DiffRow {
|
||||
|
||||
private Tag tag;
|
||||
private String oldLine;
|
||||
|
||||
@@ -19,7 +19,6 @@ limitations under the License.
|
||||
*/
|
||||
package difflib.text;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import static java.util.stream.Collectors.toList;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user