Fix indentation

This commit is contained in:
xmeng 2018-06-24 21:54:23 +01:00
parent 8ae25bed5c
commit 1bd1d9562a
1 changed files with 6 additions and 6 deletions

View File

@ -47,14 +47,14 @@ public class MicroQueue {
// Remove from the top of the queue.
return tcx.run(new Function<Transaction,Void>(){
public Void apply(Transaction tr){
final KeyValue item = firstItem(tr);
if(item == null){
return null;
}
final KeyValue item = firstItem(tr);
if(item == null){
return null;
}
tr.clear(item.getKey());
// Return the old value.
return Tuple.fromBytes(item.getValue()).get(0);
// Return the old value.
return Tuple.fromBytes(item.getValue()).get(0);
}
});