Skip to content

Commit

Permalink
HDDS-4067. Implement toString for OMTransactionInfo (#1300)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaliujia committed Aug 11, 2020
1 parent cee43e9 commit 9c22180
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 9c22180

Please sign in to comment.