BatchUpdate: Remove protected from static methods
This modifier is not necessary for the methods to be used by implementations in the same package. Change-Id: Iafc1152b48bf9097aa9d7e064b6685036167990a
This commit is contained in:
@@ -117,7 +117,7 @@ public abstract class BatchUpdate implements AutoCloseable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected static Order getOrder(Collection<? extends BatchUpdate> updates) {
|
static Order getOrder(Collection<? extends BatchUpdate> updates) {
|
||||||
Order o = null;
|
Order o = null;
|
||||||
for (BatchUpdate u : updates) {
|
for (BatchUpdate u : updates) {
|
||||||
if (o == null) {
|
if (o == null) {
|
||||||
@@ -129,7 +129,7 @@ public abstract class BatchUpdate implements AutoCloseable {
|
|||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected static boolean getUpdateChangesInParallel(Collection<? extends BatchUpdate> updates) {
|
static boolean getUpdateChangesInParallel(Collection<? extends BatchUpdate> updates) {
|
||||||
checkArgument(!updates.isEmpty());
|
checkArgument(!updates.isEmpty());
|
||||||
Boolean p = null;
|
Boolean p = null;
|
||||||
for (BatchUpdate u : updates) {
|
for (BatchUpdate u : updates) {
|
||||||
|
|||||||
Reference in New Issue
Block a user