[ https://issues.apache.org/jira/browse/SOLR-17624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Smiley updated SOLR-17624: -------------------------------- Labels: newdev (was: ) > 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 > Priority: Minor > Labels: newdev > > 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-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org