diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-27 15:09:57 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-29 22:03:00 +0200 |
commit | 10dd7e74c551f3e252405ba0f80a2f143d9129e5 (patch) | |
tree | 1d0edc56a84a20c01248622cd8d8cb1dad0266ef /qadevOOo/tests/java/mod/_sw | |
parent | 6cab99d79c30eb9805a23fdd45168f6f4d8e94f3 (diff) |
Java5 update - convert Vector to ArrayList
Change-Id: I630b22da7fbfd2a1c821420d045146e5042c5c28
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw')
-rw-r--r-- | qadevOOo/tests/java/mod/_sw/SwXTextCursor.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextCursor.java b/qadevOOo/tests/java/mod/_sw/SwXTextCursor.java index 037a78f6c1f7..2053403a6e5d 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXTextCursor.java +++ b/qadevOOo/tests/java/mod/_sw/SwXTextCursor.java @@ -18,7 +18,7 @@ package mod._sw; import java.io.PrintWriter; -import java.util.Vector; +import java.util.ArrayList; import lib.StatusException; import lib.TestCase; @@ -292,7 +292,7 @@ public class SwXTextCursor extends TestCase { public String[] getPropertyNames(XPropertySet props) { Property[] the_props = props.getPropertySetInfo().getProperties(); - Vector names = new Vector(); + ArrayList names = new ArrayList(); for (int i = 0; i < the_props.length; i++) { boolean isWritable = ((the_props[i].Attributes & PropertyAttribute.READONLY) == 0); |