]> source.dussan.org Git - jgit.git/commitdiff
Hide warnings about field hiding in the MyersDiff code 50/29950/3
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 15 Jul 2014 09:36:01 +0000 (11:36 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 4 Sep 2014 09:35:18 +0000 (11:35 +0200)
Just suppress warning in this stable code rather then fixing names

Change-Id: I07580aa3cbdaa66852a5c919769bbd9020d78703

org.eclipse.jgit/src/org/eclipse/jgit/diff/MyersDiff.java

index a415ad3ab04448d7ecb587574fe0fc5864238520..71247eb6a181bb87e6b6a22b86c3ef8020bf105a 100644 (file)
@@ -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() {