@@ -88,7 +88,6 @@ public HistogramData(BucketType bucketType) {
8888 public HistogramData (HistogramValue histogramProto ) {
8989 int numBuckets ;
9090 if (histogramProto .getBucketOptions ().hasLinear ()) {
91- System .out .println ("xxx its linear" );
9291 double start = histogramProto .getBucketOptions ().getLinear ().getStart ();
9392 double width = histogramProto .getBucketOptions ().getLinear ().getWidth ();
9493 numBuckets = histogramProto .getBucketOptions ().getLinear ().getNumberOfBuckets ();
@@ -102,7 +101,6 @@ public HistogramData(HistogramValue histogramProto) {
102101 idx ++;
103102 }
104103 } else {
105- System .out .println ("xxx its exp" );
106104 // Assume it's a exponential histogram if its not linear
107105 int scale = histogramProto .getBucketOptions ().getExponential ().getScale ();
108106 numBuckets = histogramProto .getBucketOptions ().getExponential ().getNumberOfBuckets ();
@@ -300,7 +298,6 @@ public synchronized HistogramValue toProto() {
300298 int numberOfBuckets = this .getBucketType ().getNumBuckets ();
301299
302300 if (this .getBucketType () instanceof HistogramData .LinearBuckets ) {
303- System .out .println ("xxx linear buckets" );
304301 HistogramData .LinearBuckets buckets = (HistogramData .LinearBuckets ) this .getBucketType ();
305302 Linear .Builder linearBuilder = Linear .newBuilder ();
306303 linearBuilder .setNumberOfBuckets (numberOfBuckets );
@@ -313,7 +310,6 @@ public synchronized HistogramValue toProto() {
313310 builder .setBucketOptions (bucketBuilder .build ());
314311
315312 } else if (this .getBucketType () instanceof HistogramData .ExponentialBuckets ) {
316- System .out .println ("xxx exp buckets" );
317313 HistogramData .ExponentialBuckets buckets =
318314 (HistogramData .ExponentialBuckets ) this .getBucketType ();
319315
@@ -335,7 +331,6 @@ public synchronized HistogramValue toProto() {
335331 for (long val : this .getBucketCount ()) {
336332 builder .addBucketCounts (val );
337333 }
338- System .out .println ("xxxx " + builder .toString ());
339334 return builder .build ();
340335 }
341336
0 commit comments