summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2014-07-15 11:36:01 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2014-09-04 11:35:18 +0200
commit4c6857d1ec508c8fef3ac7878ed363c57cbda1da (patch)
tree9a17d57621be43f26dbd0122d19626f85e4f198e
parent409c32b1cff86967ff28dbc57ce1a8a6a3142216 (diff)
downloadjgit-4c6857d1ec508c8fef3ac7878ed363c57cbda1da.tar.gz
jgit-4c6857d1ec508c8fef3ac7878ed363c57cbda1da.zip
Hide warnings about field hiding in the MyersDiff code
Just suppress warning in this stable code rather then fixing names Change-Id: I07580aa3cbdaa66852a5c919769bbd9020d78703
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/diff/MyersDiff.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/diff/MyersDiff.java b/org.eclipse.jgit/src/org/eclipse/jgit/diff/MyersDiff.java
index a415ad3ab0..71247eb6a1 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/diff/MyersDiff.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/diff/MyersDiff.java
@@ -109,6 +109,7 @@ import org.eclipse.jgit.util.LongList;
* @param <S>
* type of sequence.
*/
+@SuppressWarnings("hiding")
public class MyersDiff<S extends Sequence> {
/** Singleton instance of MyersDiff. */
public static final DiffAlgorithm INSTANCE = new LowLevelDiffAlgorithm() {