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.workbench.texteditor.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.workbench.texteditor.tests')
-rw-r--r--org.eclipse.ui.workbench.texteditor.tests/src/org/eclipse/ui/workbench/texteditor/tests/HippieCompletionTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.workbench.texteditor.tests/src/org/eclipse/ui/workbench/texteditor/tests/HippieCompletionTest.java b/org.eclipse.ui.workbench.texteditor.tests/src/org/eclipse/ui/workbench/texteditor/tests/HippieCompletionTest.java
index 5bd3e9ef3..7bce9329b 100644
--- a/org.eclipse.ui.workbench.texteditor.tests/src/org/eclipse/ui/workbench/texteditor/tests/HippieCompletionTest.java
+++ b/org.eclipse.ui.workbench.texteditor.tests/src/org/eclipse/ui/workbench/texteditor/tests/HippieCompletionTest.java
@@ -449,7 +449,7 @@ public class HippieCompletionTest {
private Accessor createAccessor(Iterator<String> suggestions, int startOffset) {
return new Accessor("org.eclipse.ui.texteditor.HippieCompleteAction$CompletionState",
getClass().getClassLoader(), new Class[] { Iterator.class, int.class }, new
- Object[] { suggestions, new Integer(startOffset) });
+ Object[] { suggestions, Integer.valueOf(startOffset) });
}
private String next(Accessor state) {

Back to the top