From 8d87758d65e4a03271f76e354dfc84c1fcd5fe21 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 17 Apr 2013 14:59:35 +0200 Subject: Java cleanup, remove the rest of the unnecessary casts Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa Reviewed-on: https://gerrit.libreoffice.org/3432 Reviewed-by: Fridrich Strba Tested-by: Fridrich Strba --- ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ucb/test') diff --git a/ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java b/ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java index a84516e0f4a4..2ac0497d952c 100644 --- a/ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java +++ b/ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java @@ -82,8 +82,8 @@ public final class GlobalTransfer_Test extends ComplexTestCase { } XCommandProcessor xCmdProc - = (XCommandProcessor)UnoRuntime.queryInterface( - XCommandProcessor.class, oObj ); + = UnoRuntime.queryInterface( + XCommandProcessor.class, oObj ); assure( "UCB does not implement mandatory interface XCommandProcessor!", xCmdProc != null); @@ -180,10 +180,9 @@ public final class GlobalTransfer_Test extends ComplexTestCase { } */ XInteractionSupplyName xSupplyName - = (XInteractionSupplyName) - UnoRuntime.queryInterface( - XInteractionSupplyName.class, - continuations[ i ] ); + = UnoRuntime.queryInterface( + XInteractionSupplyName.class, + continuations[ i ] ); if ( xSupplyName != null ) { String newname = "renamed_" + req.ClashingName; log.println( "Interaction Handler selects: NEW NAME: " -- cgit v1.2.3