summaryrefslogtreecommitdiff
path: root/jurt/test/com/sun/star/lib/uno
diff options
context:
space:
mode:
Diffstat (limited to 'jurt/test/com/sun/star/lib/uno')
-rw-r--r--jurt/test/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory_Test.java4
-rw-r--r--jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java10
2 files changed, 6 insertions, 8 deletions
diff --git a/jurt/test/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory_Test.java b/jurt/test/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory_Test.java
index 9fcb929c56fc..d8134efbd69f 100644
--- a/jurt/test/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory_Test.java
+++ b/jurt/test/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory_Test.java
@@ -65,7 +65,7 @@ public final class ProxyFactory_Test {
}
private void testExceptions(TestRequestHandler handler, Method method,
- Object obj, Object[] args, Class[] exceptions)
+ Object obj, Object[] args, Class<?>[] exceptions)
throws Exception
{
for (int i = 0; i < exceptions.length; ++i) {
@@ -75,7 +75,7 @@ public final class ProxyFactory_Test {
}
private void testExceptionType(Method method, Object obj, Object[] args,
- Class exception) throws Exception {
+ Class<?> exception) throws Exception {
try {
method.invoke(obj, args);
assertNull(exception);
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 c7b90f3c8d37..87af592acff5 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
@@ -146,9 +146,8 @@ public final class JobQueue_Test {
jobQueue.putJob(new Job(workAt, __iReceiver,
new Message(
null, true, "oid", __workAt_td,
- ((MethodDescription)
- __workAt_td.getMethodDescription(
- "notifyme")),
+ __workAt_td.getMethodDescription(
+ "notifyme"),
true, null, false, null, null)),
null);
while (!workAt._notified) {
@@ -171,8 +170,7 @@ public final class JobQueue_Test {
new Job(workAt, __iReceiver,
new Message(
null, true, "oid", __workAt_td,
- ((MethodDescription)
- __workAt_td.getMethodDescription("notifyme")),
+ __workAt_td.getMethodDescription("notifyme"),
true, null, false, null, null)),
null);
while (!workAt._notified) {
@@ -186,7 +184,7 @@ public final class JobQueue_Test {
JobQueue jobQueue) {
Message iMessage = new Message(
null, true, "oid", __workAt_td,
- (MethodDescription) __workAt_td.getMethodDescription(operation),
+ __workAt_td.getMethodDescription(operation),
true, null, false, null, null);
for (int i = 0; i < TestWorkAt.MESSAGES; ++ i) {
Thread.yield(); // force scheduling