Permalink
Browse files

tsoclient removed from TransactionState because is not used

  • Loading branch information...
francisco-perez-sorrosal committed Nov 27, 2012
1 parent 0ce94f4 commit ae2338cf94b570149043854ed51a1d3a40bc01c8
@@ -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());
}
/**
@@ -32,11 +32,10 @@
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() {

0 comments on commit ae2338c

Please sign in to comment.