[jboss-cvs] jboss-cvs-commits Digest, Vol 37, Issue 460

Ales Justin ales.justin at gmail.com
Tue Jul 28 14:37:15 EDT 2009


 > +   /**
 > +    * Get the all the parent files of this virtual file from this 
file to the root.  The leafmost file will be at
 > +    * the start of the array, and the rootmost will be at the end.
 > +    *
 > +    * @return the array of parent files
 > +    */
 >     public VirtualFile[] getParentFiles() {
 >        return getParentFiles(0);

I think this would better be LinkedList or something "not array".
To be able to do getFirst() or getLast() easily.




More information about the jboss-cvs-commits mailing list