This commit is contained in:
wumpz
2017-04-03 16:58:17 +02:00
parent 299932c41e
commit 4b1c9d919e
4 changed files with 3 additions and 4 deletions

View File

@@ -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;

View File

@@ -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<>();

View File

@@ -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;

View File

@@ -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;