> Removed superfluous cast > > Revision Changes Path > 1.91 +1 -1 > ant/src/main/org/apache/tools/ant/AntClassLoader.java > > Index: AntClassLoader.java > 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) {
Mmh - but why itīs introduces just before? Revision 1.91 "Removed superfluous cast" by jkf Revision 1.90 "deal with javac1.5 whinings" by stevel Log messages http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/AntClass Loader.java?rev=1.91&view=log only cast added in 1.90 http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/AntClass Loader.java?r1=1.89&r2=1.90&diff_format=h Jan