summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/io
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/ifc/io
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/ifc/io')
-rw-r--r--qadevOOo/tests/java/ifc/io/_XDataInputStream.java1
-rw-r--r--qadevOOo/tests/java/ifc/io/_XDataOutputStream.java1
-rw-r--r--qadevOOo/tests/java/ifc/io/_XOutputStream.java1
3 files changed, 3 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/ifc/io/_XDataInputStream.java b/qadevOOo/tests/java/ifc/io/_XDataInputStream.java
index 2671b4baf620..e912334252eb 100644
--- a/qadevOOo/tests/java/ifc/io/_XDataInputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XDataInputStream.java
@@ -76,6 +76,7 @@ public class _XDataInputStream extends MultiMethodTest {
* data of different types and fills the appropriate variables.
* @throws StatusException If one of relations not found.
*/
+ @SuppressWarnings("unchecked")
public void before(){
XInterface x = (XInterface)tEnv.getObjRelation("StreamWriter") ;
diff --git a/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java b/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java
index 90d049cbd05f..c66c8bea3da5 100644
--- a/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java
@@ -56,6 +56,7 @@ public class _XDataOutputStream extends MultiMethodTest {
* If relation or data of some type in stream not found then
* tests of corresponding methods are skipped.
*/
+ @SuppressWarnings("unchecked")
public void before() throws RuntimeException {
List<Object> data = (List<Object>) tEnv.getObjRelation("StreamData") ;
diff --git a/qadevOOo/tests/java/ifc/io/_XOutputStream.java b/qadevOOo/tests/java/ifc/io/_XOutputStream.java
index 8e53c67def0b..9945437a6f7c 100644
--- a/qadevOOo/tests/java/ifc/io/_XOutputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XOutputStream.java
@@ -56,6 +56,7 @@ public class _XOutputStream extends MultiMethodTest {
public void resetStreams();
}
+ @SuppressWarnings("unchecked")
protected void before() {
checker = (StreamChecker)
tEnv.getObjRelation("XOutputStream.StreamChecker");