implements LooseRef {
private final FileSnapshot snapShot;
- LoosePeeledTag(FileSnapshot snapshot, @NonNull String refName,
+ LoosePeeledTag(FileSnapshot snapShot, @NonNull String refName,
@NonNull ObjectId id, @NonNull ObjectId p) {
super(LOOSE, refName, id, p);
- this.snapShot = snapshot;
+ this.snapShot = snapShot;
}
@Override
implements LooseRef {
private final FileSnapshot snapShot;
- LooseNonTag(FileSnapshot snapshot, @NonNull String refName,
+ LooseNonTag(FileSnapshot snapShot, @NonNull String refName,
@NonNull ObjectId id) {
super(LOOSE, refName, id);
- this.snapShot = snapshot;
+ this.snapShot = snapShot;
}
@Override
LooseRef {
private final FileSnapshot snapShot;
- LooseSymbolicRef(FileSnapshot snapshot, @NonNull String refName,
+ LooseSymbolicRef(FileSnapshot snapShot, @NonNull String refName,
@NonNull Ref target) {
super(refName, target);
- this.snapShot = snapshot;
+ this.snapShot = snapShot;
}
@Override
private static class SnapshotPackedBatchRefUpdate
extends PackedBatchRefUpdate {
- SnapshotPackedBatchRefUpdate(RefDirectory refdb) {
- super(refdb);
+ SnapshotPackedBatchRefUpdate(RefDirectory refDb) {
+ super(refDb);
}
- SnapshotPackedBatchRefUpdate(RefDirectory refdb,
+ SnapshotPackedBatchRefUpdate(RefDirectory refDb,
boolean shouldLockLooseRefs) {
- super(refdb, shouldLockLooseRefs);
+ super(refDb, shouldLockLooseRefs);
}
@Override
/**
* Initialize.
*
- * @param refdb
+ * @param refDb
* The RefDatabase
* @param reftableDb
* The ReftableDatabase
* @param repository
* The repository on which this update will run
*/
- protected ReftableBatchRefUpdate(RefDatabase refdb, ReftableDatabase reftableDb, Lock lock,
- Repository repository) {
- super(refdb);
+ protected ReftableBatchRefUpdate(RefDatabase refDb,
+ ReftableDatabase reftableDb, Lock lock, Repository repository) {
+ super(refDb);
this.refDb = reftableDb;
this.lock = lock;
this.repository = repository;
* Test a file mode for equality with this
* {@link org.eclipse.jgit.lib.FileMode} object.
*
- * @param modebits
+ * @param modeBits
* a int.
* @return true if the mode bits represent the same mode as this object
*/
@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.