Rename UnnamedTransaction as GitDBTransactionImpl

This commit is contained in:
Paul Campbell 2018-06-15 14:48:43 +01:00
parent bd4306bbc0
commit 9c6c2bc247
2 changed files with 3 additions and 3 deletions

View file

@ -113,7 +113,7 @@ class GitDBBranchImpl implements GitDBBranch {
public GitDBTransaction transaction(String name) throws IOException {
final Ref ref = gitDBRepo.createBranch(branchRef, UUID.randomUUID().toString());
final GitDBBranch branch = new GitDBBranchImpl(ref, gitDBRepo, userName, userEmailAddress, name);
return new UnnamedTransaction(this, branch);
return new GitDBTransactionImpl(this, branch);
}
@Override

View file

@ -32,12 +32,12 @@ import java.util.Optional;
*
* @author Paul Campbell (pcampbell@kemitix.net)
*/
class UnnamedTransaction implements GitDBTransaction {
class GitDBTransactionImpl implements GitDBTransaction {
private final GitDBBranch base;
private final GitDBBranch branch;
UnnamedTransaction(final GitDBBranch base, final GitDBBranch branch) {
GitDBTransactionImpl(final GitDBBranch base, final GitDBBranch branch) {
this.base = base;
this.branch = branch;
}