Merge pull request #791 from haskellcamargo/master

Fixed code style to remove explicit casting op.
This commit is contained in:
inder123 2016-02-14 15:56:35 -08:00
commit 6f15cd0060

View File

@ -52,6 +52,6 @@ public class LineItem {
@Override @Override
public String toString() { public String toString() {
return String.format("(item: %s, qty: %s, price: %.2f %s)", return String.format("(item: %s, qty: %s, price: %.2f %s)",
name, quantity, priceInMicros/(double)1000000, currencyCode); name, quantity, priceInMicros / 1000000d, currencyCode);
} }
} }