diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-04 13:16:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-04 13:38:30 +0200 |
commit | f493555623fb36bb51e78a4630483271ed36afe7 (patch) | |
tree | ddd107373aafbcbdd3f31a1fd5f4e53e7c073f59 /filter | |
parent | cebdd852165cd3080a4eee885dceadcc41173ef3 (diff) |
java: remove some casting in lib.TestParameters#getMSF
where the return value is always cast to XMultiServiceFactory,
so just do the cast in the method and avoid noise at the call sites.
Change-Id: I3a2e06ac6edb3c6021eda6442032db57aaa22e13
Diffstat (limited to 'filter')
-rw-r--r-- | filter/qa/complex/filter/detection/typeDetection/TypeDetection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java b/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java index 1456289a0ee4..7b750b91c44a 100644 --- a/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java +++ b/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java @@ -204,7 +204,7 @@ public class TypeDetection extends ComplexTestCase { public void before() throws Exception { // create TypeDetection - XMultiServiceFactory xMSF = (XMultiServiceFactory)param.getMSF(); + XMultiServiceFactory xMSF = param.getMSF(); assure("Could not get XMultiServiceFactory", xMSF != null); Object oInterface = xMSF.createInstance( |