diff options
Diffstat (limited to 'qadevOOo/runner/helper/ComplexDescGetter.java')
-rw-r--r-- | qadevOOo/runner/helper/ComplexDescGetter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/runner/helper/ComplexDescGetter.java b/qadevOOo/runner/helper/ComplexDescGetter.java index 413733342be1..e269e1816d1c 100644 --- a/qadevOOo/runner/helper/ComplexDescGetter.java +++ b/qadevOOo/runner/helper/ComplexDescGetter.java @@ -85,7 +85,7 @@ public class ComplexDescGetter extends DescGetter // case3: method1(param1,param2),method2(param1,param2) String method = className.substring(index + 2); className = className.substring(0, index); - ArrayList methods = new ArrayList(); + ArrayList<String> methods = new ArrayList<String>(); String[] split = method.split("(?<=\\)),(?=\\w+)"); @@ -102,7 +102,7 @@ public class ComplexDescGetter extends DescGetter } methodNames = new String[methods.size()]; - methodNames = (String[]) methods.toArray(methodNames); + methodNames = methods.toArray(methodNames); } // create an instance |