Files
PhotonVision/photon-core
Alan Everett 0a07263f74 Clean up TargetModel.java (#2460)
## Description

`TargetModel.java` had some leftover code from #139 still present. This
cleans up everything unused and also consolidates some redundant code to
make the class more readable.

## Meta

Merge checklist:
- [x] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [x] The description documents the _what_ and _why_, including events
that led to this PR
- [ ] If this PR changes behavior or adds a feature, user documentation
is updated
- [ ] If this PR touches photon-serde, all messages have been
regenerated and hashes have not changed unexpectedly
- [x] If this PR touches configuration, this is backwards compatible
with all settings going back to the previous seasons's last release
(seasons end after champs ends)
- [ ] If this PR touches pipeline settings or anything related to data
exchange, the frontend typing is updated
- [ ] If this PR addresses a bug, a regression test for it is added
- [ ] If this PR adds a dependency, the license has been checked for
compatibility and steps taken to follow it

---------

Co-authored-by: Matt Morley <matthew.morley.ca@gmail.com>
2026-06-23 01:55:39 -04:00
..
2026-06-23 01:55:39 -04:00
2026-05-26 20:47:48 -05:00