Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2017-01-11 20:42:01 +0000
committerLars Vogel2017-01-11 20:42:01 +0000
commit1e5d8f21feb0e2fe7c1bdc264d01677edde4365b (patch)
tree41d904986cceee1564067b1d53f718a77f279c98 /org.eclipse.ui.editors.tests
parentf4fbf4ecf56758b9443f635bf187d4638a99e91e (diff)
downloadeclipse.platform.text-1e5d8f21feb0e2fe7c1bdc264d01677edde4365b.tar.gz
eclipse.platform.text-1e5d8f21feb0e2fe7c1bdc264d01677edde4365b.tar.xz
eclipse.platform.text-1e5d8f21feb0e2fe7c1bdc264d01677edde4365b.zip
Bug 510312 - Replace usage of new Integer(int) with Integer.valueOf() in
eclipse.platform.text plug-ins - Part 1 Change-Id: I8cd43f97a0e3d4ea32e11a2b3cf8898b6be3bc5c Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.ui.editors.tests')
-rw-r--r--org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/GotoLineTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/GotoLineTest.java b/org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/GotoLineTest.java
index 28fb433e282..f3d106a8207 100644
--- a/org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/GotoLineTest.java
+++ b/org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/GotoLineTest.java
@@ -98,7 +98,7 @@ public class GotoLineTest {
ITextEditor editor= (ITextEditor) part;
IAction action= editor.getAction(ITextEditorActionConstants.GOTO_LINE);
Accessor accessor= new Accessor(action, GotoLineAction.class);
- accessor.invoke("gotoLine", new Class[] {int.class}, new Integer[] {new Integer(line)});
+ accessor.invoke("gotoLine", new Class[] {int.class}, new Integer[] {Integer.valueOf(line)});
Control control= part.getAdapter(Control.class);
if (control instanceof StyledText) {
int caretLine= -1;

Back to the top