-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[epilogue] Use more specific loggers at runtime, if available #7128
[epilogue] Use more specific loggers at runtime, if available #7128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to implement subtype lookup. You'll also need to add unit tests
} | ||
|
||
private List<TypeMirror> getAllSubtypes() { | ||
// This method should return all known subtypes of the given type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What given type? You didn't give this function any parameters (note: you'll need to add some)
// The implementation depends on how you track and store type hierarchies in | ||
// your system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it doesn't
// For simplicity, we'll return an empty list here. | ||
return new ArrayList<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
???
TypeElement reflectedType, Element element, List<TypeMirror> subtypes) { | ||
StringBuilder builder = new StringBuilder(256); | ||
|
||
// Combining multiple strings into fewer append calls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code runs on the programmer's computer, not the weak roboRIO. A few more append calls are negligible on performance; readability and maintainability should take higher priority
…re appends for readability
…ltiple append statements
@BrandonS09 Will you be able to finish this? Some changes will still be needed; in particular, |
Sorry, I have much less free time than when I originally opened the pull request and don't think I can finish it. Sorry for any inconveniences |
No worries. Just needed to know if we'd need someone else to continue this |
Changes to address #7093