javagit/src/main/java/edu/nyu/cs/javagit/api/commands/GitResetResponse.java
public File getFileNeedingUpdate(int index) {
    CheckUtilities.checkIntIndexInListRange(filesNeedingUpdate, index);
    return filesNeedingUpdate.get(index);
  }
public File getFileNeedingUpdate(int index) {
    CheckUtilities.checkIntIndexInListRange(filesNeedingUpdate, index);
    return filesNeedingUpdate.get(index);
  }
public File getFileNeedingUpdate ( int index ) { CheckUtilities . checkIntIndexInListRange ( filesNeedingUpdate , index ) ; return filesNeedingUpdate . get ( index ) ; }
Gets the file at the specified index from the list of files needing update.

@param index
The index of the file to get. It must fall in the range:
<code>0 &lt;= index &lt; getRemovedFilesSize()</code>.
@return The file at the specified index.
Gets the file at the specified index from the list of files needing update .