summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-03 15:20:36 +0200
committerNoel Grandin <noel@peralex.com>2013-05-06 11:45:58 +0200
commit8bebd29976f41cb8793804f3e0b22ef75c56d8dd (patch)
tree3a9b5803cd5b8cf2f7ddafbc41cd92bb369953a0 /qadevOOo
parent402c8f5f1efd053cc69556d63999955b3af4f41d (diff)
Java cleanup, remove unnecessary @SuppressWarnings annotations
Change-Id: Ib5df091fc4a6233b526c44ae42dbdbacb0bef7c6
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java1
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java1
-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
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XParameters.java1
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XRow.java1
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java1
-rw-r--r--qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java1
-rw-r--r--qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java1
10 files changed, 0 insertions, 10 deletions
diff --git a/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java
index 2ba20762d538..6ee8c0c611c9 100644
--- a/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java
@@ -62,7 +62,6 @@ public class _XFastPropertySet extends MultiMethodTest {
/**
* Retrieves relation.
*/
- @SuppressWarnings("unchecked")
protected void before() {
exclude = (Set<String>) tEnv.getObjRelation("XFastPropertySet.ExcludeProps") ;
if (exclude == null) {
diff --git a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
index 54fe4ea46b41..9b814658d620 100644
--- a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
@@ -76,7 +76,6 @@ public class _XMultiPropertySet extends MultiMethodTest {
/**
* Initializes some fields.
*/
- @SuppressWarnings("unchecked")
public void before() {
exclProps = (Set<String>) tEnv.getObjRelation("XMultiPropertySet.ExcludeProps");
if (exclProps == null) exclProps = new HashSet<String>(0);
diff --git a/qadevOOo/tests/java/ifc/io/_XDataInputStream.java b/qadevOOo/tests/java/ifc/io/_XDataInputStream.java
index e912334252eb..2671b4baf620 100644
--- a/qadevOOo/tests/java/ifc/io/_XDataInputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XDataInputStream.java
@@ -76,7 +76,6 @@ 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 c66c8bea3da5..90d049cbd05f 100644
--- a/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java
@@ -56,7 +56,6 @@ 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 9945437a6f7c..8e53c67def0b 100644
--- a/qadevOOo/tests/java/ifc/io/_XOutputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XOutputStream.java
@@ -56,7 +56,6 @@ public class _XOutputStream extends MultiMethodTest {
public void resetStreams();
}
- @SuppressWarnings("unchecked")
protected void before() {
checker = (StreamChecker)
tEnv.getObjRelation("XOutputStream.StreamChecker");
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XParameters.java b/qadevOOo/tests/java/ifc/sdbc/_XParameters.java
index fd3dd2bafcb2..e9d9774c0688 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XParameters.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XParameters.java
@@ -100,7 +100,6 @@ public class _XParameters extends MultiMethodTest {
/**
* Gets object relation
*/
- @SuppressWarnings("unchecked")
public void before() {
data = (List<Object>) tEnv.getObjRelation("XParameters.ParamValues") ;
if (data == null) {
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XRow.java b/qadevOOo/tests/java/ifc/sdbc/_XRow.java
index 8eca4027804a..b7d680ef1cca 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XRow.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XRow.java
@@ -100,7 +100,6 @@ public class _XRow extends MultiMethodTest {
/**
* Retrieves object relation first.
*/
- @SuppressWarnings("unchecked")
public void before() {
data = (List<Object>) tEnv.getObjRelation("CurrentRowData") ;
}
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java b/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java
index 0ae50bd300bc..53cd93d9fa5b 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java
@@ -99,7 +99,6 @@ public class _XRowUpdate extends MultiMethodTest {
/**
* Gets relations.
*/
- @SuppressWarnings("unchecked")
public void before() {
rowData = (List<Object>) tEnv.getObjRelation("CurrentRowData") ;
if (rowData == null) {
diff --git a/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java b/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java
index 3d81a16cecba..3ca7861c0db0 100644
--- a/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java
+++ b/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java
@@ -55,7 +55,6 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
Object[] selections = null;
Comparator<Object> ObjCompare = null;
- @SuppressWarnings("unchecked")
protected void before() {
selections = (Object[])tEnv.getObjRelation("Selections");
if (selections == null) {
diff --git a/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java b/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java
index 40f1b55c4a8d..37fce51db73d 100644
--- a/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java
+++ b/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java
@@ -53,7 +53,6 @@ public class _XSelectionSupplier extends MultiMethodTest {
Object[] selections = null;
Comparator<Object> ObjCompare = null;
- @SuppressWarnings("unchecked")
protected void before() {
selections = (Object[])tEnv.getObjRelation("Selections");
if (selections == null) {