Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikas Chandra2020-03-02 04:47:00 +0000
committerKalyan Prasad Tatavarthi2022-02-22 06:26:52 +0000
commitdb1d377b4869d60dd8af299d3a04901684c91a98 (patch)
tree08835f8c45d59c185671effa979bbc1330698f3d
parent45f56d004b13360cd3639941a75cbae8e0c4e166 (diff)
downloadeclipse.jdt.ui-db1d377b4869d60dd8af299d3a04901684c91a98.tar.gz
eclipse.jdt.ui-db1d377b4869d60dd8af299d3a04901684c91a98.tar.xz
eclipse.jdt.ui-db1d377b4869d60dd8af299d3a04901684c91a98.zip
WIP - Bug 560673 - Import JDT UI as source gives compilation error
Change-Id: Ibb0f2359a65e11cd622efbef1c5215be7f24535f Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com> Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/158643 Tested-by: JDT Bot <jdt-bot@eclipse.org> Reviewed-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
-rw-r--r--org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/JavaMethodParameterCodeMining.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/JavaMethodParameterCodeMining.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/JavaMethodParameterCodeMining.java
index c92907cb44..d4be295ce0 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/JavaMethodParameterCodeMining.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/JavaMethodParameterCodeMining.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2018 Angelo Zerr and others.
+ * Copyright (c) 2018, 2020 Angelo Zerr and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -31,7 +31,7 @@ public class JavaMethodParameterCodeMining extends LineContentCodeMining {
try {
text.append(method.getParameterNames()[parameterIndex]);
if (isVarargs && parameterIndex == method.getParameterNames().length - 1) {
- text.append('…');
+ text.append("…"); //$NON-NLS-1$
}
text.append(": "); //$NON-NLS-1$
setLabel(text.toString());

Back to the top