Browse Source

Removed superfluous cast

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277909 13f79535-47bb-0310-9956-ffa450edef68
master
Jacobus Martinus Kruithof 20 years ago
parent
commit
823aadf5aa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/AntClassLoader.java

+ 1
- 1
src/main/org/apache/tools/ant/AntClassLoader.java View File

@@ -518,7 +518,7 @@ public class AntClassLoader extends ClassLoader implements SubBuildListener {
if (cons.length > 0 && cons[0] != null) {
final String[] strs = new String[NUMBER_OF_STRINGS];
try {
cons[0].newInstance((Object[])strs);
cons[0].newInstance(strs);
// Expecting an exception to be thrown by this call:
// IllegalArgumentException: wrong number of Arguments
} catch (Exception e) {


Loading…
Cancel
Save