summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/i18n
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/i18n')
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java2
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java6
2 files changed, 4 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java b/qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java
index 7c6194d80e2e..81777db051d5 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java
@@ -355,7 +355,7 @@ public class _XBreakIterator extends MultiMethodTest {
public void _beginOfSentence() {
int iPos = 0;
while( iPos < UnicodeString.length() ) {
- Integer start = new Integer( oObj.beginOfSentence(UnicodeString,
+ Integer start = Integer.valueOf( oObj.beginOfSentence(UnicodeString,
iPos, locale) );
if (start.intValue() >= 0 && !vSentenceStart.contains(start) ) {
vSentenceStart.add( start );
diff --git a/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java b/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java
index 2664c0422241..afb317ed738c 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java
@@ -55,7 +55,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
for (int i = 0; i < locales.length; i++) {
String[] algNames = oObj.getAlgorithmList(locales[i]);
- algorithms.put(new Integer(i), algNames);
+ algorithms.put(Integer.valueOf(i), algNames);
locResult = algNames != null && algNames.length > 0;
System.out.println("Locale " + i + ": " + locales[i].Country+","+locales[i].Language);
@@ -83,7 +83,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
log.println("Language: " + locales[i].Language);
for (int j = 0; j < algorithms.size(); j++) {
- String[] algs = algorithms.get(new Integer(j));
+ String[] algs = algorithms.get(Integer.valueOf(j));
for (int k=0;k<algs.length;k++) {
log.println("\t Algorythm :" +
algs[k]);
@@ -145,7 +145,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
boolean res = true;
for (int i = 0; i < algorithms.size(); i++) {
- String[] names = algorithms.get(new Integer(i));
+ String[] names = algorithms.get(Integer.valueOf(i));
log.println("loading algorithms for " + locales[i].Country +
"," + locales[i].Language);