David Smiley created SOLR-17624:
-----------------------------------
Summary: NavigableObject should use generics for some get methods
Key: SOLR-17624
URL: https://issues.apache.org/jira/browse/SOLR-17624
Project: Solr
Issue Type: Improvement
Reporter: David Smiley
Some of the _get methods on NavigableObject take a default value of type
Object. Those methods should use a generic type T, thus returning type T.
This allows some callers of these methods to omit a needless cast.
Additionally, there should be convenience methods of get() that have no default
since many callers have none.
This should change should be backwards compatible to existing code.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]