PatchList: Make constructor public
Useful for testing implementations of PatchListCache. Change-Id: I9aab7763577af08b7aa2c0ab8f6dd184c104efe7
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user