[errorprone] Fix inconsistent capitalization
See https://errorprone.info/bugpattern/InconsistentCapitalization Change-Id: I5eaa35a053aca738e180fe22a05fad97877b7e0f
This commit is contained in:
parent
e5e54b61b4
commit
298f93e989
|
@ -1413,10 +1413,10 @@ private static final class LoosePeeledTag extends ObjectIdRef.PeeledTag
|
||||||
implements LooseRef {
|
implements LooseRef {
|
||||||
private final FileSnapshot snapShot;
|
private final FileSnapshot snapShot;
|
||||||
|
|
||||||
LoosePeeledTag(FileSnapshot snapshot, @NonNull String refName,
|
LoosePeeledTag(FileSnapshot snapShot, @NonNull String refName,
|
||||||
@NonNull ObjectId id, @NonNull ObjectId p) {
|
@NonNull ObjectId id, @NonNull ObjectId p) {
|
||||||
super(LOOSE, refName, id, p);
|
super(LOOSE, refName, id, p);
|
||||||
this.snapShot = snapshot;
|
this.snapShot = snapShot;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -1434,10 +1434,10 @@ private static final class LooseNonTag extends ObjectIdRef.PeeledNonTag
|
||||||
implements LooseRef {
|
implements LooseRef {
|
||||||
private final FileSnapshot snapShot;
|
private final FileSnapshot snapShot;
|
||||||
|
|
||||||
LooseNonTag(FileSnapshot snapshot, @NonNull String refName,
|
LooseNonTag(FileSnapshot snapShot, @NonNull String refName,
|
||||||
@NonNull ObjectId id) {
|
@NonNull ObjectId id) {
|
||||||
super(LOOSE, refName, id);
|
super(LOOSE, refName, id);
|
||||||
this.snapShot = snapshot;
|
this.snapShot = snapShot;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -1490,10 +1490,10 @@ private static final class LooseSymbolicRef extends SymbolicRef implements
|
||||||
LooseRef {
|
LooseRef {
|
||||||
private final FileSnapshot snapShot;
|
private final FileSnapshot snapShot;
|
||||||
|
|
||||||
LooseSymbolicRef(FileSnapshot snapshot, @NonNull String refName,
|
LooseSymbolicRef(FileSnapshot snapShot, @NonNull String refName,
|
||||||
@NonNull Ref target) {
|
@NonNull Ref target) {
|
||||||
super(refName, target);
|
super(refName, target);
|
||||||
this.snapShot = snapshot;
|
this.snapShot = snapShot;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -228,13 +228,13 @@ public RefUpdate.Result rename() throws IOException {
|
||||||
|
|
||||||
private static class SnapshotPackedBatchRefUpdate
|
private static class SnapshotPackedBatchRefUpdate
|
||||||
extends PackedBatchRefUpdate {
|
extends PackedBatchRefUpdate {
|
||||||
SnapshotPackedBatchRefUpdate(RefDirectory refdb) {
|
SnapshotPackedBatchRefUpdate(RefDirectory refDb) {
|
||||||
super(refdb);
|
super(refDb);
|
||||||
}
|
}
|
||||||
|
|
||||||
SnapshotPackedBatchRefUpdate(RefDirectory refdb,
|
SnapshotPackedBatchRefUpdate(RefDirectory refDb,
|
||||||
boolean shouldLockLooseRefs) {
|
boolean shouldLockLooseRefs) {
|
||||||
super(refdb, shouldLockLooseRefs);
|
super(refDb, shouldLockLooseRefs);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -64,7 +64,7 @@ public abstract class ReftableBatchRefUpdate extends BatchRefUpdate {
|
||||||
/**
|
/**
|
||||||
* Initialize.
|
* Initialize.
|
||||||
*
|
*
|
||||||
* @param refdb
|
* @param refDb
|
||||||
* The RefDatabase
|
* The RefDatabase
|
||||||
* @param reftableDb
|
* @param reftableDb
|
||||||
* The ReftableDatabase
|
* The ReftableDatabase
|
||||||
|
@ -73,9 +73,9 @@ public abstract class ReftableBatchRefUpdate extends BatchRefUpdate {
|
||||||
* @param repository
|
* @param repository
|
||||||
* The repository on which this update will run
|
* The repository on which this update will run
|
||||||
*/
|
*/
|
||||||
protected ReftableBatchRefUpdate(RefDatabase refdb, ReftableDatabase reftableDb, Lock lock,
|
protected ReftableBatchRefUpdate(RefDatabase refDb,
|
||||||
Repository repository) {
|
ReftableDatabase reftableDb, Lock lock, Repository repository) {
|
||||||
super(refdb);
|
super(refDb);
|
||||||
this.refDb = reftableDb;
|
this.refDb = reftableDb;
|
||||||
this.lock = lock;
|
this.lock = lock;
|
||||||
this.repository = repository;
|
this.repository = repository;
|
||||||
|
|
|
@ -176,12 +176,12 @@ private FileMode(int mode, int expType) {
|
||||||
* Test a file mode for equality with this
|
* Test a file mode for equality with this
|
||||||
* {@link org.eclipse.jgit.lib.FileMode} object.
|
* {@link org.eclipse.jgit.lib.FileMode} object.
|
||||||
*
|
*
|
||||||
* @param modebits
|
* @param modeBits
|
||||||
* a int.
|
* a int.
|
||||||
* @return true if the mode bits represent the same mode as this object
|
* @return true if the mode bits represent the same mode as this object
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("NonOverridingEquals")
|
@SuppressWarnings("NonOverridingEquals")
|
||||||
public abstract boolean equals(int modebits);
|
public abstract boolean equals(int modeBits);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copy this mode as a sequence of octal US-ASCII bytes.
|
* Copy this mode as a sequence of octal US-ASCII bytes.
|
||||||
|
|
Loading…
Reference in New Issue