summaryrefslogtreecommitdiff
path: root/qadevOOo/tests
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-05 13:11:50 +0200
committerNoel Grandin <noel@peralex.com>2014-08-08 09:48:19 +0200
commit8f020a45fa69c9458844b8b621df2e0b15ec3d16 (patch)
treed428a990718d1c7f14ab22f058f74daf7ffebacc /qadevOOo/tests
parente5bc8b60ecfca09a2014ab7090659f3428c8efa0 (diff)
java: redundant assignment, variable can only be null
Change-Id: I91209c5c185cf097a1609244419d73d4757d7d18
Diffstat (limited to 'qadevOOo/tests')
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java3
-rw-r--r--qadevOOo/tests/java/mod/_cached/CachedDynamicResultSetStubFactory.java1
2 files changed, 0 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java b/qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java
index ae25433d1277..64997de99028 100644
--- a/qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java
+++ b/qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java
@@ -71,7 +71,6 @@ public class _XFramesSupplier extends MultiMethodTest {
for (int i = 0; i < frames.getCount(); i++) {
XFrame fr = null ;
try {
- fr = null;
try {
fr = (XFrame) AnyConverter.toObject(
new Type(XFrame.class),frames.getByIndex(i));
@@ -181,8 +180,6 @@ public class _XFramesSupplier extends MultiMethodTest {
}
} else if (frames.getCount() > 0) {
sFrame = active ;
- } else {
- sFrame = null;
}
oObj.setActiveFrame(sFrame) ;
diff --git a/qadevOOo/tests/java/mod/_cached/CachedDynamicResultSetStubFactory.java b/qadevOOo/tests/java/mod/_cached/CachedDynamicResultSetStubFactory.java
index c44e903a4e8f..baecaa3e8673 100644
--- a/qadevOOo/tests/java/mod/_cached/CachedDynamicResultSetStubFactory.java
+++ b/qadevOOo/tests/java/mod/_cached/CachedDynamicResultSetStubFactory.java
@@ -131,7 +131,6 @@ public class CachedDynamicResultSetStubFactory extends TestCase {
(OpenMode.ALL, 10000, null, new Property[] {prop},
new NumberedSortingInfo[0])) ;
- dynResSet = null;
try {
dynResSet = (XDynamicResultSet)
AnyConverter.toObject(new Type(XDynamicResultSet.class),