Skip to content

Commit b60322d

Browse files
committed
Changes println to printf for consistency
1 parent 29a535c commit b60322d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/snippets/src/main/java/com/example/analytics/RunReportSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static void sampleRunReport(String propertyId) throws Exception {
8787
// Prints results of a runReport call.
8888
static void printRunResponseResponse(RunReportResponse response) {
8989
// [START analyticsdata_print_run_report_response_header]
90-
System.out.println(response.getRowsList().size() + "rows received");
90+
System.out.printf("%s rows received%n", response.getRowsList().size());
9191

9292
for (DimensionHeader header : response.getDimensionHeadersList()) {
9393
System.out.printf(

0 commit comments

Comments
 (0)