commit | bba13fbf199435b38f1771f771c12f5ebacdd3c6 | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Thu Aug 06 10:46:56 2020 +0200 |
committer | Antonio Barone <syntonyze@gmail.com> | Thu Aug 06 11:46:45 2020 +0200 |
tree | 908c6a4253632e8bd4ab140d270a588604555c0a | |
parent | bff6b8d1a9464a7aca5af3a425739fdd966ab3ca [diff] |
Correct unnecessary builder reassignment codahale-aggregated-metrics-cloudwatch-reporter's with* methods are mutating the builder object itself, so there's no need to reassign the mutated object to itself from the caller. This allows to make the CloudWatchAsyncClientBuilder final, which in turns helps the compiler, improves readability and allows to use the value in lambdas. Change-Id: I0bdf608f1c9649f4a139eb3fdd6b6fc8062041d8