From 4d369a40522575260b4a9b5fe7c8313b9ed4f9cc Mon Sep 17 00:00:00 2001 From: Yang Song Date: Fri, 2 Mar 2018 16:05:05 -0800 Subject: Update QuickStart to improve readability. (#1043) --- .../src/main/java/io/opencensus/examples/helloworld/QuickStart.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/src/main/java/io/opencensus/examples/helloworld/QuickStart.java b/examples/src/main/java/io/opencensus/examples/helloworld/QuickStart.java index 84d21d3d..f6626135 100644 --- a/examples/src/main/java/io/opencensus/examples/helloworld/QuickStart.java +++ b/examples/src/main/java/io/opencensus/examples/helloworld/QuickStart.java @@ -67,9 +67,7 @@ public final class QuickStart { VIDEO_SIZE_VIEW_NAME, "processed video size over time", VIDEO_SIZE, - Aggregation.Distribution.create( - BucketBoundaries.create( - Arrays.asList(0.0, (double) (1 << 8), (double) (1 << 16)))), + Aggregation.Distribution.create(BucketBoundaries.create(Arrays.asList(0.0, 256.0, 65536.0))), Collections.singletonList(FRONTEND_KEY), Cumulative.create()); -- cgit v1.2.3