Skip to content

Commit

Permalink
HDDS-4067. Implement toString for OMTransactionInfo (apache#1300)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaliujia authored and rakeshadr committed Sep 3, 2020
1 parent f3f7cbc commit 45d4267
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ public int hashCode() {
return Objects.hash(term, transactionIndex);
}

@Override
public String toString() {
return generateTransactionInfo();
}

/**
* Return transaction info persisted in OM DB.
* @param metadataManager
Expand Down

0 comments on commit 45d4267

Please sign in to comment.