javagit/src/main/java/edu/nyu/cs/javagit/client/GitCommitResponseImpl.java
public boolean setLinesInserted(String linesInsertedStr) {
    try {
      this.linesInserted = Integer.parseInt(linesInsertedStr);
      return true;
    } catch (NumberFormatException e) {
      return false;
    }
  }
public boolean setLinesInserted(String linesInsertedStr) {
    try {
      this.linesInserted = Integer.parseInt(linesInsertedStr);
      return true;
    } catch (NumberFormatException e) {
      return false;
    }
  }
public boolean setLinesInserted ( String linesInsertedStr ) { try { this . linesInserted = Integer . parseInt ( linesInsertedStr ) ; return true ; } catch ( NumberFormatException e ) { return false ; } }
Sets the number of lines inserted in a commit.

@param linesInsertedStr
The number of lines inserted in <code>String</code> format.
@return True if the <code>linesInsertedStr</code> parameter is a <code>String</code>
representing a number. False if the <code>String</code> does not contain a parsable
integer.
Sets the number of lines inserted in a commit .