Murray-Bridge-Bunyips / BunyipsFTC

FIRST Tech Challenge Robotics | Teams 15215, 22407, 24736
BSD 3-Clause Clear License
4 stars 0 forks source link

Method-based format strings #50

Closed bubner closed 8 months ago

bubner commented 8 months ago

Misconfigured and unclear String.format() usages: there is a solution for avoiding linter default locale warnings, but this is messy when used with addTelemetry() methods.

Integrating this with the addTelemetry and log methods is better, as DbgLog and the actual telemetry.addData call already do this.

bubner commented 8 months ago

https://github.com/Murray-Bridge-Bunyips/BunyipsFTC/commit/cd8119a8f2f4672dc427014779a01c356a91c4c7

Will need to test to ensure format strings are working okay.

bubner commented 8 months ago

https://github.com/Murray-Bridge-Bunyips/BunyipsFTC/commit/148f453c23c4f454e9d828ce6cf15e3fe0b3efea