Conversation
| I want to track this from copilot for potentially seperate PR's.. cause using nulls intentionally in these seems, well, suss... Preserved with @SuppressForbidden (8 locations, 7 files)
Also: ConfigSetAdminRequest.java: Has an inner static class List that shadows java.util.List, so used java.util.List.of(stream) with fully-qualified name |
| Okay, I think this is ready for merging. |
dsmiley left a comment
There was a problem hiding this comment.
ConfigSetAdminRequest.java: Has an inner static class List that shadows java.util.List, so used java.util.List.of(stream) with fully-qualified name
this PR doesn't touch that file
Yeah, this was a note that copilot highlighted, and I wanted to keep it to look into.. It turns out it makes sense it has a "List" named class.. I wasn't sure if there was soemthing in there to dig into it. At somepoint I want to go back and look at some of the places we are using "null" to see if they are the best way of doing things... I don't plan on making any changes to this PR more unless somethign comes up in review. |
I believe most Java projects should adopt JSpecify w/ Nullaway. This is the kind of work that I believe you love doing. Happy to chat with you about it sometime. |
https://issues.apache.org/jira/browse/SOLR-18164
Description
Originally part of https://github.com/apache/solr/pull/4168/commits, this is to remove
.singletonusage.Solution
manual! can't quite get INtellij to do it for me.
Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
Checklist
Please review the following and check all that apply:
mainbranch../gradlew check.