List of usage examples for org.eclipse.jgit.lib AnyObjectId copyRawTo
public void copyRawTo(int[] b, int o)
From source file:org.gitective.core.filter.commit.CommitImpact.java
License:Open Source License
/** * Create impact/*from w ww .j a va 2s.c om*/ * * @param commit * @param add * @param edit * @param delete */ public CommitImpact(AnyObjectId commit, int add, int edit, int delete) { this.commit = new byte[OBJECT_ID_LENGTH]; commit.copyRawTo(this.commit, 0); this.add = add; this.edit = edit; this.delete = delete; }