mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-12 10:15:52 +00:00
Transaction: clear a couple of static analysis warnings.
This commit is contained in:
parent
c5665d68b5
commit
1f37350161
@ -584,9 +584,9 @@ public class Transaction extends ChildMessage implements Serializable {
|
|||||||
* A human readable version of the transaction useful for debugging. The format is not guaranteed to be stable.
|
* A human readable version of the transaction useful for debugging. The format is not guaranteed to be stable.
|
||||||
* @param chain If provided, will be used to estimate lock times (if set). Can be null.
|
* @param chain If provided, will be used to estimate lock times (if set). Can be null.
|
||||||
*/
|
*/
|
||||||
public String toString(AbstractBlockChain chain) {
|
public String toString(@Nullable AbstractBlockChain chain) {
|
||||||
// Basic info about the tx.
|
// Basic info about the tx.
|
||||||
StringBuffer s = new StringBuffer();
|
StringBuilder s = new StringBuilder();
|
||||||
s.append(String.format(" %s: %s%n", getHashAsString(), getConfidence()));
|
s.append(String.format(" %s: %s%n", getHashAsString(), getConfidence()));
|
||||||
if (isTimeLocked()) {
|
if (isTimeLocked()) {
|
||||||
String time;
|
String time;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user