diff options
author | Christian Halstrick <christian.halstrick@sap.com> | 2012-07-04 15:08:13 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2015-03-12 18:18:45 -0700 |
commit | 6bc48cdc62287934ce1b7003280b19a5994e7668 (patch) | |
tree | 04b02cb8716b67b9a2db2b447a2ea424f8b71433 /org.eclipse.jgit.archive/src | |
parent | 9041fbc958e3f1d19d3ff1285c41201336d5369f (diff) | |
download | jgit-6bc48cdc62287934ce1b7003280b19a5994e7668.tar.gz jgit-6bc48cdc62287934ce1b7003280b19a5994e7668.zip |
CommitBuilder should check for duplicate parents
When setting the parents of a commit with setParentIds() or
addParentId() it should be checked that we don't have duplicate parents.
An IllegalArgumentException should be thrown in this case.
Change-Id: I9fa9f31149b7732071b304bca232f037146de454
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
Diffstat (limited to 'org.eclipse.jgit.archive/src')
0 files changed, 0 insertions, 0 deletions