Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
tsoclient removed from TransactionState because is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
francisco-perez-sorrosal committed Nov 27, 2012
1 parent 0ce94f4 commit ae2338c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Expand Up @@ -75,7 +75,7 @@ public TransactionState beginTransaction() throws TransactionException {
throw new TransactionException("Error retrieving timestamp", cb.getException());
}

return new TransactionState(cb.getStartTimestamp(), tsoclient);
return new TransactionState(cb.getStartTimestamp());
}

/**
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/com/yahoo/omid/client/TransactionState.java
Expand Up @@ -32,11 +32,10 @@ public class TransactionState {

public TSOClient tsoclient;

TransactionState(long startTimestamp, TSOClient client) {
TransactionState(long startTimestamp) {
this.rows = new HashSet<RowKeyFamily>();
this.startTimestamp = startTimestamp;;
this.commitTimestamp = 0;
this.tsoclient = client;
}

public long getStartTimestamp() {
Expand Down

0 comments on commit ae2338c

Please sign in to comment.