File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
firebase-perf/src/main/java/com/google/firebase/perf/transport Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -89,11 +89,11 @@ static float getSamplingBucketId() {
89
89
float fragmentBucketId ,
90
90
ConfigResolver configResolver ) {
91
91
Utils .checkArgument (
92
- 0.0f <= samplingBucketId
93
- && samplingBucketId < 1.0f
94
- && 0.0f <= fragmentBucketId
95
- && fragmentBucketId < 1.0f ,
92
+ 0.0f <= samplingBucketId && samplingBucketId < 1.0f ,
96
93
"Sampling bucket ID should be in range [0.0f, 1.0f)." );
94
+ Utils .checkArgument (
95
+ 0.0f <= fragmentBucketId && fragmentBucketId < 1.0f ,
96
+ "Fragment sampling bucket ID should be in range [0.0f, 1.0f)." );
97
97
this .samplingBucketId = samplingBucketId ;
98
98
this .fragmentBucketId = fragmentBucketId ;
99
99
this .configResolver = configResolver ;
You can’t perform that action at this time.
0 commit comments