From bddc1a9ed385595ab8ec75aa0ac9be586f55a68f Mon Sep 17 00:00:00 2001 From: Marcelo Camargo Date: Sun, 14 Feb 2016 03:47:05 -0200 Subject: [PATCH] Fixed code style to remove explicit casting op. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ยท Separated binary operators --- .../src/com/google/gson/examples/android/model/LineItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/android-proguard-example/src/com/google/gson/examples/android/model/LineItem.java b/examples/android-proguard-example/src/com/google/gson/examples/android/model/LineItem.java index 5245f448..1273ec97 100644 --- a/examples/android-proguard-example/src/com/google/gson/examples/android/model/LineItem.java +++ b/examples/android-proguard-example/src/com/google/gson/examples/android/model/LineItem.java @@ -52,6 +52,6 @@ public class LineItem { @Override public String toString() { return String.format("(item: %s, qty: %s, price: %.2f %s)", - name, quantity, priceInMicros/(double)1000000, currencyCode); + name, quantity, priceInMicros / 1000000d, currencyCode); } }