Fix 'unnecessary use of fully qualified name'.

This commit is contained in:
ghubstan 2022-02-17 18:30:27 -03:00
parent 1d70b1bb5f
commit 18888f4d7a
No known key found for this signature in database
GPG Key ID: E35592D6800A861E

View File

@ -122,7 +122,7 @@ public abstract class AbstractOfferTest extends MethodTest {
var priceAsBigDecimal = new BigDecimal(Double.toString(base), mathContext)
.add(new BigDecimal(Double.toString(delta), mathContext))
.round(mathContext);
return String.format("%." + precision + "f", priceAsBigDecimal.doubleValue());
return format("%." + precision + "f", priceAsBigDecimal.doubleValue());
}
protected OfferInfo getAvailableBsqSwapOffer(GrpcClient client,