diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommit.java b/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommit.java index 94e7c53ad..c11fca13d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommit.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommit.java @@ -138,6 +138,7 @@ public final PlotCommit getChild(int nth) { * the commit to test. * @return true if the given commit built on top of this commit. */ + @SuppressWarnings("ReferenceEquality") public final boolean isChild(PlotCommit c) { for (PlotCommit a : children) if (a == c)