Remove method getNumberOfPatchSets() from Change.

Removed the only use of the method. Fixed RebaseChange to pass in
the db object.

Some other minor cleanups are included too.

This is part of the code cleanup to remove the nbrPatchSets field.

Change-Id: Iaa7431ea9c96e19c008d8ec25d774e0f7240ba35
This commit is contained in:
Colby Ranger
2012-11-28 15:44:57 -08:00
parent a78f2db980
commit c627bc54d0
4 changed files with 13 additions and 34 deletions

View File

@@ -436,10 +436,6 @@ public final class Change {
lastUpdatedOn = new Timestamp(System.currentTimeMillis());
}
public int getNumberOfPatchSets() {
return nbrPatchSets;
}
public String getSortKey() {
return sortKey;
}