diff options
author | Fabio Ponciroli <ponch78@gmail.com> | 2022-03-10 19:58:14 +0100 |
---|---|---|
committer | Thomas Wolf <thomas.wolf@paranor.ch> | 2022-04-01 17:41:56 -0400 |
commit | 47a16f5f22f50c851f32e25d3e3ac4e3e47b98b8 (patch) | |
tree | a36a043fe0956475abe656eeeab8d4ec21f27d04 /org.eclipse.jgit | |
parent | cc8b2e627b628a50fbb65dee52ed949f87571865 (diff) | |
download | jgit-47a16f5f22f50c851f32e25d3e3ac4e3e47b98b8.tar.gz jgit-47a16f5f22f50c851f32e25d3e3ac4e3e47b98b8.zip |
RewriteGenerator: Suppress ReferenceEquality Warnings
Errorprone raises the following warning:
"[ReferenceEquality] Comparison using reference equality
instead of value equality"
Change-Id: Idfe3f044730019fb49dccee25a0563c6fc01fc6a
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RewriteGenerator.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RewriteGenerator.java b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RewriteGenerator.java index a928c2e79b..4565a4b5de 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RewriteGenerator.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RewriteGenerator.java @@ -58,6 +58,7 @@ class RewriteGenerator extends Generator { return source.outputType() & ~NEEDS_REWRITE; } + @SuppressWarnings("ReferenceEquality") @Override RevCommit next() throws MissingObjectException, IncorrectObjectTypeException, IOException { |