summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_streams.uno/MarkableOutputStream.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-06-29 10:08:15 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-29 22:03:05 +0200
commitf9fa0dd66b830ff21c4a2dcd201151a4e9ca2de8 (patch)
tree1c1a421028cbef391af4f2886eac2677f75c5ee7 /qadevOOo/tests/java/mod/_streams.uno/MarkableOutputStream.java
parent531a052bdc1eff3d66fd17ec6f7e9f373cbd1404 (diff)
Java5 updates - update code to use generics
This is all of the code I missed in my first set of patches. Change-Id: I8c7c9e5ac28dc3c2f3ac062c806fbf0787c997bd
Diffstat (limited to 'qadevOOo/tests/java/mod/_streams.uno/MarkableOutputStream.java')
-rw-r--r--qadevOOo/tests/java/mod/_streams.uno/MarkableOutputStream.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_streams.uno/MarkableOutputStream.java b/qadevOOo/tests/java/mod/_streams.uno/MarkableOutputStream.java
index 98d1efcff355..dd3666207da0 100644
--- a/qadevOOo/tests/java/mod/_streams.uno/MarkableOutputStream.java
+++ b/qadevOOo/tests/java/mod/_streams.uno/MarkableOutputStream.java
@@ -26,7 +26,7 @@ import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XInterface;
import java.io.PrintWriter;
-import java.util.Vector;
+import java.util.ArrayList;
import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
@@ -127,7 +127,7 @@ public class MarkableOutputStream extends TestCase {
oObj = (XInterface) mostream;
// all data types for writing to an XDataInputStream
- Vector data = new Vector() ;
+ ArrayList<Object> data = new ArrayList<Object>() ;
data.add(new Boolean(true)) ;
data.add(new Byte((byte)123)) ;
data.add(new Character((char)1234)) ;