*/
public final class Bug107753_Test extends ComplexTestCase {
+ @Override
public String getTestObjectName() {
return getClass().getName();
}
+ @Override
public String[] getTestMethodNames() {
return new String[] { "test" };
}
@@ -54,6 +56,7 @@ public final class Bug107753_Test extends ComplexTestCase {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
boolean success = true;
XTransport transport = UnoRuntime.queryInterface(
diff --git a/bridges/test/java_remote/Bug108825_Test.java b/bridges/test/java_remote/Bug108825_Test.java
index 000270a80c85..e4343c55fcdb 100644
--- a/bridges/test/java_remote/Bug108825_Test.java
+++ b/bridges/test/java_remote/Bug108825_Test.java
@@ -37,10 +37,12 @@ import test.lib.TestBed;
* the code.
*/
public final class Bug108825_Test extends ComplexTestCase {
+ @Override
public String getTestObjectName() {
return getClass().getName();
}
+ @Override
public String[] getTestMethodNames() {
return new String[] { "test" };
}
@@ -55,6 +57,7 @@ public final class Bug108825_Test extends ComplexTestCase {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
XTest test = UnoRuntime.queryInterface(
XTest.class, getBridge(context).getInstance("Test"));
@@ -84,6 +87,7 @@ public final class Bug108825_Test extends ComplexTestCase {
}
private final class Dummy implements XDummy {
+ @Override
protected void finalize() {
synchronized (lock) {
++finalizedCount;
diff --git a/bridges/test/java_remote/Bug110892_Test.java b/bridges/test/java_remote/Bug110892_Test.java
index 3216ea96ef26..e43ea5a0830e 100644
--- a/bridges/test/java_remote/Bug110892_Test.java
+++ b/bridges/test/java_remote/Bug110892_Test.java
@@ -43,6 +43,7 @@ import test.lib.TestBed;
* has not garbage-collected the object by then.
*/
public final class Bug110892_Test extends ComplexTestCase {
+ @Override
public String[] getTestMethodNames() {
return new String[] { "test" };
}
@@ -58,6 +59,7 @@ public final class Bug110892_Test extends ComplexTestCase {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
XTest test = UnoRuntime.queryInterface(
XTest.class, getBridge(context).getInstance("Test"));
diff --git a/bridges/test/java_remote/Bug111153_Test.java b/bridges/test/java_remote/Bug111153_Test.java
index d8bfbfa02036..8fe8be0e7314 100644
--- a/bridges/test/java_remote/Bug111153_Test.java
+++ b/bridges/test/java_remote/Bug111153_Test.java
@@ -36,6 +36,7 @@ import test.lib.TestBed;
* short-cutting to the local object.
*/
public final class Bug111153_Test extends ComplexTestCase {
+ @Override
public String[] getTestMethodNames() {
return new String[] { "test" };
}
@@ -50,6 +51,7 @@ public final class Bug111153_Test extends ComplexTestCase {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
XTransport t = UnoRuntime.queryInterface(
XTransport.class, getBridge(context).getInstance("Transport"));
diff --git a/bridges/test/java_remote/Bug114133_Test.java b/bridges/test/java_remote/Bug114133_Test.java
index 01a34dc5cb29..84088839bef5 100644
--- a/bridges/test/java_remote/Bug114133_Test.java
+++ b/bridges/test/java_remote/Bug114133_Test.java
@@ -35,6 +35,7 @@ import test.lib.TestBed;
* a fresh, unterminated bridge.
*/
public final class Bug114133_Test extends ComplexTestCase {
+ @Override
public String[] getTestMethodNames() {
return new String[] { "test" };
}
@@ -50,6 +51,7 @@ public final class Bug114133_Test extends ComplexTestCase {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
new WaitUnreachable(getBridge(context).getInstance("Test")).
waitUnreachable();
diff --git a/bridges/test/java_remote/Bug51323_Test.java b/bridges/test/java_remote/Bug51323_Test.java
index bf177fdfc5ff..dc59be6c9551 100644
--- a/bridges/test/java_remote/Bug51323_Test.java
+++ b/bridges/test/java_remote/Bug51323_Test.java
@@ -36,6 +36,7 @@ import test.lib.TestBed;
* create different bridges.
*/
public final class Bug51323_Test extends ComplexTestCase {
+ @Override
public String[] getTestMethodNames() {
return new String[] { "test" };
}
@@ -51,6 +52,7 @@ public final class Bug51323_Test extends ComplexTestCase {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
XConnection connection =
Connector.create(context).connect(getConnectionDescription());
diff --git a/bridges/test/java_remote/Bug92174_Test.java b/bridges/test/java_remote/Bug92174_Test.java
index 2e26ce14cc99..5ddf4b323c52 100644
--- a/bridges/test/java_remote/Bug92174_Test.java
+++ b/bridges/test/java_remote/Bug92174_Test.java
@@ -28,6 +28,7 @@ import complexlib.ComplexTestCase;
import test.lib.TestBed;
public final class Bug92174_Test extends ComplexTestCase {
+ @Override
public String[] getTestMethodNames() {
return new String[] { "test" };
}
@@ -42,6 +43,7 @@ public final class Bug92174_Test extends ComplexTestCase {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
XTransport t = UnoRuntime.queryInterface(
XTransport.class, getBridge(context).getInstance("Transport"));
diff --git a/bridges/test/java_remote/Bug97697_Test.java b/bridges/test/java_remote/Bug97697_Test.java
index fc1173a5e189..233efe116ebf 100644
--- a/bridges/test/java_remote/Bug97697_Test.java
+++ b/bridges/test/java_remote/Bug97697_Test.java
@@ -41,10 +41,12 @@ import test.lib.TestBed;
* considers the process hanging if it has not completed by then.
*/
public final class Bug97697_Test extends ComplexTestCase {
+ @Override
public String getTestObjectName() {
return getClass().getName();
}
+ @Override
public String[] getTestMethodNames() {
return new String[] { "test" };
}
@@ -59,6 +61,7 @@ public final class Bug97697_Test extends ComplexTestCase {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
XTransport transport = UnoRuntime.queryInterface(
XTransport.class, getBridge(context).getInstance("Transport"));
diff --git a/bridges/test/java_remote/Bug98508_Test.java b/bridges/test/java_remote/Bug98508_Test.java
index b429a8cbb95e..ea0fa7c9a62b 100644
--- a/bridges/test/java_remote/Bug98508_Test.java
+++ b/bridges/test/java_remote/Bug98508_Test.java
@@ -44,10 +44,12 @@ import test.lib.TestBed;
* considers the process hanging if it has not completed by then.
*/
public final class Bug98508_Test extends ComplexTestCase {
+ @Override
public String getTestObjectName() {
return getClass().getName();
}
+ @Override
public String[] getTestMethodNames() {
return new String[] { "test" };
}
@@ -62,6 +64,7 @@ public final class Bug98508_Test extends ComplexTestCase {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
Test98508Interface ifc
= UnoRuntime.queryInterface(
@@ -83,6 +86,7 @@ public final class Bug98508_Test extends ComplexTestCase {
public Object getInstance(String instanceName) {
return new Test98508Interface() {
+ @Override
public Test98508Struct get() {
testBed.serverDone(true);
return new Test98508Struct(Boolean.FALSE);
diff --git a/bridges/test/java_remote/MethodIdTest.java b/bridges/test/java_remote/MethodIdTest.java
index 537cb66965f1..212fc3b7ecc8 100644
--- a/bridges/test/java_remote/MethodIdTest.java
+++ b/bridges/test/java_remote/MethodIdTest.java
@@ -36,6 +36,7 @@ import test.lib.TestBed;
* short-cutting to the local object.
*/
public final class MethodIdTest extends ComplexTestCase {
+ @Override
public String[] getTestMethodNames() {
return new String[] { "test" };
}
@@ -51,6 +52,7 @@ public final class MethodIdTest extends ComplexTestCase {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
XTest t = UnoRuntime.queryInterface(
XTest.class, getBridge(context).getInstance("Test"));
diff --git a/bridges/test/java_remote/PolyStructTest.java b/bridges/test/java_remote/PolyStructTest.java
index 146d14fea644..c0b2e9b22a44 100644
--- a/bridges/test/java_remote/PolyStructTest.java
+++ b/bridges/test/java_remote/PolyStructTest.java
@@ -27,6 +27,7 @@ import complexlib.ComplexTestCase;
import test.lib.TestBed;
public final class PolyStructTest extends ComplexTestCase {
+ @Override
public String[] getTestMethodNames() {
return new String[] { "test" };
}
@@ -42,6 +43,7 @@ public final class PolyStructTest extends ComplexTestCase {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
TestTransport t = UnoRuntime.queryInterface(
TestTransport.class, getBridge(context).getInstance(""));
diff --git a/bridges/test/java_remote/StopMessageDispatcherTest.java b/bridges/test/java_remote/StopMessageDispatcherTest.java
index d1c6a3654a8b..4d62fa297ccf 100644
--- a/bridges/test/java_remote/StopMessageDispatcherTest.java
+++ b/bridges/test/java_remote/StopMessageDispatcherTest.java
@@ -35,6 +35,7 @@ import test.lib.TestBed;
public final class StopMessageDispatcherTest extends ComplexTestCase {
public StopMessageDispatcherTest() {}
+ @Override
public String[] getTestMethodNames() {
return new String[] { "test" };
}
@@ -50,6 +51,7 @@ public final class StopMessageDispatcherTest extends ComplexTestCase {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
XTest test = UnoRuntime.queryInterface(
XTest.class, getBridge(context).getInstance("Test"));
diff --git a/bridges/test/java_uno/any/TestAny.java b/bridges/test/java_uno/any/TestAny.java
index 956c07c171bb..d77e866f64a6 100644
--- a/bridges/test/java_uno/any/TestAny.java
+++ b/bridges/test/java_uno/any/TestAny.java
@@ -2095,6 +2095,7 @@ final class TestAny {
this.unboxInner = unboxInner;
}
+ @Override
public boolean equal(Object o1, Object o2) {
if (o1 instanceof Any) {
return o2 instanceof Any
@@ -2141,6 +2142,7 @@ final class TestAny {
this.unboxInner = unboxInner;
}
+ @Override
public boolean equal(Object o1, Object o2) {
return new CompareBoxed(unboxInner).equal(((Any) o1).getObject(),
o2);
@@ -2154,6 +2156,7 @@ final class TestAny {
this.specific = specific;
}
+ @Override
public boolean equal(Object o1, Object o2) {
return new CompareBoxed().equal(specific, o2);
}
@@ -2166,6 +2169,7 @@ final class TestAny {
this.clazz = clazz;
}
+ @Override
public boolean equal(Object o1, Object o2) {
return o2 != null && o2.getClass() == clazz;
}
@@ -2182,24 +2186,28 @@ final class TestAny {
return new Enum1();
}
+ @Override
public boolean equals(Object obj) {
return obj != null && obj.getClass() == Enum1.class;
}
}
public static class Enum2 extends Enum1 {
+ @Override
public boolean equals(Object obj) {
return obj != null && obj.getClass() == Enum2.class;
}
}
public static class BaseStruct {
+ @Override
public boolean equals(Object obj) {
return obj != null && obj.getClass() == BaseStruct.class;
}
}
public static class DerivedStruct extends BaseStruct {
+ @Override
public boolean equals(Object obj) {
return obj != null && obj.getClass() == DerivedStruct.class;
}
@@ -2212,6 +2220,7 @@ final class TestAny {
super(message);
}
+ @Override
public boolean equals(Object obj) {
return obj != null && obj.getClass() == BaseException.class;
}
@@ -2224,6 +2233,7 @@ final class TestAny {
super(message);
}
+ @Override
public boolean equals(Object obj) {
return obj != null && obj.getClass() == DerivedException.class;
}
@@ -2238,6 +2248,7 @@ final class TestAny {
super(message);
}
+ @Override
public boolean equals(Object obj) {
return obj != null
&& obj.getClass() == BaseRuntimeException.class;
@@ -2252,6 +2263,7 @@ final class TestAny {
super(message);
}
+ @Override
public boolean equals(Object obj) {
return obj != null
&& obj.getClass() == DerivedRuntimeException.class;
diff --git a/bridges/test/java_uno/any/TestRemote.java b/bridges/test/java_uno/any/TestRemote.java
index 9dd2aaa28d3b..15226c37e295 100644
--- a/bridges/test/java_uno/any/TestRemote.java
+++ b/bridges/test/java_uno/any/TestRemote.java
@@ -39,6 +39,7 @@ public final class TestRemote {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
XTransport transport = UnoRuntime.queryInterface(
XTransport.class, getBridge(context).getInstance("Transport"));
diff --git a/bridges/test/java_uno/equals/TestEquals.java b/bridges/test/java_uno/equals/TestEquals.java
index 4775f2c9695a..5e6c49023c32 100644
--- a/bridges/test/java_uno/equals/TestEquals.java
+++ b/bridges/test/java_uno/equals/TestEquals.java
@@ -79,6 +79,7 @@ public final class TestEquals {
new Client().execute();
}
+ @Override
protected boolean run(XComponentContext context) throws Throwable {
XTestFrame f = UnoRuntime.queryInterface(
XTestFrame.class, getBridge(context).getInstance("TestFrame"));
@@ -146,6 +147,7 @@ public final class TestEquals {
final Object object2)
{
new Thread() {
+ @Override
public void run() {
try {
Object test1Aa = object1;
diff --git a/bridges/test/java_uno/nativethreadpool/Relay.java b/bridges/test/java_uno/nativethreadpool/Relay.java
index d15d0d4b8ef2..8e371b203957 100644
--- a/bridges/test/java_uno/nativethreadpool/Relay.java
+++ b/bridges/test/java_uno/nativethreadpool/Relay.java
@@ -58,6 +58,7 @@ public final class Relay implements XRelay, XSource {
throw new WrappedTargetRuntimeException(e.toString(), this, e);
}
new Thread() {
+ @Override
public void run() {
try {
// Use "127.0.0.1" instead of "localhost", see #i32281#:
diff --git a/bridges/test/lib/TestBed.java b/bridges/test/lib/TestBed.java
index 17eb4751c836..4f6bf13621d3 100644
--- a/bridges/test/lib/TestBed.java
+++ b/bridges/test/lib/TestBed.java
@@ -84,6 +84,7 @@ public final class TestBed {
private void pipe(final InputStream in, final PrintStream out,
final String prefix) {
new Thread("Pipe: " + prefix) {
+ @Override
public void run() {
BufferedReader r
= new BufferedReader(new InputStreamReader(in));
@@ -151,6 +152,7 @@ public final class TestBed {
this.provider = provider;
}
+ @Override
public void run() {
try {
XComponentContext context
diff --git a/chart2/qa/TestCaseOldAPI.java b/chart2/qa/TestCaseOldAPI.java
index cef8aa51b7f7..a640b87d8f48 100644
--- a/chart2/qa/TestCaseOldAPI.java
+++ b/chart2/qa/TestCaseOldAPI.java
@@ -54,6 +54,7 @@ public class TestCaseOldAPI extends ComplexTestCase {
* In this case it is the actual name of the service.
* @return The tested service.
*/
+ @Override
public String getTestObjectName() {
return testedServiceName;
}
@@ -64,6 +65,7 @@ public class TestCaseOldAPI extends ComplexTestCase {
* Return all test methods.
* @return The test methods.
*/
+ @Override
public String[] getTestMethodNames() {
// For some tests a view needs to be created. Accessing the model via
// this program and the view may lead to problems
diff --git a/cli_ure/qa/climaker/ClimakerTestCase.java b/cli_ure/qa/climaker/ClimakerTestCase.java
index 344433d65545..d04412054a97 100644
--- a/cli_ure/qa/climaker/ClimakerTestCase.java
+++ b/cli_ure/qa/climaker/ClimakerTestCase.java
@@ -23,6 +23,7 @@ import complexlib.ComplexTestCase;
public class ClimakerTestCase extends ComplexTestCase
{
+ @Override
public String[] getTestMethodNames()
{
// TODO think about trigger of sub-tests from outside
@@ -75,6 +76,7 @@ class Reader extends Thread
start();
}
+ @Override
public void run()
{
try
diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java
index 62e17e252a2c..c8e7d5d84b03 100644
--- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java
+++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java
@@ -34,26 +34,32 @@ public class NativeInputStreamHelper extends java.io.InputStream{
in = new StorageNativeInputStream(key,file);
}
+ @Override
public int read() throws java.io.IOException {
return in.read(key,file);
}
+ @Override
public int read(byte[] b, int off, int len) throws java.io.IOException {
return in.read(key,file,b,off,len);
}
+ @Override
public void close() throws java.io.IOException {
in.close(key,file);
}
+ @Override
public long skip(long n) throws java.io.IOException {
return in.skip(key,file,n);
}
+ @Override
public int available() throws java.io.IOException {
return in.available(key,file);
}
+ @Override
public int read(byte[] b) throws java.io.IOException {
return in.read(key,file,b);
}
diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java
index 922e7111355a..24776f25c2f4 100644
--- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java
+++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java
@@ -36,22 +36,27 @@ public class NativeOutputStreamHelper extends java.io.OutputStream{
out = new StorageNativeOutputStream(file,key);
}
+ @Override
public void write(byte[] b, int off, int len) throws java.io.IOException{
out.write(key,file,b, off, len);
}
+ @Override
public void write(byte[] b) throws java.io.IOException{
out.write(key,file,b);
}
+ @Override
public void close() throws java.io.IOException{
out.close(key,file);
}
+ @Override
public void write(int b) throws java.io.IOException{
out.write(key,file,b);
}
+ @Override
public void flush() throws java.io.IOException{
out.flush(key,file);
}
diff --git a/connectivity/qa/complex/connectivity/DBaseDriverTest.java b/connectivity/qa/complex/connectivity/DBaseDriverTest.java
index 096676e3b130..6afada84890c 100644
--- a/connectivity/qa/complex/connectivity/DBaseDriverTest.java
+++ b/connectivity/qa/complex/connectivity/DBaseDriverTest.java
@@ -27,6 +27,7 @@ import share.LogWriter;
public class DBaseDriverTest extends ComplexTestCase implements TestCase
{
+ @Override
public String[] getTestMethodNames()
{
return new String[]
diff --git a/connectivity/qa/complex/connectivity/HsqlDriverTest.java b/connectivity/qa/complex/connectivity/HsqlDriverTest.java
index 65115aa0c53d..a0ff160b1fb8 100644
--- a/connectivity/qa/complex/connectivity/HsqlDriverTest.java
+++ b/connectivity/qa/complex/connectivity/HsqlDriverTest.java
@@ -38,6 +38,7 @@ import connectivity.tools.HsqlDatabase;
public class HsqlDriverTest extends ComplexTestCase {
+ @Override
public String[] getTestMethodNames() {
return new String[] { "test" };
}
diff --git a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
index 6e2c214692e6..9b827529a4e2 100644
--- a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
+++ b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
@@ -35,6 +35,7 @@ import complexlib.ComplexTestCase;
public class JdbcLongVarCharTest extends ComplexTestCase
{
+ @Override
public String[] getTestMethodNames()
{
return new String[]
diff --git a/dbaccess/qa/complex/dbaccess/DatabaseDocument.java b/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
index faaad37a9842..0f7b435d4198 100644
--- a/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
+++ b/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
@@ -246,6 +246,7 @@ public class DatabaseDocument extends TestCase implements com.sun.star.document.
+ @Override
@Before
public void before() throws java.lang.Exception
{
@@ -274,6 +275,7 @@ public class DatabaseDocument extends TestCase implements com.sun.star.document.
}
+ @Override
@After
public void after() throws java.lang.Exception
{
diff --git a/extensions/qa/integration/extensions/ConsoleWait.java b/extensions/qa/integration/extensions/ConsoleWait.java
index d9eb5dcb2d17..b68290c83acd 100644
--- a/extensions/qa/integration/extensions/ConsoleWait.java
+++ b/extensions/qa/integration/extensions/ConsoleWait.java
@@ -44,6 +44,7 @@ public class ConsoleWait implements com.sun.star.lang.XEventListener
return m_done;
}
+ @Override
public void run()
{
try
diff --git a/extensions/qa/integration/extensions/ObjectInspector.java b/extensions/qa/integration/extensions/ObjectInspector.java
index bc35f19a389d..f0f1f3104215 100644
--- a/extensions/qa/integration/extensions/ObjectInspector.java
+++ b/extensions/qa/integration/extensions/ObjectInspector.java
@@ -42,6 +42,7 @@ public class ObjectInspector extends complexlib.ComplexTestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -50,6 +51,7 @@ public class ObjectInspector extends complexlib.ComplexTestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Test Skeleton";
diff --git a/extensions/qa/integration/extensions/TestSkeleton.java b/extensions/qa/integration/extensions/TestSkeleton.java
index 798a67612eb8..6d4ab7a3052a 100644
--- a/extensions/qa/integration/extensions/TestSkeleton.java
+++ b/extensions/qa/integration/extensions/TestSkeleton.java
@@ -30,6 +30,7 @@ public class TestSkeleton extends complexlib.ComplexTestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -38,6 +39,7 @@ public class TestSkeleton extends complexlib.ComplexTestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Test Skeleton";
diff --git a/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java b/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
index 02f50aedc300..57558c41d78e 100644
--- a/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
+++ b/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
@@ -186,6 +186,7 @@ public class TypeDetection extends ComplexTestCase {
* A function to tell the framework, which test functions are available.
* @return All test methods.
*/
+ @Override
public String[] getTestMethodNames() {
return new String[]{"checkByURLonly",
"checkPreselectedType",
diff --git a/forms/qa/integration/forms/CellBinding.java b/forms/qa/integration/forms/CellBinding.java
index 0f24220bfea6..fc9f14de9cb7 100644
--- a/forms/qa/integration/forms/CellBinding.java
+++ b/forms/qa/integration/forms/CellBinding.java
@@ -51,6 +51,7 @@ public class CellBinding extends complexlib.ComplexTestCase
{
}
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -64,6 +65,7 @@ public class CellBinding extends complexlib.ComplexTestCase
};
}
+ @Override
public String getTestObjectName()
{
return "Form Control Spreadsheet Cell Binding Test";
diff --git a/forms/qa/integration/forms/ControlValidation.java b/forms/qa/integration/forms/ControlValidation.java
index 733f4978ea16..6946307578ba 100644
--- a/forms/qa/integration/forms/ControlValidation.java
+++ b/forms/qa/integration/forms/ControlValidation.java
@@ -39,6 +39,7 @@ public class ControlValidation extends complexlib.ComplexTestCase implements com
{
}
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -46,6 +47,7 @@ public class ControlValidation extends complexlib.ComplexTestCase implements com
};
}
+ @Override
public String getTestObjectName()
{
return "Form Control Validation Test";
diff --git a/forms/qa/integration/forms/FormControlTest.java b/forms/qa/integration/forms/FormControlTest.java
index 0b826977a1bd..5c870689edf6 100644
--- a/forms/qa/integration/forms/FormControlTest.java
+++ b/forms/qa/integration/forms/FormControlTest.java
@@ -61,6 +61,7 @@ public class FormControlTest extends complexlib.ComplexTestCase implements XSQLE
private final String m_dataSourceName = "integration.forms.FormControlTest";
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -75,6 +76,7 @@ public class FormControlTest extends complexlib.ComplexTestCase implements XSQLE
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Database Form Controls Test";
diff --git a/forms/qa/integration/forms/FormPropertyBags.java b/forms/qa/integration/forms/FormPropertyBags.java
index 184fd35be2d5..8d6781b78aaa 100644
--- a/forms/qa/integration/forms/FormPropertyBags.java
+++ b/forms/qa/integration/forms/FormPropertyBags.java
@@ -50,6 +50,7 @@ public class FormPropertyBags extends complexlib.ComplexTestCase implements XPro
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -58,6 +59,7 @@ public class FormPropertyBags extends complexlib.ComplexTestCase implements XPro
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Form Component Property Bag Test";
diff --git a/forms/qa/integration/forms/ListBox.java b/forms/qa/integration/forms/ListBox.java
index aff906105cd8..8d3bcc7d5d0d 100644
--- a/forms/qa/integration/forms/ListBox.java
+++ b/forms/qa/integration/forms/ListBox.java
@@ -52,6 +52,7 @@ public class ListBox extends TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -112,6 +113,7 @@ public class ListBox extends TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public void before() throws Exception, java.lang.Exception
{
super.before();
@@ -119,6 +121,7 @@ public class ListBox extends TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/forms/qa/integration/forms/ListSelection.java b/forms/qa/integration/forms/ListSelection.java
index 64fef4894987..2529b08c31e9 100644
--- a/forms/qa/integration/forms/ListSelection.java
+++ b/forms/qa/integration/forms/ListSelection.java
@@ -45,6 +45,7 @@ public class ListSelection extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -53,6 +54,7 @@ public class ListSelection extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Form Control List Selection Test";
@@ -213,6 +215,7 @@ public class ListSelection extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/forms/qa/integration/forms/MasterDetailForms.java b/forms/qa/integration/forms/MasterDetailForms.java
index 6d8222a85e90..b45d60402419 100644
--- a/forms/qa/integration/forms/MasterDetailForms.java
+++ b/forms/qa/integration/forms/MasterDetailForms.java
@@ -65,6 +65,7 @@ public class MasterDetailForms extends complexlib.ComplexTestCase implements com
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -80,6 +81,7 @@ public class MasterDetailForms extends complexlib.ComplexTestCase implements com
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Form Control Spreadsheet Cell Binding Test";
diff --git a/forms/qa/integration/forms/RadioButtons.java b/forms/qa/integration/forms/RadioButtons.java
index bd915ad42627..0aff6e7bd870 100644
--- a/forms/qa/integration/forms/RadioButtons.java
+++ b/forms/qa/integration/forms/RadioButtons.java
@@ -42,6 +42,7 @@ public class RadioButtons extends complexlib.ComplexTestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -53,6 +54,7 @@ public class RadioButtons extends complexlib.ComplexTestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Form Radio Buttons Test";
diff --git a/forms/qa/integration/forms/TableCellTextBinding.java b/forms/qa/integration/forms/TableCellTextBinding.java
index 2fe0736bb929..5e28bc8ccba8 100644
--- a/forms/qa/integration/forms/TableCellTextBinding.java
+++ b/forms/qa/integration/forms/TableCellTextBinding.java
@@ -130,6 +130,7 @@ public class TableCellTextBinding
/** runs the thread
*/
+ @Override
public void run()
{
try
diff --git a/forms/qa/integration/forms/TestCase.java b/forms/qa/integration/forms/TestCase.java
index e3cf9d813237..c2c18d2889df 100644
--- a/forms/qa/integration/forms/TestCase.java
+++ b/forms/qa/integration/forms/TestCase.java
@@ -36,6 +36,7 @@ public abstract class TestCase extends complexlib.ComplexTestCase implements com
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return this.getClass().getName();
diff --git a/forms/qa/integration/forms/TestSkeleton.java b/forms/qa/integration/forms/TestSkeleton.java
index 4c8df12923f4..d0a9e0980ba1 100644
--- a/forms/qa/integration/forms/TestSkeleton.java
+++ b/forms/qa/integration/forms/TestSkeleton.java
@@ -28,6 +28,7 @@ public class TestSkeleton extends TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -36,6 +37,7 @@ public class TestSkeleton extends TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Test Skeleton";
@@ -47,18 +49,21 @@ public class TestSkeleton extends TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public void before() throws Exception, java.lang.Exception
{
super.before();
}
/* ------------------------------------------------------------------ */
+ @Override
public void after() throws Exception, java.lang.Exception
{
super.before();
}
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/forms/qa/integration/forms/ValueBinding.java b/forms/qa/integration/forms/ValueBinding.java
index 4df2c566068a..7f1a2104252b 100644
--- a/forms/qa/integration/forms/ValueBinding.java
+++ b/forms/qa/integration/forms/ValueBinding.java
@@ -43,6 +43,7 @@ public class ValueBinding extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -51,12 +52,14 @@ public class ValueBinding extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Form Control Value Binding Test";
}
/* ------------------------------------------------------------------ */
+ @Override
public void before() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.before();
@@ -64,6 +67,7 @@ public class ValueBinding extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public void after() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.waitForUserInput();
@@ -76,6 +80,7 @@ public class ValueBinding extends integration.forms.TestCase
}
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/forms/qa/integration/forms/WaitForInput.java b/forms/qa/integration/forms/WaitForInput.java
index 1559575b4093..4c56b6eda746 100644
--- a/forms/qa/integration/forms/WaitForInput.java
+++ b/forms/qa/integration/forms/WaitForInput.java
@@ -33,6 +33,7 @@ class WaitForInput extends java.lang.Thread
return m_bDone;
}
+ @Override
public void run()
{
try
diff --git a/forms/qa/integration/forms/XMLFormSettings.java b/forms/qa/integration/forms/XMLFormSettings.java
index 1d26ff2a5090..31ab48e0a790 100644
--- a/forms/qa/integration/forms/XMLFormSettings.java
+++ b/forms/qa/integration/forms/XMLFormSettings.java
@@ -52,6 +52,7 @@ public class XMLFormSettings extends complexlib.ComplexTestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String[] getTestMethodNames()
{
return new String[] {
@@ -60,6 +61,7 @@ public class XMLFormSettings extends complexlib.ComplexTestCase
}
/* ------------------------------------------------------------------ */
+ @Override
public String getTestObjectName()
{
return "Form Control Spreadsheet Cell Binding Test";
diff --git a/framework/qa/complex/XUserInputInterception/EventTest.java b/framework/qa/complex/XUserInputInterception/EventTest.java
index 3e5694d48a0e..b7e5fe304bfa 100644
--- a/framework/qa/complex/XUserInputInterception/EventTest.java
+++ b/framework/qa/complex/XUserInputInterception/EventTest.java
@@ -461,6 +461,7 @@ public class EventTest {
*
*
*/
+ @Override
public void run(){
switch (this.eventType){
diff --git a/framework/qa/complex/framework/autosave/AutoSave.java b/framework/qa/complex/framework/autosave/AutoSave.java
index 1125755ec45b..4ca6eda2a26b 100644
--- a/framework/qa/complex/framework/autosave/AutoSave.java
+++ b/framework/qa/complex/framework/autosave/AutoSave.java
@@ -361,6 +361,7 @@ public class AutoSave
DocThread()
{}
+ @Override
public void run()
{
impl_checkConcurrentAutoSaveToNormalUISave();
diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java
index 352621bf7df7..b1acaa46311e 100644
--- a/framework/qa/complex/framework/autosave/Protocol.java
+++ b/framework/qa/complex/framework/autosave/Protocol.java
@@ -183,6 +183,7 @@ public class Protocol extends JComponent
}
/** format this line as an ascii string for writing log files */
+ @Override
public synchronized String toString()
{
StringBuffer sLine = new StringBuffer(1000);
diff --git a/framework/qa/complex/framework/recovery/CrashThread.java b/framework/qa/complex/framework/recovery/CrashThread.java
index 0daf3bd1f2a5..56af134c039b 100644
--- a/framework/qa/complex/framework/recovery/CrashThread.java
+++ b/framework/qa/complex/framework/recovery/CrashThread.java
@@ -41,6 +41,7 @@ public class CrashThread extends Thread {
this.msf = msf;
}
+ @Override
public void run() {
try{
XModel xModel = UnoRuntime.queryInterface(XModel.class, xDoc);
diff --git a/framework/qa/complex/framework/recovery/KlickButtonThread.java b/framework/qa/complex/framework/recovery/KlickButtonThread.java
index 47eeef17819f..e5683efc6b6d 100644
--- a/framework/qa/complex/framework/recovery/KlickButtonThread.java
+++ b/framework/qa/complex/framework/recovery/KlickButtonThread.java
@@ -37,6 +37,7 @@ public class KlickButtonThread extends Thread {
this.buttonName = buttonName;
}
+ @Override
public void run() {
try{
UITools oUITools = new UITools(xMSF, xWindow);
diff --git a/framework/qa/complex/framework/recovery/RecoveryTest.java b/framework/qa/complex/framework/recovery/RecoveryTest.java
index 7a5d2acdec9f..07c9a51c7d9d 100644
--- a/framework/qa/complex/framework/recovery/RecoveryTest.java
+++ b/framework/qa/complex/framework/recovery/RecoveryTest.java
@@ -83,6 +83,7 @@ public class RecoveryTest extends ComplexTestCase {
* @todo: after a second start after the crash there should no documents recovered anymore
* @todo: enable remove of recovery files
*/
+ @Override
public String[] getTestMethodNames() {
return new String[]{"testCrash"};
}
diff --git a/framework/qa/complex/framework/recovery/TimeoutThread.java b/framework/qa/complex/framework/recovery/TimeoutThread.java
index d4b1af22274c..239e48e10bd0 100644
--- a/framework/qa/complex/framework/recovery/TimeoutThread.java
+++ b/framework/qa/complex/framework/recovery/TimeoutThread.java
@@ -25,6 +25,7 @@ public class TimeoutThread extends Thread{
this.timeOut = timeOut;
}
+ @Override
public void run(){
util.utils.shortWait(timeOut);
}
diff --git a/javaunohelper/com/sun/star/comp/helper/Bootstrap.java b/javaunohelper/com/sun/star/comp/helper/Bootstrap.java
index c11a415b386b..7b466b011c52 100644
--- a/javaunohelper/com/sun/star/comp/helper/Bootstrap.java
+++ b/javaunohelper/com/sun/star/comp/helper/Bootstrap.java
@@ -330,6 +330,7 @@ public class Bootstrap {
final InputStream in, final PrintStream out, final String prefix ) {
new Thread( "Pipe: " + prefix) {
+ @Override
public void run() {
BufferedReader r = new BufferedReader(
new InputStreamReader( in ) );
diff --git a/javaunohelper/com/sun/star/lib/uno/adapter/XInputStreamToInputStreamAdapter.java b/javaunohelper/com/sun/star/lib/uno/adapter/XInputStreamToInputStreamAdapter.java
index 80af78871797..56c84dc3b36c 100644
--- a/javaunohelper/com/sun/star/lib/uno/adapter/XInputStreamToInputStreamAdapter.java
+++ b/javaunohelper/com/sun/star/lib/uno/adapter/XInputStreamToInputStreamAdapter.java
@@ -45,6 +45,7 @@ public class XInputStreamToInputStreamAdapter extends InputStream {
xin = in;
}
+ @Override
public int available() throws IOException {
int bytesAvail;
@@ -58,6 +59,7 @@ public class XInputStreamToInputStreamAdapter extends InputStream {
return(bytesAvail);
}
+ @Override
public void close() throws IOException {
try {
xin.closeInput();
@@ -66,6 +68,7 @@ public class XInputStreamToInputStreamAdapter extends InputStream {
}
}
+ @Override
public int read () throws IOException {
byte [][] tmp = new byte [1][1];
try {
@@ -86,6 +89,7 @@ public class XInputStreamToInputStreamAdapter extends InputStream {
}
}
+ @Override
public int read (byte[] b) throws IOException {
byte [][] tmp = new byte [1][b.length];
@@ -107,6 +111,7 @@ public class XInputStreamToInputStreamAdapter extends InputStream {
return (bytesRead);
}
+ @Override
public int read(byte[] b, int off, int len) throws IOException {
byte [][] tmp = new byte [1][b.length];
try {
@@ -138,6 +143,7 @@ public class XInputStreamToInputStreamAdapter extends InputStream {
}
}
+ @Override
public long skip(long n) throws IOException {
int avail;
@@ -180,14 +186,17 @@ public class XInputStreamToInputStreamAdapter extends InputStream {
*
* @returns false
*/
+ @Override
public boolean markSupported() {
return false;
}
+ @Override
public void mark(int readlimit) {
// Not supported.
}
+ @Override
public void reset() throws IOException {
// Not supported.
}
diff --git a/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToOutputStreamAdapter.java b/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToOutputStreamAdapter.java
index c9b9701e6ca8..ecfee86d6003 100644
--- a/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToOutputStreamAdapter.java
+++ b/javaunohelper/com/sun/star/lib/uno/adapter/XOutputStreamToOutputStreamAdapter.java
@@ -46,6 +46,7 @@ public class XOutputStreamToOutputStreamAdapter extends OutputStream {
xout = out;
}
+ @Override
public void close() throws IOException {
try {
xout.closeOutput();
@@ -54,6 +55,7 @@ public class XOutputStreamToOutputStreamAdapter extends OutputStream {
}
}
+ @Override
public void flush() throws IOException {
try {
xout.flush();
@@ -62,6 +64,7 @@ public class XOutputStreamToOutputStreamAdapter extends OutputStream {
}
}
+ @Override
public void write(byte[] b) throws IOException {
try {
@@ -71,6 +74,7 @@ public class XOutputStreamToOutputStreamAdapter extends OutputStream {
}
}
+ @Override
public void write(byte[] b, int off, int len) throws IOException {
byte[] tmp = new byte[len];
@@ -86,6 +90,7 @@ public class XOutputStreamToOutputStreamAdapter extends OutputStream {
}
}
+ @Override
public void write(int b) throws IOException {
byte [] oneByte = new byte [1];
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/ComponentBase.java b/javaunohelper/com/sun/star/lib/uno/helper/ComponentBase.java
index 9423e039f3d7..0f222d7d3506 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/ComponentBase.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/ComponentBase.java
@@ -123,6 +123,7 @@ public class ComponentBase extends WeakBase implements XComponent
}
}
+ @Override
protected void finalize() throws Throwable
{
if ( ! bInDispose && ! bDisposed)
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
index 02b926539d6a..caf5cdc9b2f3 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
@@ -440,6 +440,7 @@ public class InterfaceContainer implements Cloneable
*
* @return a clone of this List instance.
*/
+ @Override
synchronized public Object clone()
{
Object ret= null;
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
index fb2c6e105e20..19d73e49e523 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
@@ -297,6 +297,7 @@ XMultiPropertySet
/** Makes sure that listeners which are kept in aBoundLC (XPropertyChangeListener) and aVetoableLC
* (XVetoableChangeListener) receive a disposing call. Also those listeners are relesased.
*/
+ @Override
protected void postDisposing()
{
// Create an event with this as sender
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java b/javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java
index 3ed65cdf30e0..8b89b492b1d2 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java
@@ -53,6 +53,7 @@ public class WeakBase implements XWeak, XTypeProvider
* then the garbage collector calls this method. Thereby causing the adapter object
* to be notified. The adapter, in turn, notifies all listeners (com.sun.star.uno.XReference)
*/
+ @Override
protected void finalize() throws java.lang.Throwable
{
if (m_adapter != null)
diff --git a/jurt/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory.java b/jurt/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory.java
index b24ebdf9c5c2..465769be3768 100644
--- a/jurt/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory.java
+++ b/jurt/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory.java
@@ -124,6 +124,7 @@ final class ProxyFactory {
}
}
+ @Override
protected void finalize() {
AsynchronousFinalizer.add(new AsynchronousFinalizer.Job() {
public void run() throws Throwable {
diff --git a/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionInputStream_Adapter.java b/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionInputStream_Adapter.java
index a189115b47ec..87b3ea19d1fc 100644
--- a/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionInputStream_Adapter.java
+++ b/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionInputStream_Adapter.java
@@ -39,6 +39,7 @@ class XConnectionInputStream_Adapter extends InputStream {
_xConnection = xConnection;
}
+ @Override
public int read() throws IOException {
int len;
diff --git a/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionOutputStream_Adapter.java b/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionOutputStream_Adapter.java
index 3bc7e49975a5..3730722eb12b 100644
--- a/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionOutputStream_Adapter.java
+++ b/jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionOutputStream_Adapter.java
@@ -37,6 +37,7 @@ class XConnectionOutputStream_Adapter extends OutputStream {
_xConnection = xConnection;
}
+ @Override
public void write(int b) throws IOException {
_bytes[0] = (byte)b;
diff --git a/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java b/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java
index e997fa48d55d..5cdb282c9991 100644
--- a/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java
+++ b/jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge.java
@@ -85,6 +85,7 @@ public class java_remote_bridge
super("MessageDispatcher");
}
+ @Override
public void run() {
try {
for (;;) {
diff --git a/jurt/com/sun/star/lib/uno/environments/java/java_environment.java b/jurt/com/sun/star/lib/uno/environments/java/java_environment.java
index e02f0cebf2c9..01285c257e84 100644
--- a/jurt/com/sun/star/lib/uno/environments/java/java_environment.java
+++ b/jurt/com/sun/star/lib/uno/environments/java/java_environment.java
@@ -153,6 +153,7 @@ public final class java_environment implements IEnvironment {
// bridges forbids to transparently share proxies between bridges, and using
// different java_environment instances for different bridges is the way to
// enforce this.
+ @Override
public boolean equals(Object obj) {
return false;
}
diff --git a/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java b/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
index 6cd54f0b2e1a..c81739248ca7 100644
--- a/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
+++ b/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
@@ -78,6 +78,7 @@ public class JobQueue {
return _threadId;
}
+ @Override
public void run() {
if(DEBUG) System.err.println("ThreadPool$JobDispatcher.run: " + Thread.currentThread());
diff --git a/jurt/com/sun/star/lib/util/AsynchronousFinalizer.java b/jurt/com/sun/star/lib/util/AsynchronousFinalizer.java
index 1657ecfc3199..28c32bbe35ce 100644
--- a/jurt/com/sun/star/lib/util/AsynchronousFinalizer.java
+++ b/jurt/com/sun/star/lib/util/AsynchronousFinalizer.java
@@ -69,6 +69,7 @@ public final class AsynchronousFinalizer {
static {
Thread t = new Thread() {
+ @Override
public void run() {
for (;;) {
Job j;
diff --git a/jurt/test/com/sun/star/comp/connections/PipedConnection_Test.java b/jurt/test/com/sun/star/comp/connections/PipedConnection_Test.java
index 1f649e54e50a..6d9027a4423e 100644
--- a/jurt/test/com/sun/star/comp/connections/PipedConnection_Test.java
+++ b/jurt/test/com/sun/star/comp/connections/PipedConnection_Test.java
@@ -52,6 +52,7 @@ public final class PipedConnection_Test {
_pipedConnection = pipedConnection;
}
+ @Override
public void run() {
try {
for (byte v = 0;; v++) {
@@ -81,6 +82,7 @@ public final class PipedConnection_Test {
_pipedConnection = pipedConnection;
}
+ @Override
public void run() {
try {
byte v = 0;
diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/JavaThreadPoolFactory_Test.java b/jurt/test/com/sun/star/lib/uno/environments/remote/JavaThreadPoolFactory_Test.java
index ce98137245c4..b6d2633ee99b 100644
--- a/jurt/test/com/sun/star/lib/uno/environments/remote/JavaThreadPoolFactory_Test.java
+++ b/jurt/test/com/sun/star/lib/uno/environments/remote/JavaThreadPoolFactory_Test.java
@@ -27,6 +27,7 @@ public final class JavaThreadPoolFactory_Test {
assertEquals(i1, JavaThreadPoolFactory.getThreadId());
final ThreadId[] i2 = new ThreadId[1];
new Thread() {
+ @Override
public void run() {
synchronized (i2) {
i2[0] = JavaThreadPoolFactory.getThreadId();
diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java b/jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java
index 87e69a765cc1..23b6fa537c71 100644
--- a/jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java
+++ b/jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java
@@ -206,6 +206,7 @@ public final class JobQueue_Test {
waitTime = 0;
}
+ @Override
public void run() {
synchronized (lock) {
state = STATE_STARTED;
diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java b/jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java
index 43323bc1dc72..94dfb884392f 100644
--- a/jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java
+++ b/jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java
@@ -233,6 +233,7 @@ public class ThreadPool_Test {
this.count = count;
}
+ @Override
public void run() {
try {
for (int i = 0; i < count; ++i) {
@@ -249,6 +250,7 @@ public class ThreadPool_Test {
}
Stress stress1 = new Stress(50) {
+ @Override
protected void runTest() throws InterruptedException {
testThreadAsync();
}
@@ -256,6 +258,7 @@ public class ThreadPool_Test {
stress1.start();
Stress stress2 = new Stress(50) {
+ @Override
protected void runTest() throws InterruptedException {
testDynamicThreadSync();
}
@@ -263,6 +266,7 @@ public class ThreadPool_Test {
stress2.start();
Stress stress3 = new Stress(50) {
+ @Override
protected void runTest() throws InterruptedException {
testStaticThreadSync();
}
@@ -270,6 +274,7 @@ public class ThreadPool_Test {
stress3.start();
Stress stress4 = new Stress(50) {
+ @Override
protected void runTest() throws InterruptedException {
testDynamicThreadAsyncSyncOrder();
}
@@ -277,6 +282,7 @@ public class ThreadPool_Test {
stress4.start();
Stress stress5 = new Stress(50) {
+ @Override
protected void runTest() throws InterruptedException {
testStaticThreadAsyncSyncOrder();
}
@@ -284,6 +290,7 @@ public class ThreadPool_Test {
stress5.start();
Stress stress6 = new Stress(500) {
+ @Override
protected void runTest() throws InterruptedException {
testDispose();
}
@@ -348,6 +355,7 @@ public class ThreadPool_Test {
_iThreadPool = iThreadPool;
}
+ @Override
public void run() {
_threadId = _iThreadPool.getThreadId();
diff --git a/jurt/test/com/sun/star/lib/uno/protocols/urp/Protocol_Test.java b/jurt/test/com/sun/star/lib/uno/protocols/urp/Protocol_Test.java
index b1be2aea8535..a7ee1e511c6d 100644
--- a/jurt/test/com/sun/star/lib/uno/protocols/urp/Protocol_Test.java
+++ b/jurt/test/com/sun/star/lib/uno/protocols/urp/Protocol_Test.java
@@ -255,6 +255,7 @@ public final class Protocol_Test {
{
protocol = new urp(bridge, null, input, output);
new Thread() {
+ @Override
public void run() {
for (;;) {
Object o;
diff --git a/jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java b/jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java
index e90168cfa469..c48ec4f34ab3 100644
--- a/jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java
+++ b/jurt/test/com/sun/star/lib/util/NativeLibraryLoader_Test.java
@@ -39,6 +39,7 @@ public final class NativeLibraryLoader_Test {
File file2 = NativeLibraryLoader.getResource(
new ClassLoader() {
+ @Override
public URL getResource(String name) {
return url;
}
@@ -61,6 +62,7 @@ public final class NativeLibraryLoader_Test {
File file2 = NativeLibraryLoader.getResource(
new ClassLoader() {
+ @Override
public URL getResource(String name) {
return url;
}
diff --git a/jurt/test/com/sun/star/uno/WeakReference_Test.java b/jurt/test/com/sun/star/uno/WeakReference_Test.java
index 6d076ea60bc6..a990f449b288 100644
--- a/jurt/test/com/sun/star/uno/WeakReference_Test.java
+++ b/jurt/test/com/sun/star/uno/WeakReference_Test.java
@@ -43,6 +43,7 @@ public final class WeakReference_Test {
return adapter;
}
+ @Override
protected void finalize() {
adapter.dispose();
}
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/DEGTBehavior.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/DEGTBehavior.java
index 7867fdb49db2..3c1a12a0be9b 100644
--- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/DEGTBehavior.java
+++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/DEGTBehavior.java
@@ -3,8 +3,13 @@
#Supported parameters:
NAME VALUE_type Range DefaultV Description
+<<<<<<< HEAD
FACTOR real (0, 1.2] 0.5 DEAgent: scale constant
CR real [0, 1] 0.9 DEAgent: crossover constant
+=======
+ FACTOR real (0, 1.2] 0.5 DEAgent: scale constant
+ CR real [0, 1] 0.9 DEAgent: crossover constant
+>>>>>>> java: add @Override annotation to overriding methods
//Other choices for FACTOR and CR: (0.5, 0.1)
*
@@ -46,6 +51,7 @@ public class DEGTBehavior extends AbsGTBehavior implements ILibEngine {
pbest_t = pbest;
}
+ @Override
public void generateBehavior(SearchPoint trailPoint, ProblemEncoder problemEncoder) {
SearchPoint gbest_t = socialLib.getGbest();
@@ -66,6 +72,7 @@ public class DEGTBehavior extends AbsGTBehavior implements ILibEngine {
}
}
+ @Override
public void testBehavior(SearchPoint trailPoint, IGoodnessCompareEngine qualityComparator) {
Library.replace(qualityComparator, trailPoint, pbest_t);
}
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/PSGTBehavior.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/PSGTBehavior.java
index c1e8db0123ae..68c3270adb79 100644
--- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/PSGTBehavior.java
+++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/deps/behavior/PSGTBehavior.java
@@ -83,6 +83,7 @@ public class PSGTBehavior extends AbsGTBehavior {
pold_t = pold;
}
+ @Override
public void generateBehavior(SearchPoint trailPoint, ProblemEncoder problemEncoder) {
SearchPoint gbest_t = socialLib.getGbest();
DesignSpace designSpace = problemEncoder.getDesignSpace();
@@ -107,6 +108,7 @@ public class PSGTBehavior extends AbsGTBehavior {
}
}
+ @Override
public void testBehavior(SearchPoint trailPoint, IGoodnessCompareEngine qualityComparator) {
Library.replace(qualityComparator, trailPoint, pbest_t);
pold_t.importLocation(pcurrent_t);
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/problem/UnconstrainedProblemEncoder.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/problem/UnconstrainedProblemEncoder.java
index 03b621ec05d7..f5193336789e 100644
--- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/problem/UnconstrainedProblemEncoder.java
+++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/problem/UnconstrainedProblemEncoder.java
@@ -32,6 +32,7 @@ public abstract class UnconstrainedProblemEncoder extends ProblemEncoder {
setDefaultYAt(0, BasicBound.MINDOUBLE, BasicBound.MINDOUBLE);
}
+ @Override
protected double calcTargetAt(int index, double[] VX) {
return calcTarget(VX);
}
diff --git a/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java b/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java
index 0188cb165ccb..9cfeb9e81f1f 100644
--- a/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java
+++ b/odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java
@@ -183,6 +183,7 @@ public class SelectionChangeListener implements XSelectionChangeListener {
mMCF = xMCF;
}
+ @Override
public void run() {
XDesktop aDesktop = null;
XInterface aToolKit = null;
diff --git a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
index a063a0b9bed6..c59942ce0c35 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
+++ b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
@@ -314,7 +314,8 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
};
new Thread( doRun ) {
- public void run() { javax.swing.SwingUtilities.invokeLater(doRun); }
+ @Override
+ public void run() { javax.swing.SwingUtilities.invokeLater(doRun); }
}.start();
}
diff --git a/odk/examples/DevelopersGuide/Config/ConfigExamples.java b/odk/examples/DevelopersGuide/Config/ConfigExamples.java
index d7c5792176e0..13a314254160 100644
--- a/odk/examples/DevelopersGuide/Config/ConfigExamples.java
+++ b/odk/examples/DevelopersGuide/Config/ConfigExamples.java
@@ -363,6 +363,7 @@ public class ConfigExamples
public int subdivision_x;
public int subdivision_y;
+ @Override
public String toString() {
StringBuffer aBuffer = new StringBuffer();
aBuffer.append("[ Grid is "); aBuffer.append(visible ? "VISIBLE" : "HIDDEN");
diff --git a/odk/examples/DevelopersGuide/Forms/ControlLock.java b/odk/examples/DevelopersGuide/Forms/ControlLock.java
index efce0c990462..b917039bf242 100644
--- a/odk/examples/DevelopersGuide/Forms/ControlLock.java
+++ b/odk/examples/DevelopersGuide/Forms/ControlLock.java
@@ -60,6 +60,7 @@ class LockControlModels extends ComponentTreeTraversal
}
/* ------------------------------------------------------------------ */
+ @Override
protected boolean shouldStepInto( XIndexContainer xContainer ) throws com.sun.star.uno.Exception
{
if ( !super.shouldStepInto( xContainer ) )
@@ -75,6 +76,7 @@ class LockControlModels extends ComponentTreeTraversal
}
/* ------------------------------------------------------------------ */
+ @Override
public void handle( Object aFormComponent ) throws com.sun.star.uno.Exception
{
// entering this nesting level
diff --git a/odk/examples/DevelopersGuide/Forms/ControlValidation.java b/odk/examples/DevelopersGuide/Forms/ControlValidation.java
index ea92c1c3ca8f..0ef0702eba20 100644
--- a/odk/examples/DevelopersGuide/Forms/ControlValidation.java
+++ b/odk/examples/DevelopersGuide/Forms/ControlValidation.java
@@ -29,6 +29,7 @@ public class ControlValidation extends DocumentBasedExample
/* ------------------------------------------------------------------ */
/* public test methods */
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/odk/examples/DevelopersGuide/Forms/DataAwareness.java b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
index 749c8c900195..494591853f72 100644
--- a/odk/examples/DevelopersGuide/Forms/DataAwareness.java
+++ b/odk/examples/DevelopersGuide/Forms/DataAwareness.java
@@ -73,6 +73,7 @@ class PrintComponentTree extends ComponentTreeTraversal
m_sPrefix = new String();
}
+ @Override
public void handle( Object aFormComponent ) throws com.sun.star.uno.Exception
{
// the name of the child
@@ -117,6 +118,7 @@ class RevokeButtons extends ComponentTreeTraversal
m_aOperator = aOperator;
}
+ @Override
public void handle( Object aFormComponent ) throws com.sun.star.uno.Exception
{
// check if it's a button
@@ -343,6 +345,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
/* ------------------------------------------------------------------ */
// XEventListener overridables
/* ------------------------------------------------------------------ */
+ @Override
public void disposing( EventObject aEvent )
{
// simply disambiguate
@@ -681,6 +684,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
/* ------------------------------------------------------------------ */
/** creates our sample document
*/
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
@@ -887,6 +891,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
}
/* ------------------------------------------------------------------ */
+ @Override
protected void onFormsAlive()
{
m_aOperator.onFormsAlive();
@@ -895,6 +900,7 @@ public class DataAwareness extends DocumentBasedExample implements XPropertyChan
/* ------------------------------------------------------------------ */
/** performs any cleanup before exiting the program
*/
+ @Override
protected void cleanUp( ) throws java.lang.Exception
{
// remove the listeners at the buttons
diff --git a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
index 0a4e46e48e3b..e349892d3ea9 100644
--- a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
+++ b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java
@@ -219,6 +219,7 @@ public class HsqlDatabase
return new RowSet( m_context, getDocumentURL(), _commandType, _command );
}
+ @Override
protected void finalize() throws Throwable
{
closeAndDelete();
diff --git a/odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java b/odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java
index e3555b308a0c..8baca5dca0d5 100644
--- a/odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java
+++ b/odk/examples/DevelopersGuide/Forms/SpreadsheetValueBinding.java
@@ -35,6 +35,7 @@ public class SpreadsheetValueBinding extends DocumentBasedExample
}
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java b/odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java
index 4b9fc6b84cdf..3b47da5ebc86 100644
--- a/odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java
+++ b/odk/examples/DevelopersGuide/Forms/TableCellTextBinding.java
@@ -127,6 +127,7 @@ public class TableCellTextBinding
/** runs the thread
*/
+ @Override
public void run()
{
try
diff --git a/odk/examples/DevelopersGuide/Forms/ValueBinding.java b/odk/examples/DevelopersGuide/Forms/ValueBinding.java
index 3cf649cce543..e86e6bc72372 100644
--- a/odk/examples/DevelopersGuide/Forms/ValueBinding.java
+++ b/odk/examples/DevelopersGuide/Forms/ValueBinding.java
@@ -35,6 +35,7 @@ public class ValueBinding extends DocumentBasedExample
}
/* ------------------------------------------------------------------ */
+ @Override
protected void prepareDocument() throws com.sun.star.uno.Exception, java.lang.Exception
{
super.prepareDocument();
diff --git a/odk/examples/DevelopersGuide/Forms/WaitForInput.java b/odk/examples/DevelopersGuide/Forms/WaitForInput.java
index bb5674fb07e9..55284d04ba15 100644
--- a/odk/examples/DevelopersGuide/Forms/WaitForInput.java
+++ b/odk/examples/DevelopersGuide/Forms/WaitForInput.java
@@ -31,6 +31,7 @@ class WaitForInput extends java.lang.Thread
return m_bDone;
}
+ @Override
public void run()
{
try
diff --git a/odk/examples/DevelopersGuide/GUI/UnoMenu2.java b/odk/examples/DevelopersGuide/GUI/UnoMenu2.java
index 6c3cb0c60828..24b0aabab04e 100644
--- a/odk/examples/DevelopersGuide/GUI/UnoMenu2.java
+++ b/odk/examples/DevelopersGuide/GUI/UnoMenu2.java
@@ -85,13 +85,16 @@ public UnoMenu2(XComponentContext _xContext, XMultiComponentFactory _xMCF) {
e.printStackTrace();
}}
+ @Override
protected void closeDialog(){
xDialog.endExecute();
}
+ @Override
public void mouseReleased(MouseEvent mouseEvent) {
}
+ @Override
public void mousePressed(MouseEvent mouseEvent) {
if (mouseEvent.PopupTrigger){
Rectangle aPos = new Rectangle(mouseEvent.X, mouseEvent.Y, 0, 0);
@@ -100,12 +103,15 @@ public UnoMenu2(XComponentContext _xContext, XMultiComponentFactory _xMCF) {
}
}
+ @Override
public void mouseExited(MouseEvent mouseEvent) {
}
+ @Override
public void mouseEntered(MouseEvent mouseEvent) {
}
+ @Override
public void disposing(EventObject eventObject) {
}
}
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
index b72f30ac755c..66481a697583 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
@@ -300,6 +300,7 @@ public class DocumentView extends JFrame
/**
* Overridden so we can react for window closing of this view.
*/
+ @Override
protected void processWindowEvent(WindowEvent aEvent)
{
if (aEvent.getID()!=WindowEvent.WINDOW_CLOSING)
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
index ed900c7eb0f4..712abb91fcc3 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
@@ -79,6 +79,7 @@ public class NativeView extends java.awt.Canvas
* can be called more than ones - but call native code one times only
* and safe the handle and the system type on our members maHandle/maSystem!
*/
+ @Override
public void setVisible(boolean bState)
{
getHWND();
@@ -91,16 +92,19 @@ public class NativeView extends java.awt.Canvas
* (e.g. JSplitPane) we must provide some information about our
* preferred/minimum and maximum size.
*/
+ @Override
public Dimension getPreferredSize()
{
return new Dimension(500,300);
}
+ @Override
public Dimension getMaximumSize()
{
return new Dimension(1024,768);
}
+ @Override
public Dimension getMinimumSize()
{
return new Dimension(100,100);
@@ -116,6 +120,7 @@ public class NativeView extends java.awt.Canvas
* May the remote window is already plugged. In such case we
* shouldn't paint it over.
*/
+ @Override
public void paint(Graphics aGraphic)
{
if(maHandle==null)
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java
index b21905505c89..af70c10cadc1 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java
@@ -122,6 +122,7 @@ class OnewayExecutor extends Thread
* give him all necessary parameters.
* After that we die by ourselves ...
*/
+ @Override
public void run()
{
if (m_rLink==null)
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
index e91eeefb9cde..d03496dbb8b3 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
@@ -190,6 +190,7 @@ public class ViewContainer extends Thread
* on shutdown. We inform all current registered listener and
* views. They should deinitialize her internal things then.
*/
+ @Override
public void run()
{
synchronized(this)
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Hyph.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Hyph.java
index a8a3e2375e80..a0e22a5e6516 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Hyph.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Hyph.java
@@ -49,6 +49,7 @@ public class PropChgHelper_Hyph extends PropChgHelper
// XPropertyChangeListener
+ @Override
public void propertyChange( PropertyChangeEvent aEvt )
throws com.sun.star.uno.RuntimeException
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Spell.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Spell.java
index e87df4ad26f1..16d93269ad97 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Spell.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper_Spell.java
@@ -49,6 +49,7 @@ public class PropChgHelper_Spell extends PropChgHelper
// XPropertyChangeListener
+ @Override
public void propertyChange( PropertyChangeEvent aEvt )
throws com.sun.star.uno.RuntimeException
{
diff --git a/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java b/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java
index e50e1fde75b6..4cf807828b5c 100644
--- a/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java
+++ b/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java
@@ -80,6 +80,7 @@ public class ConnectionAwareClient extends java.awt.Frame
addWindowListener(
new WindowAdapter()
{
+ @Override
public void windowClosing(WindowEvent event)
{
System.exit(0);
diff --git a/odk/examples/DevelopersGuide/ProfUNO/Lifetime/MyUnoObject.java b/odk/examples/DevelopersGuide/ProfUNO/Lifetime/MyUnoObject.java
index d5e828cf46e8..62949299b37f 100644
--- a/odk/examples/DevelopersGuide/ProfUNO/Lifetime/MyUnoObject.java
+++ b/odk/examples/DevelopersGuide/ProfUNO/Lifetime/MyUnoObject.java
@@ -36,6 +36,7 @@ class MyUnoObject implements com.sun.star.uno.XInterface
{
public MyUnoObject() {}
+ @Override
protected void finalize() throws Throwable {
super.finalize();
System.out.println( "finalizer called" );
diff --git a/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java b/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java
index b6e118301a37..b6f58d9a4c79 100644
--- a/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java
+++ b/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java
@@ -227,6 +227,7 @@ class ScriptSelectorPanel extends JPanel {
DefaultMutableTreeNode top =
new DefaultMutableTreeNode(myrootnode) {
+ @Override
public String toString() {
return ((XBrowseNode)getUserObject()).getName();
}
@@ -283,6 +284,7 @@ class ScriptSelectorPanel extends JPanel {
public void addNode(DefaultMutableTreeNode parent, XBrowseNode xbn) {
DefaultMutableTreeNode newNode =
new DefaultMutableTreeNode(xbn) {
+ @Override
public String toString() {
return ((XBrowseNode)getUserObject()).getName();
}
@@ -309,6 +311,7 @@ class ScriptSelectorPanel extends JPanel {
}
DefaultMutableTreeNode newNode =
new DefaultMutableTreeNode(children[i]) {
+ @Override
public String toString() {
return ((XBrowseNode)getUserObject()).getName();
}
@@ -336,6 +339,7 @@ class ScriptTreeRenderer extends DefaultTreeCellRenderer {
containerIcon = new ImageIcon(getClass().getResource("container.gif"));
}
+ @Override
public Component getTreeCellRendererComponent(
JTree tree,
Object value,
diff --git a/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java b/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
index c764fc94ccea..cd0c7c767960 100644
--- a/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
+++ b/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
@@ -86,6 +86,7 @@ class ExampleAddInThread extends Thread
aCounters = aResults;
}
+ @Override
public void run()
{
while ( true )
diff --git a/odk/examples/java/ConverterServlet/ConverterServlet.java b/odk/examples/java/ConverterServlet/ConverterServlet.java
index 2a3688c4ead9..607fc140ab5a 100644
--- a/odk/examples/java/ConverterServlet/ConverterServlet.java
+++ b/odk/examples/java/ConverterServlet/ConverterServlet.java
@@ -87,6 +87,7 @@ public class ConverterServlet extends HttpServlet {
* @throws ServletException If the request for the POST could not be handled.
* @throws IOException If an input or output error is detected when the servlet handles the request.
*/
+ @Override
protected void doPost( HttpServletRequest request,
HttpServletResponse response) throws ServletException, java.io.IOException {
try {
diff --git a/odk/examples/java/EmbedDocument/EmbeddedObject/EditorFrame.java b/odk/examples/java/EmbedDocument/EmbeddedObject/EditorFrame.java
index 4c9dc1b23d62..d30175f2b1bc 100644
--- a/odk/examples/java/EmbedDocument/EmbeddedObject/EditorFrame.java
+++ b/odk/examples/java/EmbedDocument/EmbeddedObject/EditorFrame.java
@@ -32,6 +32,7 @@ public class EditorFrame extends JFrame
WindowListener m_aCloser = new WindowAdapter()
{
+ @Override
public void windowClosing( WindowEvent e )
{
m_aBufImage = new BufferedImage( m_aTextArea.getWidth(), m_aTextArea.getHeight(), BufferedImage.TYPE_INT_RGB );
diff --git a/odk/examples/java/Inspector/MethodParametersDialog.java b/odk/examples/java/Inspector/MethodParametersDialog.java
index 6a43c697ad0d..27ac872eb1d7 100644
--- a/odk/examples/java/Inspector/MethodParametersDialog.java
+++ b/odk/examples/java/Inspector/MethodParametersDialog.java
@@ -266,6 +266,7 @@ public class MethodParametersDialog extends JDialog{
private class UpdateUIAdapter extends KeyAdapter{
+ @Override
public void keyReleased(KeyEvent e){
boolean bIsCompleted = isCompleted();
jOKButton.setEnabled(bIsCompleted);
diff --git a/odk/examples/java/Inspector/SourceCodeGenerator.java b/odk/examples/java/Inspector/SourceCodeGenerator.java
index 7e158afd04ad..1df755d3d91b 100644
--- a/odk/examples/java/Inspector/SourceCodeGenerator.java
+++ b/odk/examples/java/Inspector/SourceCodeGenerator.java
@@ -373,7 +373,8 @@ public class SourceCodeGenerator {
}
- public boolean add(String _oElement){
+ @Override
+ public boolean add(String _oElement){
if (!contains(_oElement)){
super.add(_oElement);
return true;
diff --git a/odk/examples/java/Inspector/SwingDialogProvider.java b/odk/examples/java/Inspector/SwingDialogProvider.java
index 29774f93a6ca..f683cd40305f 100644
--- a/odk/examples/java/Inspector/SwingDialogProvider.java
+++ b/odk/examples/java/Inspector/SwingDialogProvider.java
@@ -154,12 +154,14 @@ public class SwingDialogProvider implements XDialogProvider{
private class InspectorComponentAdapter extends ComponentAdapter{
+ @Override
public void componentHidden(ComponentEvent e){
m_jInspectorDialog.pack();
m_jInspectorDialog.invalidate();
}
+ @Override
public void componentShown(ComponentEvent e){
m_jInspectorDialog.pack();
m_jInspectorDialog.invalidate();
@@ -167,11 +169,13 @@ public class SwingDialogProvider implements XDialogProvider{
}
private class InspectorWindowAdapter extends WindowAdapter{
+ @Override
public void windowClosed(WindowEvent e){
removeTabPanes();
m_oInspector.disposeHiddenDocuments();
}
+ @Override
public void windowClosing(WindowEvent e){
removeTabPanes();
m_oInspector.disposeHiddenDocuments();
diff --git a/odk/examples/java/Inspector/SwingTreeControlProvider.java b/odk/examples/java/Inspector/SwingTreeControlProvider.java
index f4eb91945cc3..819202fa64af 100644
--- a/odk/examples/java/Inspector/SwingTreeControlProvider.java
+++ b/odk/examples/java/Inspector/SwingTreeControlProvider.java
@@ -168,6 +168,7 @@ public class SwingTreeControlProvider implements XTreeControlProvider{
private class InspectorKeyFilterAdapter extends KeyAdapter{
+ @Override
public void keyReleased(KeyEvent e){
String sFilter = jtxtFilter.getText();
SwingTreePathProvider oSwingTreePathProvider = new SwingTreePathProvider(jTree.getSelectionPath());
@@ -234,6 +235,7 @@ public class SwingTreeControlProvider implements XTreeControlProvider{
);
// Add KeyListener for help
jTree.addKeyListener( new java.awt.event.KeyAdapter() {
+ @Override
public void keyReleased(java.awt.event.KeyEvent event) {
if ( event.getKeyCode() == KeyEvent.VK_F1 ) {
// function key F1 pressed
@@ -244,6 +246,7 @@ public class SwingTreeControlProvider implements XTreeControlProvider{
}
});
jTree.addMouseListener(new MouseAdapter() {
+ @Override
public void mousePressed (MouseEvent e) {
if (e.isPopupTrigger()){
m_oInspectorPane.showPopUpMenu(e.getComponent(), e.getX(), e.getY());
diff --git a/odk/examples/java/Inspector/SwingUnoFacetteNode.java b/odk/examples/java/Inspector/SwingUnoFacetteNode.java
index 2b51902bc963..dc726beaa62d 100644
--- a/odk/examples/java/Inspector/SwingUnoFacetteNode.java
+++ b/odk/examples/java/Inspector/SwingUnoFacetteNode.java
@@ -52,6 +52,7 @@ public class SwingUnoFacetteNode extends SwingUnoNode implements XUnoFacetteNode
m_sFilter = _sFilter;
}
+ @Override
public String getName(){
return toString();
}
diff --git a/odk/examples/java/Inspector/SwingUnoMethodNode.java b/odk/examples/java/Inspector/SwingUnoMethodNode.java
index 92bebe505e1c..5b4833fa4f4a 100644
--- a/odk/examples/java/Inspector/SwingUnoMethodNode.java
+++ b/odk/examples/java/Inspector/SwingUnoMethodNode.java
@@ -59,10 +59,12 @@ public class SwingUnoMethodNode extends SwingUnoNode implements ActionListener,
return m_oUnoMethodNode.isFoldable();
}
+ @Override
public String getName(){
return m_oUnoMethodNode.getName();
}
+ @Override
public String getClassName(){
String sClassName = "";
sClassName = getXIdlMethod().getDeclaringClass().getName();
@@ -72,6 +74,7 @@ public class SwingUnoMethodNode extends SwingUnoNode implements ActionListener,
return sClassName;
}
+ @Override
public String getAnchor(){
return m_oUnoMethodNode.getAnchor();
}
diff --git a/odk/examples/java/Inspector/SwingUnoNode.java b/odk/examples/java/Inspector/SwingUnoNode.java
index 19295cc4b4d0..dbe79e6887c0 100644
--- a/odk/examples/java/Inspector/SwingUnoNode.java
+++ b/odk/examples/java/Inspector/SwingUnoNode.java
@@ -127,6 +127,7 @@ public class SwingUnoNode extends HideableMutableTreeNode implements XUnoNode{
}
+ @Override
public int getChildCount(){
return super.getChildCount();
}
diff --git a/odk/examples/java/Inspector/SwingUnoPropertyNode.java b/odk/examples/java/Inspector/SwingUnoPropertyNode.java
index f72229db6f10..7de646bb5b15 100644
--- a/odk/examples/java/Inspector/SwingUnoPropertyNode.java
+++ b/odk/examples/java/Inspector/SwingUnoPropertyNode.java
@@ -58,6 +58,7 @@ public class SwingUnoPropertyNode extends SwingUnoNode implements XUnoPropertyNo
m_oUnoPropertyNode = new UnoPropertyNode(_aPropertyValue, _oUnoObject, _oUnoReturnObject);
}
+ @Override
public String getName(){
return m_oUnoPropertyNode.getName();
}
@@ -68,6 +69,7 @@ public class SwingUnoPropertyNode extends SwingUnoNode implements XUnoPropertyNo
}
+ @Override
public String getClassName(){
String sClassName = m_oUnoPropertyNode.getClassName();
if (sClassName.equals("")){
@@ -76,6 +78,7 @@ public class SwingUnoPropertyNode extends SwingUnoNode implements XUnoPropertyNo
return sClassName;
}
+ @Override
public String getAnchor(){
return m_oUnoPropertyNode.getAnchor();
}
diff --git a/odk/examples/java/Inspector/UnoMethodNode.java b/odk/examples/java/Inspector/UnoMethodNode.java
index 69bb58e4d2d9..1ef0e81fe9d5 100644
--- a/odk/examples/java/Inspector/UnoMethodNode.java
+++ b/odk/examples/java/Inspector/UnoMethodNode.java
@@ -75,6 +75,7 @@ public class UnoMethodNode extends UnoNode{
}
+ @Override
public String getAnchor(){
return getXIdlMethod().getName();
}
diff --git a/odk/examples/java/Inspector/UnoPropertyNode.java b/odk/examples/java/Inspector/UnoPropertyNode.java
index 920300e15546..b0db9b396120 100644
--- a/odk/examples/java/Inspector/UnoPropertyNode.java
+++ b/odk/examples/java/Inspector/UnoPropertyNode.java
@@ -94,6 +94,7 @@ public class UnoPropertyNode extends UnoNode{
}
+ @Override
public String getClassName(){
String sClassName = "";
if (m_oUnoObject != null){
@@ -115,6 +116,7 @@ public class UnoPropertyNode extends UnoNode{
}
+ @Override
public String getAnchor(){
return m_sPropertyName;
}
diff --git a/odk/examples/java/Inspector/UnoTreeRenderer.java b/odk/examples/java/Inspector/UnoTreeRenderer.java
index fb3295ca3899..61b481e4ba40 100644
--- a/odk/examples/java/Inspector/UnoTreeRenderer.java
+++ b/odk/examples/java/Inspector/UnoTreeRenderer.java
@@ -73,6 +73,7 @@ public class UnoTreeRenderer extends DefaultTreeCellRenderer{
}
+ @Override
public synchronized Component getTreeCellRendererComponent(JTree tree,Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus){
try{
bSelected = sel;
@@ -104,6 +105,7 @@ public class UnoTreeRenderer extends DefaultTreeCellRenderer{
+ @Override
public void paintComponent(Graphics g) {
FontMetrics fm = getFontMetrics(getFont());
int x, y;
diff --git a/odk/source/com/sun/star/lib/loader/InstallationFinder.java b/odk/source/com/sun/star/lib/loader/InstallationFinder.java
index bf035752bea7..dcf80302105a 100644
--- a/odk/source/com/sun/star/lib/loader/InstallationFinder.java
+++ b/odk/source/com/sun/star/lib/loader/InstallationFinder.java
@@ -556,6 +556,7 @@ final class InstallationFinder {
m_istream = istream;
}
+ @Override
public void run() {
try {
BufferedReader br = new BufferedReader(
diff --git a/odk/source/com/sun/star/lib/loader/Loader.java b/odk/source/com/sun/star/lib/loader/Loader.java
index d6b67b7ee6db..0c55d19a84cd 100644
--- a/odk/source/com/sun/star/lib/loader/Loader.java
+++ b/odk/source/com/sun/star/lib/loader/Loader.java
@@ -277,6 +277,7 @@ public final class Loader {
this.stream = stream;
}
+ @Override
public void run() {
try {
while (stream.read() != -1) {}
@@ -296,6 +297,7 @@ public final class Loader {
super( urls );
}
+ @Override
protected Class findClass( String name ) throws ClassNotFoundException {
// This is only called via this.loadClass -> super.loadClass ->
// this.findClass, after this.loadClass has already called
@@ -303,6 +305,7 @@ public final class Loader {
throw new ClassNotFoundException( name );
}
+ @Override
protected Class loadClass( String name, boolean resolve )
throws ClassNotFoundException
{
diff --git a/qadevOOo/runner/complexlib/MethodThread.java b/qadevOOo/runner/complexlib/MethodThread.java
index 70d5ce993f02..b6f1b81affba 100644
--- a/qadevOOo/runner/complexlib/MethodThread.java
+++ b/qadevOOo/runner/complexlib/MethodThread.java
@@ -64,6 +64,7 @@ public class MethodThread extends Thread
/**
* Invoke the method.
*/
+ @Override
public void run()
{
try
@@ -115,6 +116,7 @@ public class MethodThread extends Thread
* Stop the running method.
* @deprecated
*/
+ @Override
public void destroy()
{
stop();
diff --git a/qadevOOo/runner/convwatch/ConvWatchStarter.java b/qadevOOo/runner/convwatch/ConvWatchStarter.java
index b8a0691629e2..1cd17991d1f9 100644
--- a/qadevOOo/runner/convwatch/ConvWatchStarter.java
+++ b/qadevOOo/runner/convwatch/ConvWatchStarter.java
@@ -56,6 +56,7 @@ public class ConvWatchStarter extends EnhancedComplexTestCase
* Return all test methods.
* @return The test methods.
*/
+ @Override
public String[] getTestMethodNames() {
return new String[]{"compareGraphicalDiffs"};
}
@@ -139,6 +140,7 @@ public class ConvWatchStarter extends EnhancedComplexTestCase
*
* @return a List of software which must accessible as an external executable
*/
+ @Override
protected String[] mustInstalledSoftware()
{
ArrayList aList = new ArrayList();
diff --git a/qadevOOo/runner/convwatch/CrashLoopTest.java b/qadevOOo/runner/convwatch/CrashLoopTest.java
index fea1490dfae5..015314980d14 100644
--- a/qadevOOo/runner/convwatch/CrashLoopTest.java
+++ b/qadevOOo/runner/convwatch/CrashLoopTest.java
@@ -26,6 +26,7 @@ public class CrashLoopTest extends ReferenceBuilder
* In this case it is the actual name of the service.
* @return The tested service.
*/
+ @Override
public String getTestObjectName() {
return "CrashLoopTest runner";
}
@@ -36,6 +37,7 @@ public class CrashLoopTest extends ReferenceBuilder
* Return all test methods.
* @return The test methods.
*/
+ @Override
public String[] getTestMethodNames() {
return new String[]{"testcrashandloops"};
}
diff --git a/qadevOOo/runner/convwatch/DBHelper.java b/qadevOOo/runner/convwatch/DBHelper.java
index 420e9d03a9ad..844e3359045d 100644
--- a/qadevOOo/runner/convwatch/DBHelper.java
+++ b/qadevOOo/runner/convwatch/DBHelper.java
@@ -61,6 +61,7 @@ class ShareConnection
m_sSQL = _sSQL;
}
+ @Override
public void run()
{
Statement oStmt = null;
diff --git a/qadevOOo/runner/convwatch/DocumentConverter.java b/qadevOOo/runner/convwatch/DocumentConverter.java
index 758037012cdb..b088d9177f72 100644
--- a/qadevOOo/runner/convwatch/DocumentConverter.java
+++ b/qadevOOo/runner/convwatch/DocumentConverter.java
@@ -50,6 +50,7 @@ public class DocumentConverter extends EnhancedComplexTestCase
* In this case it is the actual name of the service.
* @return The tested service.
*/
+ @Override
public String getTestObjectName() {
return "DocumentConverter runner";
}
@@ -60,6 +61,7 @@ public class DocumentConverter extends EnhancedComplexTestCase
* Return all test methods.
* @return The test methods.
*/
+ @Override
public String[] getTestMethodNames() {
return new String[]{"convert"};
}
@@ -124,6 +126,7 @@ public class DocumentConverter extends EnhancedComplexTestCase
/**
* Function returns a List of software which must accessible as an external executable
*/
+ @Override
protected String[] mustInstalledSoftware()
{
ArrayList aList = new ArrayList();
diff --git a/qadevOOo/runner/convwatch/FilenameHelper.java b/qadevOOo/runner/convwatch/FilenameHelper.java
index 85b02993c132..1822232fc205 100644
--- a/qadevOOo/runner/convwatch/FilenameHelper.java
+++ b/qadevOOo/runner/convwatch/FilenameHelper.java
@@ -267,6 +267,7 @@ abstract class FilenameHelper_impl implements Filenamer
*/
class OriginalFilename extends FilenameHelper_impl
{
+ @Override
public String buildName()
{
return getName();
@@ -281,10 +282,12 @@ class OriginalFilename extends FilenameHelper_impl
*/
class OriginalReferenceFilename extends FilenameHelper_impl
{
+ @Override
public String getSuffix()
{
return "prn";
}
+ @Override
public String buildName()
{
return getName();
@@ -298,10 +301,12 @@ class OriginalReferenceFilename extends FilenameHelper_impl
*/
class OriginalReferencePictureFilename extends FilenameHelper_impl
{
+ @Override
public String getSuffix()
{
return "jpg";
}
+ @Override
public String buildName()
{
return getName() + "-" + getNumber() + "-ref";
@@ -320,10 +325,12 @@ class OriginalReferencePictureFilename extends FilenameHelper_impl
*/
class CurrentReferenceFilename extends FilenameHelper_impl
{
+ @Override
public String getSuffix()
{
return "ps";
}
+ @Override
public String buildName()
{
return getName();
@@ -338,10 +345,12 @@ class CurrentReferenceFilename extends FilenameHelper_impl
*/
class CurrentReferencePictureFilename extends FilenameHelper_impl
{
+ @Override
public String getSuffix()
{
return "jpg";
}
+ @Override
public String buildName()
{
return getName() + "-" + getNumber() + "-new-ref";
diff --git a/qadevOOo/runner/convwatch/GfxCompare.java b/qadevOOo/runner/convwatch/GfxCompare.java
index 69af898846ba..921191ba46a2 100644
--- a/qadevOOo/runner/convwatch/GfxCompare.java
+++ b/qadevOOo/runner/convwatch/GfxCompare.java
@@ -37,6 +37,7 @@ public class GfxCompare extends EnhancedComplexTestCase
* @return The test methods.
*/
+ @Override
public String[] getTestMethodNames() {
return new String[]{"gfxcompare"};
}
@@ -45,6 +46,7 @@ public class GfxCompare extends EnhancedComplexTestCase
*
* @return a List of software which must accessible as an external executable
*/
+ @Override
protected String[] mustInstalledSoftware()
{
ArrayList aList = new ArrayList();
diff --git a/qadevOOo/runner/convwatch/PixelCounter.java b/qadevOOo/runner/convwatch/PixelCounter.java
index 36109cc93650..63523f60047e 100644
--- a/qadevOOo/runner/convwatch/PixelCounter.java
+++ b/qadevOOo/runner/convwatch/PixelCounter.java
@@ -35,6 +35,7 @@ class CountNotWhite extends CountPixel
{
}
+ @Override
public void count(int pixel)
{
int red = (pixel >> 16) & 0xff;
@@ -56,6 +57,7 @@ class CountNotBlack extends CountPixel
{
}
+ @Override
public void count(int pixel)
{
int red = (pixel >> 16) & 0xff;
diff --git a/qadevOOo/runner/convwatch/ReferenceBuilder.java b/qadevOOo/runner/convwatch/ReferenceBuilder.java
index 41a496eab9f0..c9fbc9a8dda6 100644
--- a/qadevOOo/runner/convwatch/ReferenceBuilder.java
+++ b/qadevOOo/runner/convwatch/ReferenceBuilder.java
@@ -49,6 +49,7 @@ public class ReferenceBuilder extends EnhancedComplexTestCase
* In this case it is the actual name of the service.
* @return The tested service.
*/
+ @Override
public String getTestObjectName() {
return "ReferenceBuilder runner";
}
@@ -59,6 +60,7 @@ public class ReferenceBuilder extends EnhancedComplexTestCase
* Return all test methods.
* @return The test methods.
*/
+ @Override
public String[] getTestMethodNames() {
return new String[]{"buildreference"};
}
@@ -123,6 +125,7 @@ public class ReferenceBuilder extends EnhancedComplexTestCase
/**
* Function returns a List of software which must accessible as an external executable
*/
+ @Override
protected String[] mustInstalledSoftware()
{
return new String[] { "perl -version" };
diff --git a/qadevOOo/runner/convwatch/ReportDesignerTest.java b/qadevOOo/runner/convwatch/ReportDesignerTest.java
index 8a4be7382ba5..0aad73c78985 100644
--- a/qadevOOo/runner/convwatch/ReportDesignerTest.java
+++ b/qadevOOo/runner/convwatch/ReportDesignerTest.java
@@ -125,6 +125,7 @@ public class ReportDesignerTest extends ComplexTestCase {
* This method returns a list of Strings, each string must be a function name in this class.
* @return
*/
+ @Override
public String[] getTestMethodNames()
{
return new String[] {"ReportDesignTest"}; // MAIN
diff --git a/qadevOOo/runner/convwatch/TriState.java b/qadevOOo/runner/convwatch/TriState.java
index 4e10cfe34825..80a568329f92 100644
--- a/qadevOOo/runner/convwatch/TriState.java
+++ b/qadevOOo/runner/convwatch/TriState.java
@@ -55,6 +55,7 @@ public class TriState
false otherwise.
*/
+ @Override
public boolean equals(Object obj)
{
if ((obj != null) &&
diff --git a/qadevOOo/runner/graphical/GraphicalComparator.java b/qadevOOo/runner/graphical/GraphicalComparator.java
index 72e193b7756a..53a2d9aabcb2 100644
--- a/qadevOOo/runner/graphical/GraphicalComparator.java
+++ b/qadevOOo/runner/graphical/GraphicalComparator.java
@@ -21,6 +21,7 @@ package graphical;
public class GraphicalComparator extends EnhancedComplexTestCase
{
+ @Override
public String[] getTestMethodNames() {
return new String[]{"check"};
}
diff --git a/qadevOOo/runner/graphical/JPEGComparator.java b/qadevOOo/runner/graphical/JPEGComparator.java
index a3a886975298..2ea6841b3e82 100644
--- a/qadevOOo/runner/graphical/JPEGComparator.java
+++ b/qadevOOo/runner/graphical/JPEGComparator.java
@@ -120,6 +120,7 @@ class CountNotWhitePixelsFromImage extends CountNotXXXPixelsFromImage
super(_sFilename);
}
+ @Override
public void run()
{
try
@@ -142,6 +143,7 @@ class CountNotBlackPixelsFromImage extends CountNotXXXPixelsFromImage
super(_sFilename);
}
+ @Override
public void run()
{
try
@@ -159,6 +161,7 @@ class CountNotBlackPixelsFromImage extends CountNotXXXPixelsFromImage
public class JPEGComparator extends EnhancedComplexTestCase
{
+ @Override
public String[] getTestMethodNames()
{
return new String[]{"CompareJPEGvsJPEG"};
diff --git a/qadevOOo/runner/graphical/JPEGCreator.java b/qadevOOo/runner/graphical/JPEGCreator.java
index 6a53bca2d16b..c95aad79e5bb 100644
--- a/qadevOOo/runner/graphical/JPEGCreator.java
+++ b/qadevOOo/runner/graphical/JPEGCreator.java
@@ -25,6 +25,7 @@ import java.io.File;
public class JPEGCreator extends EnhancedComplexTestCase
{
+ @Override
public String[] getTestMethodNames()
{
return new String[]{"PostscriptOrPDFToJPEG"};
diff --git a/qadevOOo/runner/graphical/JPEGEvaluator.java b/qadevOOo/runner/graphical/JPEGEvaluator.java
index 5ee8db786b9e..cddbde844e91 100644
--- a/qadevOOo/runner/graphical/JPEGEvaluator.java
+++ b/qadevOOo/runner/graphical/JPEGEvaluator.java
@@ -20,6 +20,7 @@ package graphical;
public class JPEGEvaluator extends EnhancedComplexTestCase
{
+ @Override
public String[] getTestMethodNames()
{
return new String[]{"EvaluateResult"};
diff --git a/qadevOOo/runner/graphical/PixelCounter.java b/qadevOOo/runner/graphical/PixelCounter.java
index 0c0fd711d724..887424772d65 100644
--- a/qadevOOo/runner/graphical/PixelCounter.java
+++ b/qadevOOo/runner/graphical/PixelCounter.java
@@ -47,6 +47,7 @@ class CountNotWhite extends CountPixel
}
++m_nCount;
}
+ @Override
public void count(final int pixel)
{
// final int alpha = (pixel >> 24) & 0xff;
@@ -91,6 +92,7 @@ class CountNotBlack extends CountPixel
}
++m_nCount;
}
+ @Override
public void count(final int pixel)
{
// final int alpha = (pixel >> 24) & 0xff;
diff --git a/qadevOOo/runner/graphical/PostscriptCreator.java b/qadevOOo/runner/graphical/PostscriptCreator.java
index 27c6e4847f33..6a27dea78eec 100644
--- a/qadevOOo/runner/graphical/PostscriptCreator.java
+++ b/qadevOOo/runner/graphical/PostscriptCreator.java
@@ -21,6 +21,7 @@ package graphical;
public class PostscriptCreator extends EnhancedComplexTestCase
{
+ @Override
public String[] getTestMethodNames()
{
return new String[]{"DocumentToPostscript"};
diff --git a/qadevOOo/runner/helper/APIDescGetter.java b/qadevOOo/runner/helper/APIDescGetter.java
index 085f8f2e80cf..86a501b05cfc 100644
--- a/qadevOOo/runner/helper/APIDescGetter.java
+++ b/qadevOOo/runner/helper/APIDescGetter.java
@@ -66,6 +66,7 @@ public class APIDescGetter extends DescGetter
* @param entry contains the entry name, e.g. sw.SwXBodyText
* @param debug if true some debug information is displayed on standard out
*/
+ @Override
public DescEntry[] getDescriptionFor(String job, String descPath,
boolean debug)
{
@@ -184,6 +185,7 @@ public class APIDescGetter extends DescGetter
}
}
+ @Override
protected DescEntry getDescriptionForSingleJob(String job, String descPath,
boolean debug)
{
@@ -716,6 +718,7 @@ public class APIDescGetter extends DescGetter
return aEntry;
}
+ @Override
protected ArrayList getSubInterfaces(String job)
{
ArrayList namesList = new ArrayList();
@@ -747,6 +750,7 @@ public class APIDescGetter extends DescGetter
return namesList;
}
+ @Override
protected String[] createScenario(String descPath, String job,
boolean debug)
{
diff --git a/qadevOOo/runner/helper/ComplexDescGetter.java b/qadevOOo/runner/helper/ComplexDescGetter.java
index 6e517d712d36..d0ec77879926 100644
--- a/qadevOOo/runner/helper/ComplexDescGetter.java
+++ b/qadevOOo/runner/helper/ComplexDescGetter.java
@@ -41,6 +41,7 @@ public class ComplexDescGetter extends DescGetter
testClass = null;
}
+ @Override
public DescEntry[] getDescriptionFor(String entry, String DescPath,
boolean debug)
{
@@ -67,6 +68,7 @@ public class ComplexDescGetter extends DescGetter
return null;
}
+ @Override
protected DescEntry getDescriptionForSingleJob(String className, String descPath, boolean debug)
{
DynamicClassLoader dcl = new DynamicClassLoader();
@@ -175,6 +177,7 @@ public class ComplexDescGetter extends DescGetter
return dEntry;
}
+ @Override
protected String[] createScenario(String descPath, String job, boolean debug)
{
return new String[] {};
diff --git a/qadevOOo/runner/helper/LoggingThread.java b/qadevOOo/runner/helper/LoggingThread.java
index 70249fe793c5..6eb2e1861640 100644
--- a/qadevOOo/runner/helper/LoggingThread.java
+++ b/qadevOOo/runner/helper/LoggingThread.java
@@ -52,6 +52,7 @@ public class LoggingThread extends Thread {
this.debug = tParam.getBool(PropertyName.DEBUG_IS_ACTIVE);
}
+ @Override
public void run() {
final int timeOut = param.getInt(PropertyName.TIME_OUT) / 2;
int count = 0;
diff --git a/qadevOOo/runner/helper/OfficeWatcher.java b/qadevOOo/runner/helper/OfficeWatcher.java
index a45b4343b18e..b01d81609b89 100644
--- a/qadevOOo/runner/helper/OfficeWatcher.java
+++ b/qadevOOo/runner/helper/OfficeWatcher.java
@@ -56,6 +56,7 @@ public class OfficeWatcher extends Thread implements share.Watcher {
return StoredPing;
}
+ @Override
public void run() {
dbg("started");
boolean isDone = false;
diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java
index 5c477447381f..0bcabe4e8b68 100644
--- a/qadevOOo/runner/helper/ProcessHandler.java
+++ b/qadevOOo/runner/helper/ProcessHandler.java
@@ -69,6 +69,7 @@ class Pump extends Thread
start();
}
+ @Override
public void run()
{
try
@@ -885,6 +886,7 @@ public class ProcessHandler
interrupt();
}
+ @Override
public void run()
{
while (m_nTimeoutInSec > 0)
diff --git a/qadevOOo/runner/lib/MultiPropertyTest.java b/qadevOOo/runner/lib/MultiPropertyTest.java
index a0c93f34896c..10d2a67fb103 100644
--- a/qadevOOo/runner/lib/MultiPropertyTest.java
+++ b/qadevOOo/runner/lib/MultiPropertyTest.java
@@ -72,6 +72,7 @@ public class MultiPropertyTest extends MultiMethodTest
/**
* Overrides super.before() to check the service is supported by the object.
*/
+ @Override
protected void before()
{
XServiceInfo xInfo = UnoRuntime.queryInterface(
@@ -102,6 +103,7 @@ public class MultiPropertyTest extends MultiMethodTest
*
* @see MultiMethodTest#invokeTestMethod
*/
+ @Override
protected void invokeTestMethod(Method meth, String methName)
{
if (meth != null)
@@ -513,6 +515,7 @@ public class MultiPropertyTest extends MultiMethodTest
* @return The second value if old value is equal to the first
* one, the first value otherwise.
*/
+ @Override
protected Object getNewValue(String propName, Object old)
{
if (ValueComparer.equalValue(val1, old))
diff --git a/qadevOOo/runner/lib/Status.java b/qadevOOo/runner/lib/Status.java
index e19f8bb39169..680e499cf8da 100644
--- a/qadevOOo/runner/lib/Status.java
+++ b/qadevOOo/runner/lib/Status.java
@@ -110,6 +110,7 @@ public class Status extends SimpleStatus {
* description and appends to it it the reason, for example:
* "FAILED.The getLabel works wrong", "PASSED.OK".
*/
+ @Override
public String toString() {
String str = getRunStateString() + "." + getStateString();
diff --git a/qadevOOo/runner/lib/TestParameters.java b/qadevOOo/runner/lib/TestParameters.java
index 17d5cdd95dd0..b560430dca41 100644
--- a/qadevOOo/runner/lib/TestParameters.java
+++ b/qadevOOo/runner/lib/TestParameters.java
@@ -170,6 +170,7 @@ public class TestParameters extends HashMap {
* @return The value of this key.
* @see java.util.HashMap
*/
+ @Override
public Object get(Object key) {
Object val = super.get(key);
if (val == null && DebugIsActive) {
@@ -237,6 +238,7 @@ public class TestParameters extends HashMap {
* @return The value of this key.
* @see java.util.HashMap
*/
+ @Override
public Object put(String key, Object val) {
return super.put(key,val);
}
diff --git a/qadevOOo/runner/stats/ComplexDataBaseOutProducer.java b/qadevOOo/runner/stats/ComplexDataBaseOutProducer.java
index 1ba18f6e0c13..120e72e10362 100644
--- a/qadevOOo/runner/stats/ComplexDataBaseOutProducer.java
+++ b/qadevOOo/runner/stats/ComplexDataBaseOutProducer.java
@@ -83,6 +83,7 @@ public class ComplexDataBaseOutProducer extends DataBaseOutProducer {
* @parameter log A log writer
* @return True, if everything worked.
*/
+ @Override
protected boolean prepareDataBase(LogWriter log) {
executeSQLCommand("SELECT id AS \"test_run.id\", api_version_id, description, date FROM test_run" +
" WHERE date = \"$date\" AND description = \"$test_run_description\";", true);
@@ -112,6 +113,7 @@ public class ComplexDataBaseOutProducer extends DataBaseOutProducer {
* @parameter log A log writer
* @return True, if everything worked.
*/
+ @Override
protected boolean insertEntry(LogWriter log) {
if ( m_bDebug ) {
diff --git a/qadevOOo/runner/stats/FatDataBaseOutProducer.java b/qadevOOo/runner/stats/FatDataBaseOutProducer.java
index 48fe2062af11..1843577b40d4 100644
--- a/qadevOOo/runner/stats/FatDataBaseOutProducer.java
+++ b/qadevOOo/runner/stats/FatDataBaseOutProducer.java
@@ -63,6 +63,7 @@ public class FatDataBaseOutProducer extends DataBaseOutProducer {
mSqlInput.put("api_version_name", apiVersion);
}
+ @Override
protected boolean prepareDataBase(LogWriter log) {
executeSQLCommand("SHOW TABLES");
@@ -90,6 +91,7 @@ public class FatDataBaseOutProducer extends DataBaseOutProducer {
return true;
}
+ @Override
protected boolean insertEntry(LogWriter log) {
executeSQLCommand("SELECT id AS \"entry.id\", name AS \"entry.name\" FROM entry WHERE name = \"$EntryLongName\";", true);
diff --git a/qadevOOo/runner/stats/FileLogWriter.java b/qadevOOo/runner/stats/FileLogWriter.java
index 953814f16687..22d538df988b 100644
--- a/qadevOOo/runner/stats/FileLogWriter.java
+++ b/qadevOOo/runner/stats/FileLogWriter.java
@@ -75,6 +75,7 @@ public class FileLogWriter extends PrintWriter implements LogWriter {
}
+ @Override
public void println(String msg) {
this.ow = (share.Watcher) entry.UserDefinedParams.get("Watcher");
diff --git a/qadevOOo/runner/stats/InternalLogWriter.java b/qadevOOo/runner/stats/InternalLogWriter.java
index 052baf5b9487..7c4f988b281a 100644
--- a/qadevOOo/runner/stats/InternalLogWriter.java
+++ b/qadevOOo/runner/stats/InternalLogWriter.java
@@ -54,6 +54,7 @@ public class InternalLogWriter extends PrintWriter
* Method to print a line that is added to the StringBuffer.
* @param msg The message that is printed.
*/
+ @Override
public void println(String msg) {
if (active)
super.println(msg);
@@ -63,6 +64,7 @@ public class InternalLogWriter extends PrintWriter
* Method to print to the StringBuffer.
* @param msg The message that is printed.
*/
+ @Override
public void print(String msg) {
if (active)
super.print(msg);
diff --git a/qadevOOo/runner/stats/SimpleLogWriter.java b/qadevOOo/runner/stats/SimpleLogWriter.java
index 2610d9b0a366..b3a236fa798e 100644
--- a/qadevOOo/runner/stats/SimpleLogWriter.java
+++ b/qadevOOo/runner/stats/SimpleLogWriter.java
@@ -51,6 +51,7 @@ public class SimpleLogWriter extends PrintWriter implements LogWriter {
return true;
}
+ @Override
public void println(String msg) {
if ((ow == null) && (entry != null))
{
diff --git a/qadevOOo/runner/util/BookmarkDsc.java b/qadevOOo/runner/util/BookmarkDsc.java
index f650324be0b1..5eb821318380 100644
--- a/qadevOOo/runner/util/BookmarkDsc.java
+++ b/qadevOOo/runner/util/BookmarkDsc.java
@@ -41,14 +41,17 @@ public class BookmarkDsc extends InstDescr {
initBookmark();
}
+ @Override
public String getName() {
return name;
}
+ @Override
public String getIfcName() {
return ifcName;
}
+ @Override
public String getService() {
return service;
}
@@ -60,6 +63,7 @@ public class BookmarkDsc extends InstDescr {
catch( ClassNotFoundException cnfE ) {
}
}
+ @Override
public XInterface createInstance( XMultiServiceFactory docMSF ) {
Object ServiceObj = null;
diff --git a/qadevOOo/runner/util/ControlDsc.java b/qadevOOo/runner/util/ControlDsc.java
index 36fbd1874791..8a99b70645b8 100644
--- a/qadevOOo/runner/util/ControlDsc.java
+++ b/qadevOOo/runner/util/ControlDsc.java
@@ -36,13 +36,16 @@ public class ControlDsc extends InstDescr {
service="com.sun.star.form.component."+kind;
initControl();
}
+ @Override
public String getName() {
return name;
}
+ @Override
public String getIfcName() {
return ifcName;
}
+ @Override
public String getService() {
return service;
}
@@ -54,6 +57,7 @@ public class ControlDsc extends InstDescr {
catch( ClassNotFoundException cnfE ) {
}
}
+ @Override
public XInterface createInstance( XMultiServiceFactory docMSF ) {
Object SrvObj = null;
diff --git a/qadevOOo/runner/util/DefaultDsc.java b/qadevOOo/runner/util/DefaultDsc.java
index 254d43df244f..9aedebb11008 100644
--- a/qadevOOo/runner/util/DefaultDsc.java
+++ b/qadevOOo/runner/util/DefaultDsc.java
@@ -37,13 +37,16 @@ public class DefaultDsc extends InstDescr {
ifcName = Interface;
initDefault();
}
+ @Override
public String getName() {
return name;
}
+ @Override
public String getIfcName() {
return ifcName;
}
+ @Override
public String getService() {
return service;
}
@@ -55,6 +58,7 @@ public class DefaultDsc extends InstDescr {
catch( ClassNotFoundException cnfE ) {
}
}
+ @Override
public XInterface createInstance( XMultiServiceFactory docMSF ) {
Object SrvObj = null;
diff --git a/qadevOOo/runner/util/FootnoteDsc.java b/qadevOOo/runner/util/FootnoteDsc.java
index dfb9ad519269..3e9fb89f2867 100644
--- a/qadevOOo/runner/util/FootnoteDsc.java
+++ b/qadevOOo/runner/util/FootnoteDsc.java
@@ -41,14 +41,17 @@ public class FootnoteDsc extends InstDescr {
initFootnote();
}
+ @Override
public String getName() {
return name;
}
+ @Override
public String getIfcName() {
return ifcName;
}
+ @Override
public String getService() {
return service;
}
@@ -60,6 +63,7 @@ public class FootnoteDsc extends InstDescr {
catch( ClassNotFoundException cnfE ) {
}
}
+ @Override
public XInterface createInstance( XMultiServiceFactory docMSF ) {
Object ServiceObj = null;
diff --git a/qadevOOo/runner/util/FrameDsc.java b/qadevOOo/runner/util/FrameDsc.java
index 8f69fe710eae..0af97f9eedf6 100644
--- a/qadevOOo/runner/util/FrameDsc.java
+++ b/qadevOOo/runner/util/FrameDsc.java
@@ -53,12 +53,15 @@ public class FrameDsc extends InstDescr {
width = nWidth;
initFrame();
}
+ @Override
public String getName() {
return name;
}
+ @Override
public String getIfcName() {
return ifcName;
}
+ @Override
public String getService() {
return service;
}
@@ -70,6 +73,7 @@ public class FrameDsc extends InstDescr {
catch( ClassNotFoundException cnfE ) {
}
}
+ @Override
public XInterface createInstance( XMultiServiceFactory docMSF ) {
Object SrvObj = null;
diff --git a/qadevOOo/runner/util/ParagraphDsc.java b/qadevOOo/runner/util/ParagraphDsc.java
index cdf706759684..65ec021b2d52 100644
--- a/qadevOOo/runner/util/ParagraphDsc.java
+++ b/qadevOOo/runner/util/ParagraphDsc.java
@@ -42,14 +42,17 @@ public class ParagraphDsc extends InstDescr {
initParagraph();
}
+ @Override
public String getName() {
return name;
}
+ @Override
public String getIfcName() {
return ifcName;
}
+ @Override
public String getService() {
return service;
}
@@ -61,6 +64,7 @@ public class ParagraphDsc extends InstDescr {
catch( ClassNotFoundException cnfE ) {
}
}
+ @Override
public XInterface createInstance( XMultiServiceFactory docMSF ) {
Object ServiceObj = null;
diff --git a/qadevOOo/runner/util/ReferenceMarkDsc.java b/qadevOOo/runner/util/ReferenceMarkDsc.java
index 64231e2f1a40..0441a89d0e1e 100644
--- a/qadevOOo/runner/util/ReferenceMarkDsc.java
+++ b/qadevOOo/runner/util/ReferenceMarkDsc.java
@@ -41,14 +41,17 @@ public class ReferenceMarkDsc extends InstDescr {
initReferenceMark();
}
+ @Override
public String getName() {
return name;
}
+ @Override
public String getIfcName() {
return ifcName;
}
+ @Override
public String getService() {
return service;
}
@@ -60,6 +63,7 @@ public class ReferenceMarkDsc extends InstDescr {
catch( ClassNotFoundException cnfE ) {
}
}
+ @Override
public XInterface createInstance( XMultiServiceFactory docMSF ) {
Object ServiceObj = null;
diff --git a/qadevOOo/runner/util/ShapeDsc.java b/qadevOOo/runner/util/ShapeDsc.java
index 9b5814463ee8..faea91984842 100644
--- a/qadevOOo/runner/util/ShapeDsc.java
+++ b/qadevOOo/runner/util/ShapeDsc.java
@@ -44,13 +44,16 @@ public class ShapeDsc extends InstDescr {
service="com.sun.star.drawing."+kind+"Shape";
initShape();
}
+ @Override
public String getName() {
return name;
}
+ @Override
public String getIfcName() {
return ifcName;
}
+ @Override
public String getService() {
return service;
}
@@ -62,6 +65,7 @@ public class ShapeDsc extends InstDescr {
catch( ClassNotFoundException cnfE ) {
}
}
+ @Override
public XInterface createInstance( XMultiServiceFactory docMSF ) {
diff --git a/qadevOOo/runner/util/StyleFamilyDsc.java b/qadevOOo/runner/util/StyleFamilyDsc.java
index 6d180e3dcb96..2a165b0a3d69 100644
--- a/qadevOOo/runner/util/StyleFamilyDsc.java
+++ b/qadevOOo/runner/util/StyleFamilyDsc.java
@@ -35,13 +35,16 @@ public class StyleFamilyDsc extends InstDescr {
service = "com.sun.star.style." + kind;
initStyleFamily();
}
+ @Override
public String getName() {
return name;
}
+ @Override
public String getIfcName() {
return ifcName;
}
+ @Override
public String getService() {
return service;
}
@@ -53,6 +56,7 @@ public class StyleFamilyDsc extends InstDescr {
catch( ClassNotFoundException cnfE ) {
}
}
+ @Override
public XInterface createInstance( XMultiServiceFactory docMSF ) {
diff --git a/qadevOOo/runner/util/TableDsc.java b/qadevOOo/runner/util/TableDsc.java
index 3de8d6bccc29..bfeabf615492 100644
--- a/qadevOOo/runner/util/TableDsc.java
+++ b/qadevOOo/runner/util/TableDsc.java
@@ -49,12 +49,15 @@ public class TableDsc extends InstDescr {
columns = nColumns;
initTable();
}
+ @Override
public String getName() {
return name;
}
+ @Override
public String getIfcName() {
return ifcName;
}
+ @Override
public String getService() {
return service;
}
@@ -66,6 +69,7 @@ public class TableDsc extends InstDescr {
catch( ClassNotFoundException cnfE ) {
}
}
+ @Override
public XInterface createInstance( XMultiServiceFactory docMSF ) {
Object SrvObj = null;
try {
diff --git a/qadevOOo/runner/util/TextSectionDsc.java b/qadevOOo/runner/util/TextSectionDsc.java
index 41d08502c523..bb1a1b13cad7 100644
--- a/qadevOOo/runner/util/TextSectionDsc.java
+++ b/qadevOOo/runner/util/TextSectionDsc.java
@@ -41,14 +41,17 @@ public class TextSectionDsc extends InstDescr {
initTextSection();
}
+ @Override
public String getName() {
return name;
}
+ @Override
public String getIfcName() {
return ifcName;
}
+ @Override
public String getService() {
return service;
}
@@ -60,6 +63,7 @@ public class TextSectionDsc extends InstDescr {
catch( ClassNotFoundException cnfE ) {
}
}
+ @Override
public XInterface createInstance( XMultiServiceFactory docMSF ) {
Object ServiceObj = null;
diff --git a/qadevOOo/runner/util/WaitUnreachable.java b/qadevOOo/runner/util/WaitUnreachable.java
index ab9c4bb7151e..605bf752b305 100644
--- a/qadevOOo/runner/util/WaitUnreachable.java
+++ b/qadevOOo/runner/util/WaitUnreachable.java
@@ -102,6 +102,7 @@ public final class WaitUnreachable {
unreachable = new WaitUnreachable(obj);
}
+ @Override
public void run() {
unreachable.waitUnreachable();
}
diff --git a/qadevOOo/runner/util/XMLTools.java b/qadevOOo/runner/util/XMLTools.java
index 81ff5291d0c3..2ee99cbe4843 100644
--- a/qadevOOo/runner/util/XMLTools.java
+++ b/qadevOOo/runner/util/XMLTools.java
@@ -284,6 +284,7 @@ public class XMLTools {
printXMLData = false ;
}
+ @Override
public void startDocument() {
super.startDocument();
@@ -294,6 +295,7 @@ public class XMLTools {
docStarted = true ;
}
+ @Override
public void endDocument() {
super.endDocument();
if (!docStarted) {
@@ -302,6 +304,7 @@ public class XMLTools {
}
docEnded = true ;
}
+ @Override
public void startElement(String name, XAttributeList attr) {
super.startElement(name, attr);
if (attr == null) {
@@ -311,6 +314,7 @@ public class XMLTools {
}
tagStack.add(0, name) ;
}
+ @Override
public void endElement(String name) {
super.endElement(name);
if (wellFormed) {
@@ -402,6 +406,7 @@ public class XMLTools {
chars.put(ch, outerTag) ;
}
+ @Override
public void startElement(String name, XAttributeList attrs) {
super.startElement(name, attrs) ;
if (tags.containsKey(name)) {
@@ -424,6 +429,7 @@ public class XMLTools {
}
}
+ @Override
public void characters(String ch) {
super.characters(ch) ;
@@ -564,6 +570,7 @@ public class XMLTools {
/**
* Gets tag String description.
*/
+ @Override
public String toString() {
String ret = "<" + name ;
for (int i = 0; i < attrList.length; i++) {
@@ -648,6 +655,7 @@ public class XMLTools {
chars.add(new Object[] {ch.trim(), outerTag}) ;
}
+ @Override
public void startElement(String name, XAttributeList attr) {
try {
super.startElement(name, attr);
@@ -683,6 +691,7 @@ public class XMLTools {
}
}
+ @Override
public void characters(String ch) {
super.characters(ch) ;
for (int i = 0; i < chars.size(); i++) {
@@ -708,6 +717,7 @@ public class XMLTools {
}
}
+ @Override
public void endElement(String name) {
try {
super.endElement(name);
diff --git a/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java b/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java
index 091be8f0f739..0e1c1b55fce3 100644
--- a/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java
+++ b/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java
@@ -557,6 +557,7 @@ public class CheckModuleAPI extends ComplexTestCase
}
}
+ @Override
public String[] getTestMethodNames()
{
return new String[]
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleAction.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleAction.java
index 30dfb2f818aa..bc0de990ced7 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleAction.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleAction.java
@@ -151,6 +151,7 @@ public class _XAccessibleAction extends lib.MultiMethodTest {
/**
* Forces environment recreation.
*/
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java
index 66237639a555..54dc72284519 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java
@@ -608,6 +608,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
/**
* Restores initial component text.
*/
+ @Override
protected void after() {
if (tEnv.getObjRelation("Destroy") != null) {
disposeEnvironment();
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleContext.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleContext.java
index bfcee4da18f1..927658b69bbb 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleContext.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleContext.java
@@ -53,6 +53,7 @@ public class _XAccessibleContext extends MultiMethodTest {
private XAccessible parent = null;
// temporary while accessibility package is in com.sun.star
+ @Override
protected String getTestedClassName() {
return className;
}
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java
index 654cb7af295a..8e8d4e9ba2c6 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java
@@ -72,7 +72,8 @@ public class _XAccessibleEditableText extends MultiMethodTest {
* Retrieves object relation. Stores initial component text
* for restoding it in after.
*/
- protected void before() {
+ @Override
+ protected void before() {
Boolean b = (Boolean)
tEnv.getObjRelation("XAccessibleEditableText.hasAttr");
if (b != null) {
@@ -527,6 +528,7 @@ public class _XAccessibleEditableText extends MultiMethodTest {
/**
* Restores initial component text.
*/
+ @Override
protected void after() {
oObj.setText(initialText);
}
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java
index 1c345dd51542..62e2aac1f3e6 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java
@@ -87,6 +87,7 @@ public class _XAccessibleEventBroadcaster extends MultiMethodTest {
* Retrieves relation.
* @throws StatusException If the relation is not found.
*/
+ @Override
public void before() {
prod = (EventProducer) tEnv.getObjRelation("EventProducer") ;
if (prod == null) {
@@ -193,6 +194,7 @@ public class _XAccessibleEventBroadcaster extends MultiMethodTest {
/**
* Forces environment recreation.
*/
+ @Override
protected void after() {
if (destroy) disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleSelection.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleSelection.java
index a79282d895ea..de8787871b8f 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleSelection.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleSelection.java
@@ -61,6 +61,7 @@ public class _XAccessibleSelection extends MultiMethodTest {
protected boolean OneAlwaysSelected = false;
// temporary while accessibility package is in com.sun.star
+ @Override
protected String getTestedClassName() {
return className;
}
@@ -71,6 +72,7 @@ public class _XAccessibleSelection extends MultiMethodTest {
* @see com.sun.star.accessibility.XAccessibleContext
* @see ifc.accessibility._XAccessibleContext
*/
+ @Override
protected void before() {
xAC = UnoRuntime.queryInterface(
XAccessibleContext.class, oObj);
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleTable.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleTable.java
index f237d60cbc28..ee2400f44813 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleTable.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleTable.java
@@ -58,6 +58,7 @@ public class _XAccessibleTable extends MultiMethodTest {
XAccessibleSelection xASel = null;
XAccessibleContext xACont = null;
+ @Override
protected void before() {
xASel = UnoRuntime.queryInterface(XAccessibleSelection.class, oObj);
if (xASel == null) {
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java
index da2ddc37f8ab..da9e379b32b0 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java
@@ -79,6 +79,7 @@ public class _XAccessibleText extends MultiMethodTest {
* Retrieves a string representation of the component's text.
* The length of retrieved string must be greater than zero.
*/
+ @Override
protected void before() {
Object xat = tEnv.getObjRelation("XAccessibleText");
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java
index 9116fb3fc030..783ba99252a4 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java
@@ -53,6 +53,7 @@ public class _XAccessibleValue extends MultiMethodTest {
private Object val = null;
XAccessibleValue anotherFromGroup = null;
+ @Override
protected void before() {
anotherFromGroup = (XAccessibleValue)tEnv.getObjRelation(
"XAccessibleValue.anotherFromGroup");
@@ -336,6 +337,7 @@ public class _XAccessibleValue extends MultiMethodTest {
/**
* Disposes test environment.
*/
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java
index 8415b12957d1..4951d40382e1 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java
@@ -42,6 +42,7 @@ public class _UnoControlButtonModel extends MultiPropertyTest {
* Redefined method returns value, that differs from property value.
*/
protected PropertyTester ColorTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (util.ValueComparer.equalValue(oldValue, new Integer(17)))
return new Integer(25);
@@ -54,6 +55,7 @@ public class _UnoControlButtonModel extends MultiPropertyTest {
* Redefined method returns value, that differs from property value.
*/
protected PropertyTester BoolTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (util.ValueComparer.equalValue(oldValue, new Boolean(true)))
return new Boolean(false);
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java
index 152350dde606..b9c2d926e6eb 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java
@@ -43,6 +43,7 @@ public class _UnoControlCheckBoxModel extends MultiPropertyTest {
* Redefined method returns value, that differs from property value.
*/
protected PropertyTester ColorTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (util.ValueComparer.equalValue(oldValue, new Integer(17)))
return new Integer(25);
@@ -57,6 +58,7 @@ public class _UnoControlCheckBoxModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -69,6 +71,7 @@ public class _UnoControlCheckBoxModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
if (utils.isVoid(old)) return new Boolean(true) ;
else return null ;
@@ -82,6 +85,7 @@ public class _UnoControlCheckBoxModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
if (utils.isVoid(old)) return new Integer(12345) ;
else return null ;
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlComboBoxModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlComboBoxModel.java
index 1b707165ddfc..13674faea5f7 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlComboBoxModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlComboBoxModel.java
@@ -51,6 +51,7 @@ public class _UnoControlComboBoxModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -63,6 +64,7 @@ public class _UnoControlComboBoxModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -75,6 +77,7 @@ public class _UnoControlComboBoxModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -87,6 +90,7 @@ public class _UnoControlComboBoxModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Boolean(true) : null ;
}
@@ -108,6 +112,7 @@ public class _UnoControlComboBoxModel extends MultiPropertyTest {
* Redefined method returns value, that differs from property value.
*/
protected PropertyTester ColorTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (util.ValueComparer.equalValue(oldValue, new Integer(17)))
return new Integer(25);
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlContainerModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlContainerModel.java
index dfb2f275de2a..92d820caf1f0 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlContainerModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlContainerModel.java
@@ -42,6 +42,7 @@ public class _UnoControlContainerModel extends MultiPropertyTest {
* Redefined method returns value, that differs from property value.
*/
protected PropertyTester ColorTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (util.ValueComparer.equalValue(oldValue, new Integer(17)))
return new Integer(25);
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlCurrencyFieldModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlCurrencyFieldModel.java
index a776520ca430..17bc0a67b987 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlCurrencyFieldModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlCurrencyFieldModel.java
@@ -54,6 +54,7 @@ public class _UnoControlCurrencyFieldModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return utils.isVoid(old) ? new Integer(6543) : null ;
}
@@ -66,6 +67,7 @@ public class _UnoControlCurrencyFieldModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return utils.isVoid(old) ? new Boolean(true) : null ;
}
@@ -78,6 +80,7 @@ public class _UnoControlCurrencyFieldModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -90,6 +93,7 @@ public class _UnoControlCurrencyFieldModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return utils.isVoid(old) ? new Integer(123) : null ;
}
@@ -102,6 +106,7 @@ public class _UnoControlCurrencyFieldModel extends MultiPropertyTest {
*/
public void _TextLineColor() {
testProperty("TextLineColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return utils.isVoid(old) ? new Integer(123) : null ;
}
@@ -114,6 +119,7 @@ public class _UnoControlCurrencyFieldModel extends MultiPropertyTest {
*/
public void _Value() {
testProperty("Value", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return utils.isVoid(old) ? new Double(777) :
super.getNewValue(prop, old) ;
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlDateFieldModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlDateFieldModel.java
index 4134afe1bd31..a9f8626754b0 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlDateFieldModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlDateFieldModel.java
@@ -53,6 +53,7 @@ public class _UnoControlDateFieldModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return utils.isVoid(old) ? new Integer(6543) : null ;
}
@@ -65,6 +66,7 @@ public class _UnoControlDateFieldModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -78,6 +80,7 @@ public class _UnoControlDateFieldModel extends MultiPropertyTest {
*/
public void _Date() {
testProperty("Date", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return utils.isVoid(old) ? new Integer(6543) :
super.getNewValue(prop, old) ;
@@ -91,6 +94,7 @@ public class _UnoControlDateFieldModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return utils.isVoid(old) ? new Boolean(true) : null ;
}
@@ -103,6 +107,7 @@ public class _UnoControlDateFieldModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return utils.isVoid(old) ? new Integer(123) : null ;
}
@@ -113,6 +118,7 @@ public class _UnoControlDateFieldModel extends MultiPropertyTest {
* Redefined method returns value, that differs from property value.
*/
protected PropertyTester ColorTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (util.ValueComparer.equalValue(oldValue, new Integer(17)))
return new Integer(25);
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlDialogModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlDialogModel.java
index 1dc8e5e5b1c0..7d4216d39cd3 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlDialogModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlDialogModel.java
@@ -45,6 +45,7 @@ public class _UnoControlDialogModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -57,6 +58,7 @@ public class _UnoControlDialogModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -69,6 +71,7 @@ public class _UnoControlDialogModel extends MultiPropertyTest {
*/
public void _TextLineColor() {
testProperty("TextLineColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlEditModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlEditModel.java
index f09d727855b0..4820a9163cad 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlEditModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlEditModel.java
@@ -55,6 +55,7 @@ public class _UnoControlEditModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -67,6 +68,7 @@ public class _UnoControlEditModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -79,6 +81,7 @@ public class _UnoControlEditModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -91,6 +94,7 @@ public class _UnoControlEditModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Boolean(true) : null ;
}
@@ -101,6 +105,7 @@ public class _UnoControlEditModel extends MultiPropertyTest {
* Redefined method returns value, that differs from property value.
*/
protected PropertyTester ColorTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (util.ValueComparer.equalValue(oldValue, new Integer(17)))
return new Integer(25);
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java
index d55e56e4ab48..97354b886738 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java
@@ -51,6 +51,7 @@ public class _UnoControlFileControlModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -63,6 +64,7 @@ public class _UnoControlFileControlModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -75,6 +77,7 @@ public class _UnoControlFileControlModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -87,6 +90,7 @@ public class _UnoControlFileControlModel extends MultiPropertyTest {
*/
public void _TextLineColor() {
testProperty("TextLineColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -99,6 +103,7 @@ public class _UnoControlFileControlModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Boolean(true) : null ;
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlFixedLineModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlFixedLineModel.java
index 6167caf4d086..52bf9fd262c8 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlFixedLineModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlFixedLineModel.java
@@ -46,6 +46,7 @@ public class _UnoControlFixedLineModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -58,6 +59,7 @@ public class _UnoControlFixedLineModel extends MultiPropertyTest {
*/
public void _TextLineColor() {
testProperty("TextLineColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlFixedTextModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlFixedTextModel.java
index 889d8aaa86f1..dd4ee692761a 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlFixedTextModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlFixedTextModel.java
@@ -48,6 +48,7 @@ public class _UnoControlFixedTextModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -60,6 +61,7 @@ public class _UnoControlFixedTextModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -72,6 +74,7 @@ public class _UnoControlFixedTextModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -82,6 +85,7 @@ public class _UnoControlFixedTextModel extends MultiPropertyTest {
* Redefined method returns value, that differs from property value.
*/
protected PropertyTester ColorTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (util.ValueComparer.equalValue(oldValue, new Integer(17)))
return new Integer(25);
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlFormattedFieldModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlFormattedFieldModel.java
index 61471d9c7bc0..ae22942e0138 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlFormattedFieldModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlFormattedFieldModel.java
@@ -59,6 +59,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
*
*/
protected PropertyTester ControlTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (util.ValueComparer.equalValue(oldValue,
"com.sun.star.form.control.FormattedField"))
@@ -82,6 +83,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -94,6 +96,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object v) {
return utils.isVoid(v) ? new Integer(123) :
super.getNewValue(p,v) ;
@@ -107,6 +110,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
*/
public void _TextLineColor() {
testProperty("TextLineColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object v) {
return utils.isVoid(v) ? new Integer(123) :
super.getNewValue(p,v) ;
@@ -120,6 +124,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object v) {
return utils.isVoid(v) ? new Integer(123) :
super.getNewValue(p,v) ;
@@ -149,6 +154,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
*/
public void _EffectiveMax() {
testProperty("EffectiveMax", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object v) {
return utils.isVoid(v) ? new Double(123.8) :
super.getNewValue(p,v) ;
@@ -162,6 +168,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
*/
public void _FormatsSupplier() {
testProperty("FormatsSupplier", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object v) {
Object newValue = null;
try {
@@ -179,6 +186,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
*/
public void _EffectiveMin() {
testProperty("EffectiveMin", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object v) {
return utils.isVoid(v) ? new Double(0.1) :
super.getNewValue(p,v) ;
@@ -192,6 +200,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
*/
public void _FormatKey() {
testProperty("FormatKey", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object v) {
return utils.isVoid(v) ? new Integer(0) :
super.getNewValue(p,v) ;
@@ -205,6 +214,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
*/
public void _StrictFromat() {
testProperty("StrictFromat", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object v) {
return utils.isVoid(v) ? new Boolean(true) :
super.getNewValue(p,v) ;
@@ -218,6 +228,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object v) {
return utils.isVoid(v) ? new Boolean(true) :
null ;
@@ -231,6 +242,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
*/
public void _Text() {
testProperty("Text", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object v) {
return utils.isVoid(v) ? "UnoControlFormattedFieldModel" :
super.getNewValue(p,v) ;
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlGroupBoxModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlGroupBoxModel.java
index e330485bd669..965b96aa2eb5 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlGroupBoxModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlGroupBoxModel.java
@@ -44,6 +44,7 @@ public class _UnoControlGroupBoxModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) :
super.getNewValue(p, old) ;
@@ -55,6 +56,7 @@ public class _UnoControlGroupBoxModel extends MultiPropertyTest {
* Redefined method returns value, that differs from property value.
*/
protected PropertyTester ColorTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (util.ValueComparer.equalValue(oldValue, new Integer(17)))
return new Integer(25);
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlImageControlModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlImageControlModel.java
index d2cdbb4cabb8..518644321931 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlImageControlModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlImageControlModel.java
@@ -42,6 +42,7 @@ public class _UnoControlImageControlModel extends MultiPropertyTest {
* Custom PropertyTester used in ImageURL test.
*/
protected PropertyTester URLTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
if (oldValue.equals(util.utils.getFullTestURL("space-metal.jpg")))
@@ -64,6 +65,7 @@ public class _UnoControlImageControlModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
return utils.isVoid(oldValue) ? new Integer(8945) :
super.getNewValue(propName, oldValue) ;
@@ -77,6 +79,7 @@ public class _UnoControlImageControlModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -89,6 +92,7 @@ public class _UnoControlImageControlModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object v) {
return utils.isVoid(v) ? new Boolean(true) :
null ;
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlListBoxModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlListBoxModel.java
index 4f97111aaa2c..49c1377e4012 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlListBoxModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlListBoxModel.java
@@ -51,6 +51,7 @@ public class _UnoControlListBoxModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -63,6 +64,7 @@ public class _UnoControlListBoxModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -75,6 +77,7 @@ public class _UnoControlListBoxModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -87,6 +90,7 @@ public class _UnoControlListBoxModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Boolean(true) : null ;
}
@@ -97,6 +101,7 @@ public class _UnoControlListBoxModel extends MultiPropertyTest {
* Redefined method returns value, that differs from property value.
*/
protected PropertyTester ColorTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (util.ValueComparer.equalValue(oldValue, new Integer(17)))
return new Integer(25);
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlNumericFieldModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlNumericFieldModel.java
index d2860168f206..724ac84e975d 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlNumericFieldModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlNumericFieldModel.java
@@ -54,6 +54,7 @@ public class _UnoControlNumericFieldModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -66,6 +67,7 @@ public class _UnoControlNumericFieldModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -78,6 +80,7 @@ public class _UnoControlNumericFieldModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -90,6 +93,7 @@ public class _UnoControlNumericFieldModel extends MultiPropertyTest {
*/
public void _TextLineColor() {
testProperty("TextLineColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -102,6 +106,7 @@ public class _UnoControlNumericFieldModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Boolean(true) : null ;
}
@@ -114,6 +119,7 @@ public class _UnoControlNumericFieldModel extends MultiPropertyTest {
*/
public void _Value() {
testProperty("Value", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Double(234.89) :
super.getNewValue(p, old) ;
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlPatternFieldModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlPatternFieldModel.java
index ca6f8a93b9a3..0cbd17cd9d40 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlPatternFieldModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlPatternFieldModel.java
@@ -50,6 +50,7 @@ public class _UnoControlPatternFieldModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -62,6 +63,7 @@ public class _UnoControlPatternFieldModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -74,6 +76,7 @@ public class _UnoControlPatternFieldModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -86,6 +89,7 @@ public class _UnoControlPatternFieldModel extends MultiPropertyTest {
*/
public void _TextLineColor() {
testProperty("TextLineColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -98,6 +102,7 @@ public class _UnoControlPatternFieldModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Boolean(true) : null ;
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlProgressBarModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlProgressBarModel.java
index a60a40192862..cc1bca447949 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlProgressBarModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlProgressBarModel.java
@@ -48,6 +48,7 @@ public class _UnoControlProgressBarModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -60,6 +61,7 @@ public class _UnoControlProgressBarModel extends MultiPropertyTest {
*/
public void _FillColor() {
testProperty("FillColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -72,6 +74,7 @@ public class _UnoControlProgressBarModel extends MultiPropertyTest {
*/
public void _ProgressValue() {
testProperty("ProgressValue", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(10) : null ;
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlRadioButtonModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlRadioButtonModel.java
index 5d8faa2158b5..84302c1484a4 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlRadioButtonModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlRadioButtonModel.java
@@ -45,6 +45,7 @@ public class _UnoControlRadioButtonModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -57,6 +58,7 @@ public class _UnoControlRadioButtonModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Boolean(true) : null ;
}
@@ -67,6 +69,7 @@ public class _UnoControlRadioButtonModel extends MultiPropertyTest {
* Redefined method returns value, that differs from property value.
*/
protected PropertyTester ColorTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (util.ValueComparer.equalValue(oldValue, new Integer(17)))
return new Integer(25);
@@ -90,6 +93,7 @@ public class _UnoControlRadioButtonModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java
index c503adc3c379..77d75160716e 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java
@@ -49,6 +49,7 @@ public class _UnoControlScrollBarModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(32768) : null ;
}
@@ -61,6 +62,7 @@ public class _UnoControlScrollBarModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -73,6 +75,7 @@ public class _UnoControlScrollBarModel extends MultiPropertyTest {
*/
public void _SymbolColor() {
testProperty("SymbolColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(65324) : null ;
}
@@ -85,6 +88,7 @@ public class _UnoControlScrollBarModel extends MultiPropertyTest {
*/
public void _ScrollValue() {
testProperty("ScrollValue", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(10) : new Integer(15) ;
}
@@ -97,6 +101,7 @@ public class _UnoControlScrollBarModel extends MultiPropertyTest {
*/
public void _VisibleSize() {
testProperty("VisibleSize", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(10) : null ;
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java
index d48ff910cbbb..7c4fd15a288f 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java
@@ -29,6 +29,7 @@ public class _UnoControlSpinButtonModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(32768) : null ;
}
@@ -41,6 +42,7 @@ public class _UnoControlSpinButtonModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -53,6 +55,7 @@ public class _UnoControlSpinButtonModel extends MultiPropertyTest {
*/
public void _SymbolColor() {
testProperty("SymbolColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(65324) : null ;
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlTimeFieldModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlTimeFieldModel.java
index 013ec9c5262c..13824c0da596 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlTimeFieldModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlTimeFieldModel.java
@@ -58,6 +58,7 @@ public class _UnoControlTimeFieldModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -70,6 +71,7 @@ public class _UnoControlTimeFieldModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -82,6 +84,7 @@ public class _UnoControlTimeFieldModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -94,6 +97,7 @@ public class _UnoControlTimeFieldModel extends MultiPropertyTest {
*/
public void _TextLineColor() {
testProperty("TextLineColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -106,6 +110,7 @@ public class _UnoControlTimeFieldModel extends MultiPropertyTest {
*/
public void _Time() {
testProperty("Time", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) :
super.getNewValue(p, old) ;
@@ -119,6 +124,7 @@ public class _UnoControlTimeFieldModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Boolean(true) : null ;
}
diff --git a/qadevOOo/tests/java/ifc/awt/_XDataTransferProviderAccess.java b/qadevOOo/tests/java/ifc/awt/_XDataTransferProviderAccess.java
index 6e40508f556f..54c273a708e5 100644
--- a/qadevOOo/tests/java/ifc/awt/_XDataTransferProviderAccess.java
+++ b/qadevOOo/tests/java/ifc/awt/_XDataTransferProviderAccess.java
@@ -57,6 +57,7 @@ public class _XDataTransferProviderAccess extends MultiMethodTest {
* Retrieves object relations.
* @throws StatusException If one of relations not found.
*/
+ @Override
public void before() {
win = (XWindow) tEnv.getObjRelation
("XDataTransferProviderAccess.XWindow") ;
diff --git a/qadevOOo/tests/java/ifc/awt/_XDialog.java b/qadevOOo/tests/java/ifc/awt/_XDialog.java
index 8f5eeefd0f06..8b9f6aa527b7 100644
--- a/qadevOOo/tests/java/ifc/awt/_XDialog.java
+++ b/qadevOOo/tests/java/ifc/awt/_XDialog.java
@@ -141,6 +141,7 @@ public class _XDialog extends MultiMethodTest {
/**
* Disposes object environment.
*/
+ @Override
public void after() {
disposeEnvironment() ;
}
diff --git a/qadevOOo/tests/java/ifc/awt/_XImageProducer.java b/qadevOOo/tests/java/ifc/awt/_XImageProducer.java
index 681a46a831c7..70b4d9322e04 100644
--- a/qadevOOo/tests/java/ifc/awt/_XImageProducer.java
+++ b/qadevOOo/tests/java/ifc/awt/_XImageProducer.java
@@ -95,6 +95,7 @@ public class _XImageProducer extends MultiMethodTest {
/**
* Creates a new XImageConsumer implementation.
*/
+ @Override
public void before() {
consumer = new TestImageConsumer(log) ;
}
diff --git a/qadevOOo/tests/java/ifc/awt/_XItemListener.java b/qadevOOo/tests/java/ifc/awt/_XItemListener.java
index f8def1598a50..8bd31ed04ba8 100644
--- a/qadevOOo/tests/java/ifc/awt/_XItemListener.java
+++ b/qadevOOo/tests/java/ifc/awt/_XItemListener.java
@@ -70,6 +70,7 @@ public class _XItemListener extends MultiMethodTest {
* Retrieves object relation.
* @throws StatusException If the relation not found.
*/
+ @Override
public void before() {
itemListener = (TestItemListener) tEnv.getObjRelation("TestItemListener") ;
if (itemListener == null)
diff --git a/qadevOOo/tests/java/ifc/awt/_XListBox.java b/qadevOOo/tests/java/ifc/awt/_XListBox.java
index e8c128025678..7d49ee226a50 100644
--- a/qadevOOo/tests/java/ifc/awt/_XListBox.java
+++ b/qadevOOo/tests/java/ifc/awt/_XListBox.java
@@ -103,6 +103,7 @@ public class _XListBox extends MultiMethodTest {
* Retrieves object relations.
* @throws StatusException If one of relations not found.
*/
+ @Override
public void before() {
itemCount = oObj.getItemCount();
}
diff --git a/qadevOOo/tests/java/ifc/awt/_XTextComponent.java b/qadevOOo/tests/java/ifc/awt/_XTextComponent.java
index cce6b8cdecf0..ae8de12c7efa 100644
--- a/qadevOOo/tests/java/ifc/awt/_XTextComponent.java
+++ b/qadevOOo/tests/java/ifc/awt/_XTextComponent.java
@@ -75,6 +75,7 @@ public class _XTextComponent extends MultiMethodTest {
* Retrieves object relation, then sets flag 'num' to 'true'
* if relation is not null.
*/
+ @Override
public void before() {
if (tEnv.getObjRelation("XTextComponent.onlyNumbers") != null)
num = true;
diff --git a/qadevOOo/tests/java/ifc/awt/_XTextListener.java b/qadevOOo/tests/java/ifc/awt/_XTextListener.java
index 632422e9bf8f..ded65478433d 100644
--- a/qadevOOo/tests/java/ifc/awt/_XTextListener.java
+++ b/qadevOOo/tests/java/ifc/awt/_XTextListener.java
@@ -72,6 +72,7 @@ public class _XTextListener extends MultiMethodTest {
* Retrieves object relation.
* @throws StatusException If the relation not found.
*/
+ @Override
public void before() {
textListener = (TestTextListener)
tEnv.getObjRelation("TestTextListener");
@@ -110,6 +111,7 @@ public class _XTextListener extends MultiMethodTest {
/**
* Forces environment recreation.
*/
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/awt/_XTopWindow.java b/qadevOOo/tests/java/ifc/awt/_XTopWindow.java
index 3c9cf9e5ba2b..290f4de21670 100644
--- a/qadevOOo/tests/java/ifc/awt/_XTopWindow.java
+++ b/qadevOOo/tests/java/ifc/awt/_XTopWindow.java
@@ -95,6 +95,7 @@ public class _XTopWindow extends MultiMethodTest {
XTextDocument aTextDoc = null;
+ @Override
protected void before() {
aTextDoc = util.WriterTools.createTextDoc(tParam.getMSF());
}
@@ -181,6 +182,7 @@ public class _XTopWindow extends MultiMethodTest {
/**
* Disposes the document created in before method.
*/
+ @Override
protected void after() {
aTextDoc.dispose();
}
diff --git a/qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java b/qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java
index 451c1d7852c3..daf791ede429 100644
--- a/qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java
+++ b/qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java
@@ -51,6 +51,7 @@ public class _XUnoControlContainer extends MultiMethodTest {
* This method gets the object relations.
*
*/
+ @Override
protected void before() {
tabControl1 = (XTabController) tEnv.getObjRelation("TABCONTROL1");
diff --git a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java
index 9b3a2b54a709..7440670bf68e 100644
--- a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java
+++ b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java
@@ -93,6 +93,7 @@ public class _XUserInputInterception extends MultiMethodTest {
/** get the object rlation XUserInputInterception.XModel from the
* test environment
*/
+ @Override
protected void before() {
log.print("try to get object relation 'XUserInputInterception.XModel': ");
m_XModel = (XModel)tEnv.getObjRelation("XUserInputInterception.XModel");
@@ -235,6 +236,7 @@ public class _XUserInputInterception extends MultiMethodTest {
/**
* Forces environment recreation.
*/
+ @Override
protected void after() {
disposeEnvironment();
}
@@ -432,6 +434,7 @@ public class _XUserInputInterception extends MultiMethodTest {
*
*
*/
+ @Override
public void run(){
switch (this.eventType){
diff --git a/qadevOOo/tests/java/ifc/awt/_XView.java b/qadevOOo/tests/java/ifc/awt/_XView.java
index 36fda94fd470..a7858d037dc5 100644
--- a/qadevOOo/tests/java/ifc/awt/_XView.java
+++ b/qadevOOo/tests/java/ifc/awt/_XView.java
@@ -126,6 +126,7 @@ public class _XView extends MultiMethodTest {
/**
* Forces environment recreation.
*/
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java b/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java
index 75060dc1b36b..1c8cd3c1be29 100644
--- a/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java
+++ b/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java
@@ -51,6 +51,7 @@ public class _XMutableTreeNode extends MultiMethodTest {
public XMutableTreeNode createNode(String name);
}
+ @Override
public void before(){
nodeCreator = (XMutableTreeNodeCreator) tEnv.getObjRelation("XMutableTreeNodeCreator");
if (nodeCreator == null){
diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java b/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java
index 0a939d78287b..ff19b9cac4f2 100644
--- a/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java
+++ b/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java
@@ -203,6 +203,7 @@ public class _XTreeControl extends MultiMethodTest {
mTreeNodeEdit2 = false;
}
+ @Override
public void before(){
mXNode = (XMutableTreeNode) tEnv.getObjRelation("XTreeControl_Node");
if (mXNode == null) {
diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XTreeDataModel.java b/qadevOOo/tests/java/ifc/awt/tree/_XTreeDataModel.java
index dc81150b8907..92e1d56714fc 100644
--- a/qadevOOo/tests/java/ifc/awt/tree/_XTreeDataModel.java
+++ b/qadevOOo/tests/java/ifc/awt/tree/_XTreeDataModel.java
@@ -102,6 +102,7 @@ public class _XTreeDataModel extends MultiMethodTest {
}
+ @Override
public void before(){
mListenerEvent = (XTreeDataModelListenerEvent) tEnv.getObjRelation("XTreeDataModelListenerEvent");
if (mListenerEvent == null) {
diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java b/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java
index a425cf590f43..498a9ecb7019 100644
--- a/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java
+++ b/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java
@@ -53,6 +53,7 @@ public class _XTreeNode extends MultiMethodTest {
String msNodeGraphicURL = null;
+ @Override
public void before(){
msDisplayValue = (String) tEnv.getObjRelation("XTreeNode_DisplayValue");
if (msDisplayValue == null){
diff --git a/qadevOOo/tests/java/ifc/beans/_XExactName.java b/qadevOOo/tests/java/ifc/beans/_XExactName.java
index e33435e530ad..ab8f6f96572d 100644
--- a/qadevOOo/tests/java/ifc/beans/_XExactName.java
+++ b/qadevOOo/tests/java/ifc/beans/_XExactName.java
@@ -74,6 +74,7 @@ public class _XExactName extends MultiMethodTest {
* Checking if the Object relation expectedName is given
* throw a StatusException if not.
*/
+ @Override
protected void before() {
expectedName = (String) tEnv.getObjRelation("expectedName");
diff --git a/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java
index 6ee8c0c611c9..c30fc2bcfbc0 100644
--- a/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java
@@ -62,7 +62,8 @@ public class _XFastPropertySet extends MultiMethodTest {
/**
* Retrieves relation.
*/
- protected void before() {
+ @Override
+ protected void before() {
exclude = (Set) tEnv.getObjRelation("XFastPropertySet.ExcludeProps") ;
if (exclude == null) {
exclude = new java.util.HashSet() ;
diff --git a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
index 9fe62d5442f5..7b000c059a2e 100644
--- a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
@@ -76,6 +76,7 @@ public class _XMultiPropertySet extends MultiMethodTest {
/**
* Initializes some fields.
*/
+ @Override
public void before() {
exclProps = (Set) tEnv.getObjRelation("XMultiPropertySet.ExcludeProps");
if (exclProps == null) exclProps = new HashSet(0);
@@ -354,6 +355,7 @@ public class _XMultiPropertySet extends MultiMethodTest {
/*
* Does nothing.
*/
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/beans/_XMultiPropertyStates.java b/qadevOOo/tests/java/ifc/beans/_XMultiPropertyStates.java
index bbe5fa1916ba..81836c2c9b26 100644
--- a/qadevOOo/tests/java/ifc/beans/_XMultiPropertyStates.java
+++ b/qadevOOo/tests/java/ifc/beans/_XMultiPropertyStates.java
@@ -49,6 +49,7 @@ public class _XMultiPropertyStates extends MultiMethodTest {
private PropertyState[] states = null;
private String[] names = null;
+ @Override
public void before() {
names = (String[]) tEnv.getObjRelation("PropertyNames");
if (names == null) {
diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java b/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java
index 0a7d55aa2cad..0b05dbea4fe4 100644
--- a/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java
+++ b/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java
@@ -55,6 +55,7 @@ public class _XPropertyAccess extends MultiMethodTest {
* checks if the object relation XPropertyAccess.propertyToChange
* is available
*/
+ @Override
public void before() {
propertyToChange = (PropertyValue) tEnv.getObjRelation("XPropertyAccess.propertyToChange");
if (propertyToChange == null) {
diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertyContainer.java b/qadevOOo/tests/java/ifc/beans/_XPropertyContainer.java
index 5befa68df01b..53274d15cffc 100644
--- a/qadevOOo/tests/java/ifc/beans/_XPropertyContainer.java
+++ b/qadevOOo/tests/java/ifc/beans/_XPropertyContainer.java
@@ -55,6 +55,7 @@ public class _XPropertyContainer extends MultiMethodTest {
* checks if the object relation XPropertyAccess.propertyNotRemovable
* is available
*/
+ @Override
public void before() {
propertyNotRemovable = (String) tEnv.getObjRelation("XPropertyContainer.propertyNotRemovable");
if (propertyNotRemovable == null) {
diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XPropertySet.java
index a31542c19330..17ab69014769 100644
--- a/qadevOOo/tests/java/ifc/beans/_XPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XPropertySet.java
@@ -657,6 +657,7 @@ public class _XPropertySet extends MultiMethodTest {
/**
* Forces environment recreation.
*/
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertyState.java b/qadevOOo/tests/java/ifc/beans/_XPropertyState.java
index babc1c463fa1..046e1ef30220 100644
--- a/qadevOOo/tests/java/ifc/beans/_XPropertyState.java
+++ b/qadevOOo/tests/java/ifc/beans/_XPropertyState.java
@@ -69,6 +69,7 @@ public class _XPropertyState extends MultiMethodTest {
* @throws StatusException If XPropertySet is not
* implemented by object.
*/
+ @Override
public void before() throws StatusException {
oPS = UnoRuntime.queryInterface( XPropertySet.class, oObj );
if (oPS == null)
@@ -256,6 +257,7 @@ public class _XPropertyState extends MultiMethodTest {
tRes.tested("setPropertyToDefault()", result);
}
+ @Override
public void after() {
disposeEnvironment() ;
}
diff --git a/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java
index 5d38019a41d6..8b5bb5c0b4c8 100644
--- a/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java
@@ -56,6 +56,7 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest {
* to get the direct properties
* Throws a lib StatusException if the Component doesn't support XPropertySet or XPropertyState
*/
+ @Override
public void before() {
PS = UnoRuntime.queryInterface(XPropertySet.class,
tEnv.getTestObject());
diff --git a/qadevOOo/tests/java/ifc/bridge/_XBridge.java b/qadevOOo/tests/java/ifc/bridge/_XBridge.java
index cbae96813c40..4e1833284461 100644
--- a/qadevOOo/tests/java/ifc/bridge/_XBridge.java
+++ b/qadevOOo/tests/java/ifc/bridge/_XBridge.java
@@ -60,6 +60,7 @@ public class _XBridge extends MultiMethodTest {
* Retrieves object relations.
* @throws StatusException If one of relations not found.
*/
+ @Override
public void before() {
args = (Object[])tEnv.getObjRelation("XInitialization.args");
@@ -131,6 +132,7 @@ public class _XBridge extends MultiMethodTest {
/**
* Disposes object environment.
*/
+ @Override
public void after() {
disposeEnvironment() ;
}
diff --git a/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java b/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
index 4f983612c216..f61eb5457f21 100644
--- a/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
+++ b/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
@@ -50,6 +50,7 @@ public class _XBridgeFactory extends MultiMethodTest {
/**
* Interrupts the acceptor after test is finished
*/
+ @Override
protected void after() {
acceptorThread.acc.stopAccepting();
if (acceptorThread.isAlive()) {
@@ -86,6 +87,7 @@ public class _XBridgeFactory extends MultiMethodTest {
/**
* Call accept() method.
*/
+ @Override
public void run() {
try {
acceptedCall = acc.accept(connectString);
diff --git a/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java b/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java
index 22e191fe01a5..15acdcd47b44 100644
--- a/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java
+++ b/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java
@@ -107,6 +107,7 @@ public class _XUnoUrlResolver extends MultiMethodTest {
this.connectString = connectString;
}
+ @Override
public void run() {
try {
// create a connection
diff --git a/qadevOOo/tests/java/ifc/chart/_BarDiagram.java b/qadevOOo/tests/java/ifc/chart/_BarDiagram.java
index 601b6e0e570a..5b546774bf9b 100644
--- a/qadevOOo/tests/java/ifc/chart/_BarDiagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_BarDiagram.java
@@ -60,6 +60,7 @@ public class _BarDiagram extends MultiPropertyTest {
* Retrieves object relations and prepares a chart document.
* @throws StatusException if one of relations not found.
*/
+ @Override
protected void before() {
log.println("Setting Diagram type to BarDiagram");
doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
@@ -98,11 +99,13 @@ public class _BarDiagram extends MultiPropertyTest {
/**
* Sets the old diagram for a chart document.
*/
+ @Override
protected void after() {
doc.setDiagram(oldDiagram);
}
protected PropertyTester LineTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
int a = 0;
diff --git a/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java b/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java
index 99bb00065ddb..a255ae217414 100644
--- a/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java
+++ b/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java
@@ -50,6 +50,7 @@ public class _Chart3DBarProperties extends MultiPropertyTest {
* Retrieves object relations and prepares a chart document.
* @throws StatusException if one of relations not found.
*/
+ @Override
protected void before() {
log.println("Setting Diagram type to BarDiagram");
XChartDocument doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
@@ -87,6 +88,7 @@ public class _Chart3DBarProperties extends MultiPropertyTest {
/**
* Sets the diagram back to 2D as 2D rendering is much faster for the following tests.
*/
+ @Override
protected void after() {
log.println("Setting Diagram back to 2D");
XChartDocument doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartAxis.java b/qadevOOo/tests/java/ifc/chart/_ChartAxis.java
index dfd9bacc1288..e4932e7e021b 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartAxis.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartAxis.java
@@ -145,6 +145,7 @@ public class _ChartAxis extends MultiPropertyTest {
}
protected PropertyTester StepMainTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
Double ValueToSet = (Double) ValueChanger.changePValue(oldValue);
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartAxisYSupplier.java b/qadevOOo/tests/java/ifc/chart/_ChartAxisYSupplier.java
index 0253e8c34cfe..62eb9748fbba 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartAxisYSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartAxisYSupplier.java
@@ -49,6 +49,7 @@ public class _ChartAxisYSupplier extends MultiPropertyTest {
* Retrieves object relations and prepares a chart document.
* @throws StatusException if one of relations not found.
*/
+ @Override
protected void before() {
XChartDocument doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
if (doc == null) throw new StatusException(Status.failed
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartAxisZSupplier.java b/qadevOOo/tests/java/ifc/chart/_ChartAxisZSupplier.java
index 42ba8b17af78..33e2e8afec10 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartAxisZSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartAxisZSupplier.java
@@ -52,6 +52,7 @@ public class _ChartAxisZSupplier extends MultiPropertyTest {
* Retrieves object relations and prepares a chart document.
* @throws StatusException if one of relations not found.
*/
+ @Override
protected void before() {
log.println("Setting Diagram type to BarDiagram");
XChartDocument doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
@@ -186,6 +187,7 @@ public class _ChartAxisZSupplier extends MultiPropertyTest {
/**
* Forces environment recreation.
*/
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java b/qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java
index 7f7c878ab934..acf8e50b19bc 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java
@@ -54,6 +54,7 @@ public class _ChartDataPointProperties extends MultiPropertyTest {
* Retrieves object relations and prepares a chart document.
* @throws StatusException if one of relations not found.
*/
+ @Override
protected void before() {
log.println("Setting Diagram type to LineDiagram");
XChartDocument doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
@@ -68,6 +69,7 @@ public class _ChartDataPointProperties extends MultiPropertyTest {
}
protected PropertyTester URLTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
return utils.getFullTestURL("space-metal.jpg");
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartStatistics.java b/qadevOOo/tests/java/ifc/chart/_ChartStatistics.java
index d7f3be6cf9e4..3abbcc03cb14 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartStatistics.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartStatistics.java
@@ -52,6 +52,7 @@ public class _ChartStatistics extends MultiPropertyTest {
* Retrieves object relations and prepares a chart document.
* @throws StatusException if one of relations not found.
*/
+ @Override
protected void before() {
log.println("Setting Diagram type to LineDiagram");
XChartDocument doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartTableAddressSupplier.java b/qadevOOo/tests/java/ifc/chart/_ChartTableAddressSupplier.java
index 4165d5bdef3d..f3cf71a2500c 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartTableAddressSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartTableAddressSupplier.java
@@ -40,6 +40,7 @@ public class _ChartTableAddressSupplier extends MultiPropertyTest {
*/
public void _SeriesAddresses() {
testProperty("SeriesAddresses", new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
ChartSeriesAddress[] addr = (ChartSeriesAddress[]) oldValue ;
ChartSeriesAddress[] newAddr = null ;
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartTitle.java b/qadevOOo/tests/java/ifc/chart/_ChartTitle.java
index cb32e34bf974..29078ec3fb6d 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartTitle.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartTitle.java
@@ -37,6 +37,7 @@ public class _ChartTitle extends MultiPropertyTest {
*/
public void _TextRotation() {
testProperty("TextRotation", new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
Object ValueToSet = ValueChanger.changePValue(oldValue);
int ro = ((Integer) ValueToSet).intValue() * 100;
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisXSupplier.java b/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisXSupplier.java
index 10b1345a6248..9cbcd9ed0d0e 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisXSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisXSupplier.java
@@ -52,6 +52,7 @@ public class _ChartTwoAxisXSupplier extends MultiPropertyTest {
* Retrieves object relations and prepares a chart document.
* @throws StatusException if one of relations not found.
*/
+ @Override
protected void before() {
log.println("Setting Diagram type to BarDiagram");
doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
@@ -91,6 +92,7 @@ public class _ChartTwoAxisXSupplier extends MultiPropertyTest {
/**
* Sets the old diagram for a chart document.
*/
+ @Override
protected void after() {
doc.setDiagram(oldDiagram);
}
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisYSupplier.java b/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisYSupplier.java
index 1333c6011b89..588242ad6a3d 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisYSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisYSupplier.java
@@ -52,6 +52,7 @@ public class _ChartTwoAxisYSupplier extends MultiPropertyTest {
* Retrieves object relations and prepares a chart document.
* @throws StatusException if one of relations not found.
*/
+ @Override
protected void before() {
log.println("Setting Diagram type to BarDiagram");
doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
@@ -91,6 +92,7 @@ public class _ChartTwoAxisYSupplier extends MultiPropertyTest {
/**
* Sets the old diagram for a chart document.
*/
+ @Override
protected void after() {
doc.setDiagram(oldDiagram);
}
diff --git a/qadevOOo/tests/java/ifc/chart/_Diagram.java b/qadevOOo/tests/java/ifc/chart/_Diagram.java
index 3ab90b84784c..ea4fe01ca420 100644
--- a/qadevOOo/tests/java/ifc/chart/_Diagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_Diagram.java
@@ -46,6 +46,7 @@ public class _Diagram extends MultiPropertyTest {
* Retrieves object relations and prepares a chart document.
* @throws StatusException if one of relations not found.
*/
+ @Override
protected void before() {
log.println("Setting Diagram type to LineDiagram");
XChartDocument doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
diff --git a/qadevOOo/tests/java/ifc/chart/_Dim3DDiagram.java b/qadevOOo/tests/java/ifc/chart/_Dim3DDiagram.java
index 0288aeb6cbf5..512bb0016c59 100644
--- a/qadevOOo/tests/java/ifc/chart/_Dim3DDiagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_Dim3DDiagram.java
@@ -45,6 +45,7 @@ public class _Dim3DDiagram extends MultiPropertyTest {
* Retrieves object relations and prepares a chart document.
* @throws StatusException if one of relations not found.
*/
+ @Override
protected void before() {
log.println("Setting Diagram type to LineDiagram");
XChartDocument doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
diff --git a/qadevOOo/tests/java/ifc/chart/_LineDiagram.java b/qadevOOo/tests/java/ifc/chart/_LineDiagram.java
index 4632bc8f9e66..20c99b952c09 100644
--- a/qadevOOo/tests/java/ifc/chart/_LineDiagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_LineDiagram.java
@@ -62,6 +62,7 @@ public class _LineDiagram extends MultiPropertyTest {
* Retrieves object relations.
* @throws StatusException If one of relations not found.
*/
+ @Override
protected void before() {
log.println("Setting Diagram type to LineDiagram");
doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
@@ -80,11 +81,13 @@ public class _LineDiagram extends MultiPropertyTest {
/**
* Sets the old diagram for a chart document.
*/
+ @Override
protected void after() {
doc.setDiagram(oldDiagram);
}
protected PropertyTester URLTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
if (oldValue.equals(util.utils.getFullTestURL("space-metal.jpg")))
@@ -94,6 +97,7 @@ public class _LineDiagram extends MultiPropertyTest {
} ;
protected PropertyTester SymbolTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
@@ -106,6 +110,7 @@ public class _LineDiagram extends MultiPropertyTest {
} ;
protected PropertyTester SplineTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
diff --git a/qadevOOo/tests/java/ifc/chart/_StackableDiagram.java b/qadevOOo/tests/java/ifc/chart/_StackableDiagram.java
index bb7a36080197..9fbb2bed273e 100644
--- a/qadevOOo/tests/java/ifc/chart/_StackableDiagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_StackableDiagram.java
@@ -52,6 +52,7 @@ public class _StackableDiagram extends MultiPropertyTest {
* Retrieves object relations and prepares a chart document.
* @throws StatusException if one of relations not found.
*/
+ @Override
protected void before() {
log.println("Setting Diagram type to LineDiagram");
doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
@@ -71,6 +72,7 @@ public class _StackableDiagram extends MultiPropertyTest {
/**
* Sets the old diagram for a chart document.
*/
+ @Override
protected void after() {
doc.setDiagram(oldDiagram);
}
diff --git a/qadevOOo/tests/java/ifc/chart/_StockDiagram.java b/qadevOOo/tests/java/ifc/chart/_StockDiagram.java
index d54a0e7aab44..32c0200241d0 100644
--- a/qadevOOo/tests/java/ifc/chart/_StockDiagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_StockDiagram.java
@@ -52,6 +52,7 @@ public class _StockDiagram extends MultiPropertyTest {
* Retrieves object relations and prepares a chart document.
* @throws StatusException if one of relations not found.
*/
+ @Override
protected void before() {
log.println("Setting Diagram type to StockDiagram");
doc = (XChartDocument) tEnv.getObjRelation("CHARTDOC");
@@ -70,6 +71,7 @@ public class _StockDiagram extends MultiPropertyTest {
/**
* Sets the old diagram for a chart document.
*/
+ @Override
protected void after() {
doc.setDiagram(oldDiagram);
}
diff --git a/qadevOOo/tests/java/ifc/chart/_XChartData.java b/qadevOOo/tests/java/ifc/chart/_XChartData.java
index e928453e0b30..c0a4bc3c7be5 100644
--- a/qadevOOo/tests/java/ifc/chart/_XChartData.java
+++ b/qadevOOo/tests/java/ifc/chart/_XChartData.java
@@ -149,6 +149,7 @@ public class _XChartData extends MultiMethodTest {
/**
* Forces environment recreation.
*/
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java b/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java
index 5233db64848d..14e811efd67a 100644
--- a/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java
+++ b/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java
@@ -49,6 +49,7 @@ public class _XChartDataArray extends MultiMethodTest {
private boolean mbExcludeSetRowAndSetColumn = false;
private String msExcludeMessage;
+ @Override
protected void before() {
Object o = tEnv.getObjRelation("CRDESC");
if (o != null) {
@@ -216,6 +217,7 @@ public class _XChartDataArray extends MultiMethodTest {
tRes.tested("getData()", bResult);
}
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/chart/_XDiagram.java b/qadevOOo/tests/java/ifc/chart/_XDiagram.java
index b1fbbf83ab97..3d02e7399924 100644
--- a/qadevOOo/tests/java/ifc/chart/_XDiagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_XDiagram.java
@@ -53,6 +53,7 @@ public class _XDiagram extends MultiMethodTest {
* Retrieves object relations.
* @throws StatusException If one of relations not found.
*/
+ @Override
public void before() {
rowamount = (Integer)tEnv.getObjRelation("ROWAMOUNT");
if (rowamount == null) throw new StatusException(Status.failed
diff --git a/qadevOOo/tests/java/ifc/chart/_XTwoAxisYSupplier.java b/qadevOOo/tests/java/ifc/chart/_XTwoAxisYSupplier.java
index 909c4d853646..bc88bdc72945 100644
--- a/qadevOOo/tests/java/ifc/chart/_XTwoAxisYSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_XTwoAxisYSupplier.java
@@ -53,6 +53,7 @@ public class _XTwoAxisYSupplier extends MultiMethodTest {
/**
* Forces object environment recreation.
*/
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XBackendEntities.java b/qadevOOo/tests/java/ifc/configuration/backend/_XBackendEntities.java
index e23a515ebf73..5ed64c292105 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XBackendEntities.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XBackendEntities.java
@@ -28,6 +28,7 @@ public class _XBackendEntities extends MultiMethodTest {
String adm = "";
public XBackendEntities oObj;
+ @Override
public void before() {
adm = (String) tEnv.getObjRelation("NoAdmin");
}
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java b/qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java
index 2ebea13d2c74..597d245efbd1 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java
@@ -33,6 +33,7 @@ public class _XSchema extends MultiMethodTest {
XSchemaHandlerImpl xSchemaHandlerImpl = new XSchemaHandlerImpl();
String filename = null;
+ @Override
protected void before() {
filename = (String)tEnv.getObjRelation("ParsedFileName");
}
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java b/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java
index 8f1daf4b5a39..6e86d034c3e6 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java
@@ -30,6 +30,7 @@ public class _XUpdateHandler extends MultiMethodTest {
public XUpdateHandler oObj;
protected XLayerHandlerImpl xLayerHandler = null;
+ @Override
public void before() {
xLayerHandler = (XLayerHandlerImpl) tEnv.getObjRelation("LayerHandler");
diff --git a/qadevOOo/tests/java/ifc/connection/_XAcceptor.java b/qadevOOo/tests/java/ifc/connection/_XAcceptor.java
index b98337070245..09ff4c65a421 100644
--- a/qadevOOo/tests/java/ifc/connection/_XAcceptor.java
+++ b/qadevOOo/tests/java/ifc/connection/_XAcceptor.java
@@ -73,6 +73,7 @@ public class _XAcceptor extends MultiMethodTest {
/**
* Call accept() method.
*/
+ @Override
public void run() {
try {
acceptedCall = acc.accept(connectString) ;
@@ -92,6 +93,7 @@ public class _XAcceptor extends MultiMethodTest {
/**
* Retrieves object relation.
*/
+ @Override
public void before() throws StatusException {
connectString = (String)
tEnv.getObjRelation("XAcceptor.connectStr") ;
diff --git a/qadevOOo/tests/java/ifc/connection/_XConnector.java b/qadevOOo/tests/java/ifc/connection/_XConnector.java
index fa1d9b074d92..d9ac5b10c529 100644
--- a/qadevOOo/tests/java/ifc/connection/_XConnector.java
+++ b/qadevOOo/tests/java/ifc/connection/_XConnector.java
@@ -71,6 +71,7 @@ public class _XConnector extends MultiMethodTest {
/**
* Call accept() method.
*/
+ @Override
public void run() {
try {
acceptedCall = acc.accept(connectString) ;
@@ -90,6 +91,7 @@ public class _XConnector extends MultiMethodTest {
/**
* Retrieves object relation.
*/
+ @Override
public void before() throws StatusException {
connectString = (String)
tEnv.getObjRelation("XConnector.connectStr") ;
diff --git a/qadevOOo/tests/java/ifc/container/_XContainer.java b/qadevOOo/tests/java/ifc/container/_XContainer.java
index d63ba7d22eb9..b7c987d4e1d3 100644
--- a/qadevOOo/tests/java/ifc/container/_XContainer.java
+++ b/qadevOOo/tests/java/ifc/container/_XContainer.java
@@ -80,6 +80,7 @@ public class _XContainer extends MultiMethodTest {
* @throws StatusException If one of relations not found or
* object doesn't implement XNameContainer interface.
*/
+ @Override
public void before() throws StatusException {
// do this test with a different object
Object altObj = tEnv.getObjRelation("XContainer.AlternateObject");
diff --git a/qadevOOo/tests/java/ifc/container/_XContainerQuery.java b/qadevOOo/tests/java/ifc/container/_XContainerQuery.java
index c1034d34b407..5e8748ba11ac 100644
--- a/qadevOOo/tests/java/ifc/container/_XContainerQuery.java
+++ b/qadevOOo/tests/java/ifc/container/_XContainerQuery.java
@@ -61,6 +61,7 @@ public class _XContainerQuery extends MultiMethodTest {
* Retrieves object relations
* @throws StatusException If one of relations not found.
*/
+ @Override
public void before() throws StatusException {
m_querySequenze = (NamedValue[]) tEnv.getObjRelation(
diff --git a/qadevOOo/tests/java/ifc/container/_XNameReplace.java b/qadevOOo/tests/java/ifc/container/_XNameReplace.java
index 1c2d96dfdc23..92e7c220f0a2 100644
--- a/qadevOOo/tests/java/ifc/container/_XNameReplace.java
+++ b/qadevOOo/tests/java/ifc/container/_XNameReplace.java
@@ -165,6 +165,7 @@ public class _XNameReplace extends MultiMethodTest {
/**
* Forces object environment recreation.
*/
+ @Override
public void after() {
disposeEnvironment() ;
}
diff --git a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java
index f7edef2c0525..d486472f76e1 100644
--- a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java
+++ b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java
@@ -82,6 +82,7 @@ public class _XClipboard extends MultiMethodTest {
/**
* Initially sets the content of the clipboard.
*/
+ @Override
public void before() {
oObj.setContents(myTransferable1 = new MyTransferable(),
myOwner = new MyOwner());
diff --git a/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java b/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java
index ccfb7af52b87..2b208e4537a7 100644
--- a/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java
+++ b/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java
@@ -99,6 +99,7 @@ public class _XDocumentInsertable extends MultiMethodTest {
* @throws StatusException If neither relation found nor
* XTextRange interface is queried.
*/
+ @Override
public void before() {
checker = (InsertChecker)
tEnv.getObjRelation("XDocumentInsertable.Checker") ;
@@ -181,6 +182,7 @@ public class _XDocumentInsertable extends MultiMethodTest {
/**
* Forces environment recreation.
*/
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/document/_XExporter.java b/qadevOOo/tests/java/ifc/document/_XExporter.java
index cb5f1d9a0b84..067f8b5d5f89 100644
--- a/qadevOOo/tests/java/ifc/document/_XExporter.java
+++ b/qadevOOo/tests/java/ifc/document/_XExporter.java
@@ -49,6 +49,7 @@ public class _XExporter extends MultiMethodTest {
* Retrieves object relations.
* @throws StatusException If one of relations not found.
*/
+ @Override
public void before() {
source = (XComponent) tEnv.getObjRelation("SourceDocument") ;
diff --git a/qadevOOo/tests/java/ifc/document/_XFilter.java b/qadevOOo/tests/java/ifc/document/_XFilter.java
index 9fbc130cdc56..9908c452cda3 100644
--- a/qadevOOo/tests/java/ifc/document/_XFilter.java
+++ b/qadevOOo/tests/java/ifc/document/_XFilter.java
@@ -71,6 +71,7 @@ public class _XFilter extends MultiMethodTest {
* therefore the methods of this interface will be skipped
* in this case
*/
+ @Override
public void before() {
String name = tEnv.getTestCase().getObjectName();
if (name.indexOf("Importer")>0) {
@@ -93,6 +94,7 @@ public class _XFilter extends MultiMethodTest {
catch (com.sun.star.lang.IllegalArgumentException e) {}
}
+ @Override
public void after() {
if (dummy) {
throw new StatusException(Status.skipped(true));
@@ -163,6 +165,7 @@ public class _XFilter extends MultiMethodTest {
this.Filter = Filter ;
}
+ @Override
public void run() {
filterRes = Filter.filter(mdesc);
}
diff --git a/qadevOOo/tests/java/ifc/document/_XTypeDetection.java b/qadevOOo/tests/java/ifc/document/_XTypeDetection.java
index 0a7ac45e652e..9550e3b076d2 100644
--- a/qadevOOo/tests/java/ifc/document/_XTypeDetection.java
+++ b/qadevOOo/tests/java/ifc/document/_XTypeDetection.java
@@ -49,6 +49,7 @@ public class _XTypeDetection extends MultiMethodTest {
/**
* Get the document URL.
*/
+ @Override
public void before() {
docURL = utils.getFullTestURL("XTypeDetection.sxw");
bookmarkURL = (String) tEnv.getObjRelation("XTypeDetection.bookmarkDoc");
diff --git a/qadevOOo/tests/java/ifc/drawing/_AreaShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_AreaShapeDescriptor.java
index ca8b166c5bbe..1bee620985f3 100644
--- a/qadevOOo/tests/java/ifc/drawing/_AreaShapeDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_AreaShapeDescriptor.java
@@ -22,6 +22,7 @@ import lib.MultiPropertyTest;
public class _AreaShapeDescriptor extends MultiPropertyTest {
+ @Override
protected boolean compare(Object ob1, Object ob2) {
return super.compare(ob1, ob2);
@@ -29,6 +30,7 @@ public class _AreaShapeDescriptor extends MultiPropertyTest {
}
protected PropertyTester URLTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
if (oldValue.equals(util.utils.getFullTestURL("space-metal.jpg")))
@@ -38,6 +40,7 @@ public class _AreaShapeDescriptor extends MultiPropertyTest {
} ;
protected PropertyTester StringTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
if (oldValue.equals(str1))
diff --git a/qadevOOo/tests/java/ifc/drawing/_ConnectorShape.java b/qadevOOo/tests/java/ifc/drawing/_ConnectorShape.java
index 750c307e09b3..d338126d7f79 100644
--- a/qadevOOo/tests/java/ifc/drawing/_ConnectorShape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_ConnectorShape.java
@@ -35,6 +35,7 @@ import com.sun.star.drawing.XShape;
public class _ConnectorShape extends MultiPropertyTest {
public XShape[] conShapes = null;
+ @Override
protected void before() {
conShapes = (XShape[]) tEnv.getObjRelation("XConnectorShape.Shapes");
}
diff --git a/qadevOOo/tests/java/ifc/drawing/_ConnectorShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_ConnectorShapeDescriptor.java
index bbb0f69949a9..99f974b494a6 100644
--- a/qadevOOo/tests/java/ifc/drawing/_ConnectorShapeDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_ConnectorShapeDescriptor.java
@@ -22,6 +22,7 @@ import lib.MultiPropertyTest;
public class _ConnectorShapeDescriptor extends MultiPropertyTest {
+ @Override
protected boolean compare(Object ob1, Object ob2) {
return super.compare(ob1, ob2);
diff --git a/qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java b/qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java
index 86d546cdcf0e..d9f7f3c31361 100644
--- a/qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java
+++ b/qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java
@@ -45,6 +45,7 @@ public class _DrawingDocumentDrawView extends MultiPropertyTest {
XDrawPage drawPage = null;
static String test_name = "For DrawingDocumentDrawView";
+ @Override
protected void before() {
drawPage = (XDrawPage)tEnv.getObjRelation("DrawPage");
XNamed xNamed = UnoRuntime.queryInterface(XNamed.class, drawPage);
@@ -56,10 +57,12 @@ public class _DrawingDocumentDrawView extends MultiPropertyTest {
* and compares draw pages.
*/
protected PropertyTester CurPageTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
return drawPage;
}
+ @Override
protected boolean compare(Object obj1, Object obj2) {
XNamed named1 = UnoRuntime.queryInterface(XNamed.class, obj1);
XNamed named2 = UnoRuntime.queryInterface(XNamed.class, obj2);
@@ -76,6 +79,7 @@ public class _DrawingDocumentDrawView extends MultiPropertyTest {
return res;
}
+ @Override
protected String toString(Object obj) {
XNamed named = UnoRuntime.queryInterface(XNamed.class, obj);
String res = (named == null) ? "null" : named.getName();
diff --git a/qadevOOo/tests/java/ifc/drawing/_FillProperties.java b/qadevOOo/tests/java/ifc/drawing/_FillProperties.java
index 93d2e9bf5e88..50f7a76406f5 100644
--- a/qadevOOo/tests/java/ifc/drawing/_FillProperties.java
+++ b/qadevOOo/tests/java/ifc/drawing/_FillProperties.java
@@ -63,6 +63,7 @@ public class _FillProperties extends MultiPropertyTest {
*/
protected PropertyTester URLTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
if (oldValue.equals(util.utils.getFullTestURL("space-metal.jpg"))) {
@@ -77,6 +78,7 @@ public class _FillProperties extends MultiPropertyTest {
*/
protected PropertyTester StringTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
if (oldValue.equals(str1)) {
@@ -91,6 +93,7 @@ public class _FillProperties extends MultiPropertyTest {
*/
protected PropertyTester BitmapTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
if (util.ValueComparer.equalValue(oldValue, the_bitmap)) {
diff --git a/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShape.java b/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShape.java
index 124a534fa172..3d49bcb05f11 100644
--- a/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShape.java
@@ -59,6 +59,7 @@ public class _GraphicObjectShape extends MultiPropertyTest {
* Property tester which changes URL.
*/
protected PropertyTester URLTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (oldValue.equals(util.utils.getFullTestURL("space-metal.jpg")))
return util.utils.getFullTestURL("crazy-blue.jpg"); else
@@ -71,6 +72,7 @@ public class _GraphicObjectShape extends MultiPropertyTest {
* It also uses two object relations with bitmaps.
*/
protected PropertyTester BitmapTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue){
XBitmap aBitmap1=(XBitmap) tEnv.getObjRelation("Bitmap1");
XBitmap aBitmap2=(XBitmap) tEnv.getObjRelation("Bitmap2");
@@ -85,6 +87,7 @@ public class _GraphicObjectShape extends MultiPropertyTest {
* Property tester which returns new XIndexAccess object.
*/
protected PropertyTester ImapTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
return set;
}
diff --git a/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShapeDescriptor.java
index f604a801ef6a..830a065d4eec 100644
--- a/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShapeDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShapeDescriptor.java
@@ -24,6 +24,7 @@ import com.sun.star.awt.XBitmap;
public class _GraphicObjectShapeDescriptor extends MultiPropertyTest {
+ @Override
protected boolean compare(Object ob1, Object ob2) {
return super.compare(ob1, ob2);
@@ -31,6 +32,7 @@ public class _GraphicObjectShapeDescriptor extends MultiPropertyTest {
}
protected PropertyTester URLTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
if (oldValue.equals(util.utils.getFullTestURL("space-metal.jpg")))
@@ -40,6 +42,7 @@ public class _GraphicObjectShapeDescriptor extends MultiPropertyTest {
} ;
protected PropertyTester BitmapTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
XBitmap aBitmap1=(XBitmap) tEnv.getObjRelation("Bitmap1");
diff --git a/qadevOOo/tests/java/ifc/drawing/_LineProperties.java b/qadevOOo/tests/java/ifc/drawing/_LineProperties.java
index 6944b103b0d5..d37d6506ddcd 100644
--- a/qadevOOo/tests/java/ifc/drawing/_LineProperties.java
+++ b/qadevOOo/tests/java/ifc/drawing/_LineProperties.java
@@ -49,6 +49,7 @@ public class _LineProperties extends MultiPropertyTest {
* only predefined String values.
*/
protected PropertyTester LineTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
if (oldValue.equals("Arrow"))
diff --git a/qadevOOo/tests/java/ifc/drawing/_RotationDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_RotationDescriptor.java
index 791b0b4670fd..863f4246ae20 100644
--- a/qadevOOo/tests/java/ifc/drawing/_RotationDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_RotationDescriptor.java
@@ -37,6 +37,7 @@ public class _RotationDescriptor extends MultiPropertyTest {
* Custom tester which increases value by 200
*/
protected PropertyTester drawMeasureTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
int val = ((Integer)oldValue).intValue() ;
return new Integer(val + 200) ;
diff --git a/qadevOOo/tests/java/ifc/drawing/_ShadowDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_ShadowDescriptor.java
index c973977a42ab..ec95fea71632 100644
--- a/qadevOOo/tests/java/ifc/drawing/_ShadowDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_ShadowDescriptor.java
@@ -22,6 +22,7 @@ import lib.MultiPropertyTest;
public class _ShadowDescriptor extends MultiPropertyTest {
+ @Override
protected boolean compare(Object ob1, Object ob2) {
return super.compare(ob1, ob2);
diff --git a/qadevOOo/tests/java/ifc/drawing/_Shape.java b/qadevOOo/tests/java/ifc/drawing/_Shape.java
index ca8380976028..8150098386aa 100644
--- a/qadevOOo/tests/java/ifc/drawing/_Shape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_Shape.java
@@ -54,6 +54,7 @@ public class _Shape extends MultiPropertyTest {
* Custom tester which switches between two styles.
*/
protected PropertyTester StyleTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
if (util.ValueComparer.equalValue(oldValue,style1))
@@ -67,6 +68,7 @@ public class _Shape extends MultiPropertyTest {
* Strings ('layout' and 'controls').
*/
protected PropertyTester StringTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
if (util.ValueComparer.equalValue(oldValue,"layout"))
diff --git a/qadevOOo/tests/java/ifc/drawing/_Text.java b/qadevOOo/tests/java/ifc/drawing/_Text.java
index 104643619e72..9ffffab6ee3f 100644
--- a/qadevOOo/tests/java/ifc/drawing/_Text.java
+++ b/qadevOOo/tests/java/ifc/drawing/_Text.java
@@ -22,6 +22,7 @@ import lib.MultiPropertyTest;
public class _Text extends MultiPropertyTest {
+ @Override
protected boolean compare(Object ob1, Object ob2) {
return super.compare(ob1, ob2);
diff --git a/qadevOOo/tests/java/ifc/drawing/_XConnectorShape.java b/qadevOOo/tests/java/ifc/drawing/_XConnectorShape.java
index 814a3be49f71..ef9395f33c89 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XConnectorShape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XConnectorShape.java
@@ -60,6 +60,7 @@ public class _XConnectorShape extends MultiMethodTest {
* @throw StatusException If the relation is not found or shapes don't
* support XConnectableShape interface.
*/
+ @Override
public void before() {
log.println("No shapes implementing XConnectableShape still found.");
XShape[] shapes = (XShape[])
diff --git a/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java b/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java
index 8fda3b0ae4b5..190e736d984d 100644
--- a/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java
+++ b/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java
@@ -105,9 +105,11 @@ public class _DataAwareControlModel extends MultiPropertyTest {
("DataAwareControlModel.NewFieldName") ;
final String newVal = relVal == null ? "Address" : relVal ;
testProperty("DataField", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object oldVal) {
return newVal ;
}
+ @Override
protected void checkResult(String propName, Object oldValue,
Object newValue, Object resValue, Exception exception)
throws java.lang.Exception{
@@ -142,6 +144,7 @@ public class _DataAwareControlModel extends MultiPropertyTest {
final XInterface xTextLabel = (XInterface)tEnv.getObjRelation("LC");
testProperty("LabelControl", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object oldVal) {
if (utils.isVoid(oldVal)) return xTextLabel ;
else return super.getNewValue("LabelControl",oldVal);
@@ -152,6 +155,7 @@ public class _DataAwareControlModel extends MultiPropertyTest {
/**
* Forces environment recreateation.
*/
+ @Override
public void after() {
disposeEnvironment() ;
}
diff --git a/qadevOOo/tests/java/ifc/form/_XApproveActionBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XApproveActionBroadcaster.java
index b27997b8e027..a0c9185f3071 100644
--- a/qadevOOo/tests/java/ifc/form/_XApproveActionBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/form/_XApproveActionBroadcaster.java
@@ -90,6 +90,7 @@ public class _XApproveActionBroadcaster extends MultiMethodTest {
/**
* Just log output
*/
+ @Override
protected void after() {
log.println("Skipping all XApproveActionBroadcaster methods, since they"
+ " need user interaction");
diff --git a/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java
index 54bf166cb843..4bce8dcab931 100644
--- a/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java
@@ -100,6 +100,7 @@ public class _XChangeBroadcaster extends MultiMethodTest {
* @throw StatusException If neither relation is found nor interface
* is queried.
*/
+ @Override
public void before() {
xText = UnoRuntime.queryInterface(XTextComponent.class,oObj);
changer = (Changer) tEnv.getObjRelation("XChangeBroadcaster.Changer") ;
diff --git a/qadevOOo/tests/java/ifc/form/_XDatabaseParameterBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XDatabaseParameterBroadcaster.java
index 4868f75f29e5..4a9a8524b2ad 100644
--- a/qadevOOo/tests/java/ifc/form/_XDatabaseParameterBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/form/_XDatabaseParameterBroadcaster.java
@@ -52,6 +52,7 @@ public class _XDatabaseParameterBroadcaster extends MultiMethodTest {
* Get the object relation 'ParameterListenerChecker' and
* set the log inside of the implementation.
*/
+ @Override
protected void before() {
listenerChecker = (CheckParameterListener)
tEnv.getObjRelation("ParameterListenerChecker");
@@ -85,6 +86,7 @@ public class _XDatabaseParameterBroadcaster extends MultiMethodTest {
tRes.tested("removeParameterListener()", listenerChecker.checkListener());
}
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/form/_XLoadable.java b/qadevOOo/tests/java/ifc/form/_XLoadable.java
index 9106a3ecd609..ed7bf18270d9 100644
--- a/qadevOOo/tests/java/ifc/form/_XLoadable.java
+++ b/qadevOOo/tests/java/ifc/form/_XLoadable.java
@@ -93,6 +93,7 @@ public class _XLoadable extends MultiMethodTest {
/**
* Creates new listener.
*/
+ @Override
public void before() {
loadListener = new TestLoadListener(log) ;
}
@@ -231,6 +232,7 @@ public class _XLoadable extends MultiMethodTest {
tRes.tested("removeLoadListener()", result) ;
}
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/form/_XSubmit.java b/qadevOOo/tests/java/ifc/form/_XSubmit.java
index 611376f633ba..7cec878a2c03 100644
--- a/qadevOOo/tests/java/ifc/form/_XSubmit.java
+++ b/qadevOOo/tests/java/ifc/form/_XSubmit.java
@@ -174,6 +174,7 @@ public class _XSubmit extends MultiMethodTest {
/**
* Forces environment recreation.
*/
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java
index 40a92e50588c..badab75a22f3 100644
--- a/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java
@@ -72,6 +72,7 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
* Retrieves object relations.
* @throws StatusException If one of relations not found.
*/
+ @Override
public void before() {
checker = (UpdateChecker)
tEnv.getObjRelation("XUpdateBroadcaster.Checker") ;
@@ -230,6 +231,7 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
/**
* Forces environment recreation.
*/
+ @Override
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/form/component/_CurrencyField.java b/qadevOOo/tests/java/ifc/form/component/_CurrencyField.java
index acb03df2aa32..ae1d7de26fd4 100644
--- a/qadevOOo/tests/java/ifc/form/component/_CurrencyField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_CurrencyField.java
@@ -38,6 +38,7 @@ public class _CurrencyField extends MultiPropertyTest {
*/
public void _DefaultValue() {
testProperty("DefaultValue", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return util.utils.isVoid(old) ? new Double(17.5) :
super.getNewValue(p, old) ;
diff --git a/qadevOOo/tests/java/ifc/form/component/_DataForm.java b/qadevOOo/tests/java/ifc/form/component/_DataForm.java
index 3b3b4035af3f..4ea3e11ce079 100644
--- a/qadevOOo/tests/java/ifc/form/component/_DataForm.java
+++ b/qadevOOo/tests/java/ifc/form/component/_DataForm.java
@@ -46,6 +46,7 @@ public class _DataForm extends MultiPropertyTest {
*/
public void _NavigationBarMode() {
testProperty("NavigationBarMode", new PropertyTester() {
+ @Override
public String toString(Object obj) {
if (util.utils.isVoid(obj)) {
return "null";
@@ -63,9 +64,11 @@ public class _DataForm extends MultiPropertyTest {
*/
public void _Cycle() {
testProperty("Cycle", new PropertyTester() {
+ @Override
public Object getNewValue(String propName, Object oldValue) {
return TabulatorCycle.CURRENT;
}
+ @Override
public String toString(Object obj) {
if (util.utils.isVoid(obj))
return "null";
diff --git a/qadevOOo/tests/java/ifc/form/component/_DatabaseForm.java b/qadevOOo/tests/java/ifc/form/component/_DatabaseForm.java
index af3114577e28..17121cb990e8 100644
--- a/qadevOOo/tests/java/ifc/form/component/_DatabaseForm.java
+++ b/qadevOOo/tests/java/ifc/form/component/_DatabaseForm.java
@@ -48,6 +48,7 @@ public class _DatabaseForm extends MultiPropertyTest {
public void _NavigationBarMode() {
dbg.printPropertyInfo(oObj, "NavigationBarMode");
testProperty("NavigationBarMode", new PropertyTester() {
+ @Override
public String toString(Object obj) {
if (obj == null) {
return "null";
@@ -66,10 +67,12 @@ public class _DatabaseForm extends MultiPropertyTest {
public void _Cycle() {
dbg.printPropertyInfo(oObj, "Cycle");
testProperty("Cycle", new PropertyTester() {
+ @Override
public Object getNewValue(String propName, Object oldValue) {
return TabulatorCycle.CURRENT;
}
+ @Override
public String toString(Object obj) {
if (obj == null) {
return "null";
diff --git a/qadevOOo/tests/java/ifc/form/component/_DateField.java b/qadevOOo/tests/java/ifc/form/component/_DateField.java
index 2b357edde6df..b88490bd15e5 100644
--- a/qadevOOo/tests/java/ifc/form/component/_DateField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_DateField.java
@@ -36,6 +36,7 @@ public class _DateField extends MultiPropertyTest {
*/
public void _DefaultDate() {
testProperty("DefaultDate", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return util.utils.isVoid(old) ? new Integer(20010507) :
super.getNewValue(prop, old) ;
diff --git a/qadevOOo/tests/java/ifc/form/component/_GridControl.java b/qadevOOo/tests/java/ifc/form/component/_GridControl.java
index 7a423d62f770..aa146e043e55 100644
--- a/qadevOOo/tests/java/ifc/form/component/_GridControl.java
+++ b/qadevOOo/tests/java/ifc/form/component/_GridControl.java
@@ -42,6 +42,7 @@ public class _GridControl extends MultiPropertyTest {
*/
public void _RowHeight() {
testProperty("RowHeight", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return util.utils.isVoid(old) ? new Integer(11) :
super.getNewValue(prop, old) ;
@@ -55,6 +56,7 @@ public class _GridControl extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return util.utils.isVoid(old) ? new Boolean(true) :
super.getNewValue(prop, old) ;
@@ -68,6 +70,7 @@ public class _GridControl extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return util.utils.isVoid(old) ? new Integer(342) :
super.getNewValue(prop, old) ;
@@ -81,6 +84,7 @@ public class _GridControl extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return util.utils.isVoid(old) ? new Integer(342) :
super.getNewValue(prop, old) ;
diff --git a/qadevOOo/tests/java/ifc/form/component/_NavigationToolBar.java b/qadevOOo/tests/java/ifc/form/component/_NavigationToolBar.java
index 3a764df22993..6f75545afc52 100644
--- a/qadevOOo/tests/java/ifc/form/component/_NavigationToolBar.java
+++ b/qadevOOo/tests/java/ifc/form/component/_NavigationToolBar.java
@@ -24,6 +24,7 @@ public class _NavigationToolBar extends MultiPropertyTest {
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return util.utils.isVoid(old) ? new Integer(20010507) :
super.getNewValue(prop, old) ;
@@ -33,6 +34,7 @@ public class _NavigationToolBar extends MultiPropertyTest {
public void _TextLineColor() {
testProperty("TextLineColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return util.utils.isVoid(old) ? new Integer(20050507) :
super.getNewValue(prop, old) ;
diff --git a/qadevOOo/tests/java/ifc/form/component/_NumericField.java b/qadevOOo/tests/java/ifc/form/component/_NumericField.java
index ba6f08be8371..463e780c908f 100644
--- a/qadevOOo/tests/java/ifc/form/component/_NumericField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_NumericField.java
@@ -38,6 +38,7 @@ public class _NumericField extends MultiPropertyTest {
*/
public void _DefaultValue() {
testProperty("DefaultValue", new PropertyTester() {
+ @Override
protected Object getNewValue(String prop, Object old) {
return util.utils.isVoid(old) ? new Double(111.11) :
super.getNewValue(prop, old) ;
diff --git a/qadevOOo/tests/java/ifc/form/component/_TimeField.java b/qadevOOo/tests/java/ifc/form/component/_TimeField.java
index d924f3ea6d0e..06a924fa08c9 100644
--- a/qadevOOo/tests/java/ifc/form/component/_TimeField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_TimeField.java
@@ -38,6 +38,7 @@ public class _TimeField extends MultiPropertyTest {
*/
public void _DefaultTime() {
testProperty("DefaultTime", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) :
super.getNewValue(p, old) ;
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatch.java b/qadevOOo/tests/java/ifc/frame/_XDispatch.java
index 7265a4ce2aa1..d1f50fc24171 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDispatch.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDispatch.java
@@ -147,6 +147,7 @@ public class _XDispatch extends MultiMethodTest {
* Retrieves object relations and creates new listeners.
* @throws StatusException If one of relations not found.
*/
+ @Override
public void before() {
listener = new TestStatusListener(log) ;
url = (URL) tEnv.getObjRelation("XDispatch.URL") ;
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatchProvider.java b/qadevOOo/tests/java/ifc/frame/_XDispatchProvider.java
index 275b67774b65..aebc5e4c3c86 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDispatchProvider.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDispatchProvider.java
@@ -51,6 +51,7 @@ public class _XDispatchProvider extends MultiMethodTest {
/**
* Retrieves object relation.
*/
+ @Override
public void before() {
dispatchUrl = (String) tEnv.getObjRelation("XDispatchProvider.URL") ;
if (dispatchUrl == null) {
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatchProviderInterception.java b/qadevOOo/tests/java/ifc/frame/_XDispatchProviderInterception.java
index 29ce2a580638..4b72518f8788 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDispatchProviderInterception.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDispatchProviderInterception.java
@@ -89,6 +89,7 @@ public class _XDispatchProviderInterception extends MultiMethodTest {
/**
* Cereates new interceptor implementation.
*/
+ @Override
public void before() {
interceptor = new TestInterceptor(log) ;
}
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
index 56553fdc0bca..03225e4170e2 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
@@ -51,6 +51,7 @@ public class _XDispatchRecorder extends MultiMethodTest {
URL dispURL = null;
PropertyValue[] dispArgs = new PropertyValue[0];
+ @Override
protected void before() {
xFrame = (XFrame) tEnv.getObjRelation("XDispatchRecorder.Frame");
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorderSupplier.java b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorderSupplier.java
index 81bf327b21f3..f92f366e0683 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorderSupplier.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorderSupplier.java
@@ -72,6 +72,7 @@ public class _XDispatchRecorderSupplier extends MultiMethodTest {
* Also a com.sun.star.frame.Desktop
* service created for obtaining document's frame.
*/
+ @Override
protected void before() {
SOfficeFactory SOF = SOfficeFactory.getFactory(tParam.getMSF());
@@ -227,6 +228,7 @@ public class _XDispatchRecorderSupplier extends MultiMethodTest {
/**
* Disposes the document created in before()
*/
+ @Override
protected void after() {
xTextDoc.dispose();
}
diff --git a/qadevOOo/tests/java/ifc/frame/_XFrame.java b/qadevOOo/tests/java/ifc/frame/_XFrame.java
index f4c79061cfa2..b3cb999fa3d9 100644
--- a/qadevOOo/tests/java/ifc/frame/_XFrame.java
+++ b/qadevOOo/tests/java/ifc/frame/_XFrame.java
@@ -567,6 +567,7 @@ public class _XFrame extends MultiMethodTest {
/**
* Forces environment recreation.
*/
+ @Override
public void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/frame/_XFrameLoader.java b/qadevOOo/tests/java/ifc/frame/_XFrameLoader.java
index b5c0416e7fc5..f4e4a1c366f0 100644
--- a/qadevOOo/tests/java/ifc/frame/_XFrameLoader.java
+++ b/qadevOOo/tests/java/ifc/frame/_XFrameLoader.java
@@ -88,6 +88,7 @@ public class _XFrameLoader extends MultiMethodTest {
* creates their default values.
* @throws StatusException If one of required relations not found.
*/
+ @Override
public void before() {
url = (String) tEnv.getObjRelation("FrameLoader.URL") ;
frame = (XFrame) tEnv.getObjRelation("FrameLoader.Frame") ;
@@ -182,6 +183,7 @@ public class _XFrameLoader extends MultiMethodTest {
tRes.tested("cancel()", result) ;
}
+ @Override
public void after() {
if (frameSup != null) frameSup.dispose() ;
frame.dispose();
diff --git a/qadevOOo/tests/java/ifc/frame/_XLayoutManager.java b/qadevOOo/tests/java/ifc/frame/_XLayoutManager.java
index dbe43e261675..2510cfe8fe0a 100644
--- a/qadevOOo/tests/java/ifc/frame/_XLayoutManager.java
+++ b/qadevOOo/tests/java/ifc/frame/_XLayoutManager.java
@@ -34,6 +34,7 @@ public class _XLayoutManager extends MultiMethodTest {
private XFrame xFrame = null;
private String sElementName = "private:resource/menubar/myMenu";
+ @Override
public void before() {
xFrame = (XFrame)tEnv.getObjRelation("XLayoutManager.Frame");
}
diff --git a/qadevOOo/tests/java/ifc/frame/_XModuleManager.java b/qadevOOo/tests/java/ifc/frame/_XModuleManager.java
index 692215de1297..b5d895d4fa34 100644
--- a/qadevOOo/tests/java/ifc/frame/_XModuleManager.java
+++ b/qadevOOo/tests/java/ifc/frame/_XModuleManager.java
@@ -79,6 +79,7 @@ public class _XModuleManager extends MultiMethodTest {
private PropertyValue[] xModelSeq = null;
/** Retrieves object relations. */
+ @Override
public void before() {
xFrameSeq = (PropertyValue[]) tEnv.getObjRelation("XModuleManager.XFrame") ;
diff --git a/qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java b/qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java
index 7cf64918c89a..650b2dba35c2 100644
--- a/qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java
+++ b/qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java
@@ -83,6 +83,7 @@ public class _XNotifyingDispatch extends MultiMethodTest {
* Retrieves object relations and creates new listeners.
* @throws StatusException If one of relations not found.
*/
+ @Override
public void before() {
notificationListener = new TestNotificationListener(log) ;
url = (URL) tEnv.getObjRelation("XDispatch.URL") ;
diff --git a/qadevOOo/tests/java/ifc/frame/_XPopupMenuController.java b/qadevOOo/tests/java/ifc/frame/_XPopupMenuController.java
index b4cec85dc79e..be8c32da4cf0 100644
--- a/qadevOOo/tests/java/ifc/frame/_XPopupMenuController.java
+++ b/qadevOOo/tests/java/ifc/frame/_XPopupMenuController.java
@@ -27,6 +27,7 @@ import lib.MultiMethodTest;
public class _XPopupMenuController extends MultiMethodTest {
public XPopupMenuController oObj = null;
+ @Override
public void before() {
}
diff --git a/qadevOOo/tests/java/ifc/frame/_XStatusListener.java b/qadevOOo/tests/java/ifc/frame/_XStatusListener.java
index 067cd5a89a10..393c0a205bdd 100644
--- a/qadevOOo/tests/java/ifc/frame/_XStatusListener.java
+++ b/qadevOOo/tests/java/ifc/frame/_XStatusListener.java
@@ -26,6 +26,7 @@ public class _XStatusListener extends MultiMethodTest {
public XStatusListener oObj = null;
+ @Override
public void before() {
}
diff --git a/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java b/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java
index 83040fa01f64..2151d77957ba 100644
--- a/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java
+++ b/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java
@@ -70,6 +70,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest {
*
* @throws StatusException If one of required relations not found.
*/
+ @Override
public void before() {
url = (String) tEnv.getObjRelation("FrameLoader.URL") ;
frame = (XFrame) tEnv.getObjRelation("FrameLoader.Frame") ;
@@ -143,6 +144,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest {
final boolean[] result = new boolean[1] ;
(new Thread() {
+ @Override
public void run() {
result[0] = oObj.load(descr, frame);
}
@@ -161,6 +163,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest {
/**
* Disposes document if it was created for frame supplying.
*/
+ @Override
protected void after() {
if (frameSup != null) {
frameSup.dispose();
diff --git a/qadevOOo/tests/java/ifc/frame/_XUIControllerRegistration.java b/qadevOOo/tests/java/ifc/frame/_XUIControllerRegistration.java
index 4455460e3cc5..21a627d7191c 100644
--- a/qadevOOo/tests/java/ifc/frame/_XUIControllerRegistration.java
+++ b/qadevOOo/tests/java/ifc/frame/_XUIControllerRegistration.java
@@ -26,6 +26,7 @@ public class _XUIControllerRegistration extends MultiMethodTest {
private String aRegisteredController = null;
private String aController = ".uno:MySecondController";
+ @Override
public void before() {
aRegisteredController = (String)tEnv.getObjRelation("XUIControllerRegistration.RegisteredController");
}
diff --git a/qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java b/qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java
index eb0b72c77794..7c6194d80e2e 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java
@@ -84,6 +84,7 @@ public class _XBreakIterator extends MultiMethodTest {
* Retrieves object relations.
* @throws StatusException If one of relations not found.
*/
+ @Override
protected void before() {
locale = (Locale)tEnv.getObjRelation("Locale");
if (locale == null) {
diff --git a/qadevOOo/tests/java/ifc/i18n/_XCalendar.java b/qadevOOo/tests/java/ifc/i18n/_XCalendar.java
index 59c983b8aaa5..43f46d128be0 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XCalendar.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XCalendar.java
@@ -68,6 +68,7 @@ public class _XCalendar extends MultiMethodTest {
double aOriginalDTime = 0;
Locale[] installed_locales;
+ @Override
public void before() {
XLocaleData locData = null;
try {
@@ -91,6 +92,7 @@ public class _XCalendar extends MultiMethodTest {
* Restore the changed time during the test to the original value of the
* machine: has to be correct for the following interface tests.
*/
+ @Override
public void after() {
oObj.loadDefaultCalendar(installed_locales[0]);
oObj.setDateTime(aOriginalDTime);
diff --git a/qadevOOo/tests/java/ifc/i18n/_XExtendedCalendar.java b/qadevOOo/tests/java/ifc/i18n/_XExtendedCalendar.java
index 97acd4013a10..99d26e7b9a0b 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XExtendedCalendar.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XExtendedCalendar.java
@@ -38,6 +38,7 @@ public class _XExtendedCalendar extends MultiMethodTest {
/**
* Load a calendar
*/
+ @Override
public void before() {
Locale[] installed_locales = null;
XLocaleData locData = null;
diff --git a/qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java b/qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java
index 29e9edb22186..c96c8e42f72b 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java
@@ -29,6 +29,7 @@ public class _XExtendedTransliteration extends MultiMethodTest {
public XExtendedTransliteration oObj = null;
private Locale loc = new Locale("en", "US", "") ;
+ @Override
public void before() {
oObj.loadModule(TransliterationModules.LOWERCASE_UPPERCASE, loc);
}
diff --git a/qadevOOo/tests/java/ifc/inspection/_XObjectInspector.java b/qadevOOo/tests/java/ifc/inspection/_XObjectInspector.java
index 49d88d9a867d..faf0036f3c60 100644
--- a/qadevOOo/tests/java/ifc/inspection/_XObjectInspector.java
+++ b/qadevOOo/tests/java/ifc/inspection/_XObjectInspector.java
@@ -69,6 +69,7 @@ public class _XObjectInspector extends MultiMethodTest {
*
XObjectInspector.toInspect
*
*/
+ @Override
public void before() {
oInspect = (Object[]) tEnv.getObjRelation("XObjectInspector.toInspect");
diff --git a/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java b/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java
index a13145edf334..33a2bd09b78e 100644
--- a/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java
+++ b/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java
@@ -232,6 +232,7 @@ public class _XActiveDataControl extends MultiMethodTest {
/**
* Disposes the test environment, since it is used.
*/
+ @Override
public void after() {
this.disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java b/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java
index 00d9cf64e37d..ec1dad459570 100644
--- a/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java
+++ b/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java
@@ -53,6 +53,7 @@ public class _XActiveDataSink extends MultiMethodTest {
/**
* Take the XInputStream from the environment for setting and getting
*/
+ @Override
public void before() {
XInterface x = (XInterface)tEnv.getObjRelation("InputStream");
iStream = UnoRuntime.queryInterface
@@ -94,6 +95,7 @@ public class _XActiveDataSink extends MultiMethodTest {
tRes.tested("getInputStream()", getStream != oldStream) ;
}
+ @Override
public void after() {
this.disposeEnvironment() ;
}
diff --git a/qadevOOo/tests/java/ifc/io/_XActiveDataSource.java b/qadevOOo/tests/java/ifc/io/_XActiveDataSource.java
index a7092aa91ce2..5cd2dd3efa3d 100644
--- a/qadevOOo/tests/java/ifc/io/_XActiveDataSource.java
+++ b/qadevOOo/tests/java/ifc/io/_XActiveDataSource.java
@@ -53,6 +53,7 @@ public class _XActiveDataSource extends MultiMethodTest {
/**
* Take the XOutputStream from the environment for setting and getting.
*/
+ @Override
public void before() {
XInterface x = (XInterface)tEnv.getObjRelation("OutputStream");
oStream = UnoRuntime.queryInterface
@@ -88,6 +89,7 @@ public class _XActiveDataSource extends MultiMethodTest {
/**
* Forces object environment recreation.
*/
+ @Override
public void after() {
this.disposeEnvironment() ;
}
diff --git a/qadevOOo/tests/java/ifc/io/_XConnectable.java b/qadevOOo/tests/java/ifc/io/_XConnectable.java
index 8c8d061b9c7c..35742e8d4dee 100644
--- a/qadevOOo/tests/java/ifc/io/_XConnectable.java
+++ b/qadevOOo/tests/java/ifc/io/_XConnectable.java
@@ -51,6 +51,7 @@ public class _XConnectable extends MultiMethodTest {
/**
* Get another connectable object from object relations.
*/
+ @Override
public void before() {
XInterface x = (XInterface)tEnv.getObjRelation("Connectable");
xConnect = UnoRuntime.queryInterface(
@@ -116,6 +117,7 @@ public class _XConnectable extends MultiMethodTest {
/**
* Forces object environment recreation.
*/
+ @Override
public void after() {
this.disposeEnvironment() ;
}
diff --git a/qadevOOo/tests/java/ifc/io/_XDataInputStream.java b/qadevOOo/tests/java/ifc/io/_XDataInputStream.java
index 2671b4baf620..5a3321f541c7 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.
*/
+ @Override
public void before(){
XInterface x = (XInterface)tEnv.getObjRelation("StreamWriter") ;
@@ -396,6 +397,7 @@ public class _XDataInputStream extends MultiMethodTest {
/**
* Forces object environment recreation.
*/
+ @Override
public void after() {
try {
oStream.flush();
diff --git a/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java b/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java
index 90d049cbd05f..51dcff41c2f0 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.
*/
+ @Override
public void before() throws RuntimeException {
List