diff options
author | Fabio Ponciroli <ponch78@gmail.com> | 2022-03-11 10:03:30 +0100 |
---|---|---|
committer | Thomas Wolf <thomas.wolf@paranor.ch> | 2022-04-01 17:27:42 -0400 |
commit | cc8b2e627b628a50fbb65dee52ed949f87571865 (patch) | |
tree | 2ebe10073553c82994efb5b1793d2351a1994110 /org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommit.java | |
parent | f1362e857e96b4994c2ad54f7dd2c80a4f7de955 (diff) | |
download | jgit-cc8b2e627b628a50fbb65dee52ed949f87571865.tar.gz jgit-cc8b2e627b628a50fbb65dee52ed949f87571865.zip |
PlotCommit: Suppress ReferenceEquality Warnings
Errorprone raises the following warning:
"[ReferenceEquality] Comparison using reference equality
instead of value equality"
Change-Id: Ia0dc2df68c77e40ff509a2c39568abce92525ee9
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommit.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommit.java | 1 |
1 files changed, 1 insertions, 0 deletions
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 94e7c53adb..c11fca13d8 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 class PlotCommit<L extends PlotLane> extends RevCommit { * 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) |