Skip to content

Commit 23730c4

Browse files
committed
Remove useless parentheses from FieldValue
1 parent cbc7054 commit 23730c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • google-cloud-bigquery/src/main/java/com/google/cloud/bigquery

google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/FieldValue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public long timestampValue() {
303303
public long getTimestampValue() {
304304
// timestamps are encoded in the format 1408452095.22 where the integer part is seconds since
305305
// epoch (e.g. 1408452095.22 == 2014-08-19 07:41:35.220 -05:00)
306-
return new Double(((Double.valueOf(getStringValue())) * MICROSECONDS)).longValue();
306+
return new Double(Double.valueOf(getStringValue()) * MICROSECONDS).longValue();
307307
}
308308

309309
/**

0 commit comments

Comments
 (0)