Repository navigation
delete deprecated fields of BundlingSettings - #170
Conversation
Current coverage is 71.12% (diff: 78.26%)@@ master #170 diff @@
==========================================
Files 61 61
Lines 2472 2455 -17
Methods 0 0
Messages 0 0
Branches 332 333 +1
==========================================
- Hits 1751 1746 -5
+ Misses 629 611 -18
- Partials 92 98 +6
|
| * and the simple API call will be used. Default to true. | ||
| */ | ||
| public abstract Builder setIsEnabled(Boolean enabled); | ||
|
|
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| settings.getBlockingCallCountThreshold() > 0, | ||
| "blockingCallCountThreshold must be positive"); | ||
| return settings; | ||
| } |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@garrettjonesgoogle PTAL |
Fixes #168. This commit also performed branch elimination and constant propagation. In particular: All limits are gone and therefore "always null". BundlingThreshold::canAccept always return true, and therefore deleted.
| BundlingSettings.newBuilder() | ||
| .setDelayThreshold(Duration.standardSeconds(1)) | ||
| .setElementCountThreshold(2L) | ||
| .setBlockingCallCountThreshold(0L) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@garrettjonesgoogle PTAL |
|
I'm stupid. PTAL |
|
LGTM |
Fixes #168.
This commit also performed branch elimination and constant propagation.
In particular:
and therefore deleted.