diff --git a/README.md b/README.md index 57df06e..3b139f3 100644 --- a/README.md +++ b/README.md @@ -79,3 +79,9 @@ This library implements Myers' diff algorithm, but it is modular so it is easy t - add Guava to dependency - let user uses other string to represent line which does not exist - implement event based parser like SAX (in difflib.event package) + +### License + +The license of the library is Apache-2.0. +Until version 1.3.1, the license was Apache-1.1. +The files in the directory `java-diff-utils-lib/src/main/java/difflib/myers` are subject to LGPL-2.1. diff --git a/java-diff-utils-lib/src/main/java/difflib/myers/DiffNode.java b/java-diff-utils-lib/src/main/java/difflib/myers/DiffNode.java index a2fb071..477689a 100644 --- a/java-diff-utils-lib/src/main/java/difflib/myers/DiffNode.java +++ b/java-diff-utils-lib/src/main/java/difflib/myers/DiffNode.java @@ -34,8 +34,8 @@ public final class DiffNode extends PathNode { * will be followed using {@link PathNode#previousSnake} * until a non-diff node is found. * - * @param the position in the original sequence - * @param the position in the revised sequence + * @param i position in the original sequence + * @param j position in the revised sequence * @param prev the previous node in the path. */ public DiffNode(int i, int j, PathNode prev) { diff --git a/java-diff-utils-lib/src/main/java/difflib/myers/MyersDiff.java b/java-diff-utils-lib/src/main/java/difflib/myers/MyersDiff.java index 9cccc85..47f8b89 100644 --- a/java-diff-utils-lib/src/main/java/difflib/myers/MyersDiff.java +++ b/java-diff-utils-lib/src/main/java/difflib/myers/MyersDiff.java @@ -72,7 +72,7 @@ * http://www.cs.arizona.edu/people/gene/PAPERS/diff.ps
* * @author Juanco Anez - * @param T The type of the compared elements in the 'lines'. + * @param+
The {@link difflib.myers diff.myers} package implements Gene Myers' @@ -37,6 +15,11 @@ consumes considerably more memory than SimpleDiff, so its not suitable for very large files.
-@author Juanco Anez ++ @author Juanco Anez +
++ In an email on 2012-12-17, Juancarlo AƱez clearly stated that the license of the files in this directory is LGPL-2.1. +