Re: svn commit: r904231 - in /commons/proper/math/trunk/src: main/java/org/apache/commons/math/linear/AbstractRealVector.java site/xdoc/changes.xml test/java/org/apache/commons/math/linear/ArrayReal

2010-01-28 Thread Mikkel Meyer Andersen
Hi. Thanks! Why use an iterator instead of just a simple for-loop? And what about saving the values until the vector invalidates - I see pros and cons for both approaches, so it's more to hear what your thoughts were? Cheers, Mikkel. On 28/01/2010 8:42 PM, wrote: Author: luc Date: Thu Jan 28

Re: svn commit: r904231 - in /commons/proper/math/trunk/src: main/java/org/apache/commons/math/linear/AbstractRealVector.java site/xdoc/changes.xml test/java/org/apache/commons/math/linear/ArrayReal

2010-01-28 Thread Luc Maisonobe
Mikkel Meyer Andersen a écrit : > Hi. > > Thanks! > > Why use an iterator instead of just a simple for-loop? And what about saving > the values until the vector invalidates - I see pros and cons for both > approaches, so it's more to hear what your thoughts were? It is because there already are

question with commons-io

2010-01-28 Thread shukai yuan
Hi, Why the method 'isSymlink(File file)' which is in the org.apache.commons.iopackage does not check whether the file exists? Maybe this method only be used in some method of the FileUtils class and the check logic is provided in these method, but the modifier of this mehod is "public", it may b

Re: svn commit: r904231 - in /commons/proper/math/trunk/src:main/java/org/apache/commons/math/linear/AbstractRealVector.javasite/xdoc/changes.xml test/java/org/apache/commons/math/linear/ArrayRealVect

2010-01-28 Thread Bill Barker
-- From: "Luc Maisonobe" Sent: Thursday, January 28, 2010 12:14 PM To: "Commons Developers List" Subject: Re: svn commit: r904231 - in /commons/proper/math/trunk/src:main/java/org/apache/commons/math/linear/AbstractRealVector.javasite/xdoc/chang

question with commons-io FileUtils deleteDirectory(File direcotry)

2010-01-28 Thread shukai yuan
HI, Maybe the method FileUtils.deleteDirectory(File directory) should check whether the directory is null? Shukai