Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2017-01-11 15:42:09 -0500
committerLars Vogel2017-01-11 15:42:09 -0500
commitaed6bdd1b13c0cebea2a20b280911a70d0b226d5 (patch)
treea1759309732d3b4a918af9adfe0b9f1bf11daf4f /org.eclipse.text
parent1e5d8f21feb0e2fe7c1bdc264d01677edde4365b (diff)
downloadeclipse.platform.text-aed6bdd1b13c0cebea2a20b280911a70d0b226d5.tar.gz
eclipse.platform.text-aed6bdd1b13c0cebea2a20b280911a70d0b226d5.tar.xz
eclipse.platform.text-aed6bdd1b13c0cebea2a20b280911a70d0b226d5.zip
Bug 510312 - Replace usage of new Integer(int) with Integer.valueOf() in
eclipse.platform.text plug-ins - Part 2 Change-Id: I3d76285a2e3333114ba56b7cd0745d13440d5a44 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.text')
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateTranslator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateTranslator.java b/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateTranslator.java
index 0b74d8481..853d52c88 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateTranslator.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/templates/TemplateTranslator.java
@@ -266,7 +266,7 @@ public class TemplateTranslator {
} else {
varDesc.mergeType(type);
}
- varDesc.fOffsets.add(new Integer(offset));
+ varDesc.fOffsets.add(Integer.valueOf(offset));
}
/**

Back to the top