PatchList: Make constructor public

Useful for testing implementations of PatchListCache.

Change-Id: I9aab7763577af08b7aa2c0ab8f6dd184c104efe7
This commit is contained in:
Dave Borowitz
2016-04-03 22:01:46 -04:00
parent dc28bc9446
commit 0e63dae483

View File

@@ -63,7 +63,7 @@ public class PatchList implements Serializable {
private transient int deletions;
private transient PatchListEntry[] patches;
PatchList(@Nullable final AnyObjectId oldId, final AnyObjectId newId,
public PatchList(@Nullable final AnyObjectId oldId, final AnyObjectId newId,
final boolean againstParent, final PatchListEntry[] patches) {
this.oldId = oldId != null ? oldId.copy() : null;
this.newId = newId.copy();