aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorYang Song <songy23@users.noreply.github.com>2018-03-02 16:05:05 -0800
committerGitHub <noreply@github.com>2018-03-02 16:05:05 -0800
commit4d369a40522575260b4a9b5fe7c8313b9ed4f9cc (patch)
tree4375bd493faec2ab2f30f84b0408ce730a180169 /examples
parent97932e88faa2673e8718c48402a85641a1dc82ff (diff)
downloadopencensus-java-4d369a40522575260b4a9b5fe7c8313b9ed4f9cc.tar.gz
Update QuickStart to improve readability. (#1043)
Diffstat (limited to 'examples')
-rw-r--r--examples/src/main/java/io/opencensus/examples/helloworld/QuickStart.java4
1 files changed, 1 insertions, 3 deletions
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());