diff options
author | Alexander Kurtakov | 2021-05-12 07:27:30 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2021-05-12 10:09:11 +0000 |
commit | 315dc5cec8610724a3135cfc7c3afa31fa62d839 (patch) | |
tree | 222f3697c8d212df9a34a43db066283d934938a5 | |
parent | 6d82873809809426a53839181e3daeacfb8289ac (diff) | |
download | eclipse.platform.text-315dc5cec8610724a3135cfc7c3afa31fa62d839.tar.gz eclipse.platform.text-315dc5cec8610724a3135cfc7c3afa31fa62d839.tar.xz eclipse.platform.text-315dc5cec8610724a3135cfc7c3afa31fa62d839.zip |
Remove redundant type declaration.
Change-Id: Ia06410f90fb16dedd6e65555ea8a6101870f9931
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/180513
Tested-by: Platform Bot <platform-bot@eclipse.org>
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r-- | org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/texteditor/quickdiff/DocumentLineDiffer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/texteditor/quickdiff/DocumentLineDiffer.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/texteditor/quickdiff/DocumentLineDiffer.java index dc8cdcc9d55..83187bfc92e 100644 --- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/texteditor/quickdiff/DocumentLineDiffer.java +++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/texteditor/quickdiff/DocumentLineDiffer.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2015 IBM Corporation and others. + * Copyright (c) 2000, 2021 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -1482,7 +1482,7 @@ public class DocumentLineDiffer implements ILineDiffer, IDocumentListener, IAnno copy= new ArrayList<>(differences); } final Iterator<QuickDiffRangeDifference> iter= copy.iterator(); - return new Iterator<Annotation>() { + return new Iterator<>() { @Override public void remove() { |