Skip to content

Commit 47db5ae

Browse files
committed
Fix unnecessary boxed primitives in AutoValue classes
Fixes ``` google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/TableResult.java:42: error: [AutoValueUnnecessaryBoxing] property method com.google.cloud.bigquery.TableResult.getTotalRows() is primitive but parameter of setter method is not public abstract TableResult.Builder setTotalRows(Long totalRows); ^ ``` See google/auto@328a25c
1 parent 421c825 commit 47db5ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public abstract static class Builder {
3939
* Sets the total number of rows in the complete result set, which can be more than the number
4040
* of rows in the first page of results returned by {@link #getValues()}.
4141
*/
42-
public abstract TableResult.Builder setTotalRows(Long totalRows);
42+
public abstract TableResult.Builder setTotalRows(long totalRows);
4343

4444
public abstract TableResult.Builder setJobId(JobId jobId);
4545

0 commit comments

Comments
 (0)