[errorprone] NameRevCommand: remove ignored call of #toString
This fixes errorprone error: [ReturnValueIgnored] Return value of 'toString' must be used. Change-Id: I90d2725ae16725a053179322cfaab18cab7b8e68
This commit is contained in:
parent
1d280db147
commit
f3eff2308f
|
@ -66,12 +66,13 @@ private StringBuilder format() {
|
|||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder(getClass().getSimpleName())
|
||||
.append('[');
|
||||
if (tip != null)
|
||||
if (tip != null) {
|
||||
sb.append(format());
|
||||
else
|
||||
} else {
|
||||
sb.append((Object) null);
|
||||
}
|
||||
sb.append(',').append(cost).append(']').append(' ')
|
||||
.append(super.toString()).toString();
|
||||
.append(super.toString());
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue