You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2025/01/16 22:55:00 UTC
[jira] [Created] (SOLR-17624) NavigableObject should use generics for some get methods
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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org