Remove unused Commit class from GitUtil

Change-Id: I6ebd84d8ce8e090523927f7f9434ba548c62b42f
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2015-05-06 14:33:24 +02:00
committed by David Pursehouse
parent 74861171bc
commit 1e769cfdda

View File

@@ -152,24 +152,6 @@ public class GitUtil {
return Iterables.getOnlyElement(r);
}
public static class Commit {
private final RevCommit commit;
private final String changeId;
Commit(RevCommit commit, String changeId) {
this.commit = commit;
this.changeId = changeId;
}
public RevCommit getCommit() {
return commit;
}
public String getChangeId() {
return changeId;
}
}
public static Optional<String> getChangeId(TestRepository<?> tr, ObjectId id)
throws IOException {
RevCommit c = tr.getRevWalk().parseCommit(id);