diff options
author | Alexander Kurtakov | 2019-05-20 07:18:56 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2019-05-20 07:18:56 +0000 |
commit | be6d4a3df824aa30fd3a27d2b10dd3408f15b23b (patch) | |
tree | 04efaa396fbf866972ba1875065ec51883949d0c | |
parent | 17ffdb37b4576c52650e4188bd4d3ef3175c9e10 (diff) | |
download | eclipse.jdt.ui-be6d4a3df824aa30fd3a27d2b10dd3408f15b23b.tar.gz eclipse.jdt.ui-be6d4a3df824aa30fd3a27d2b10dd3408f15b23b.tar.xz eclipse.jdt.ui-be6d4a3df824aa30fd3a27d2b10dd3408f15b23b.zip |
Bug 544108 - [content assist] Bring Chain Completion To JDT (FromI20190520-0600
Recommenders)
Suppress the warning.
Change-Id: If1f84991c217dd08a33c436ac50b5bf2d54b079f
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r-- | org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/text/ChainFinder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/text/ChainFinder.java b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/text/ChainFinder.java index 6f5b6353f2..dfe76193b8 100644 --- a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/text/ChainFinder.java +++ b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/text/ChainFinder.java @@ -165,6 +165,7 @@ public class ChainFinder { private static LinkedList<ChainElement> cloneChainAndAppendEdge(final LinkedList<ChainElement> chain, final ChainElement newEdge) { + @SuppressWarnings("unchecked") final LinkedList<ChainElement> chainCopy= (LinkedList<ChainElement>) chain.clone(); chainCopy.add(newEdge); return chainCopy; |