[
https://issues.apache.org/jira/browse/SOLR-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723076#action_12723076
]
Yonik Seeley commented on SOLR-1236:
------------------------------------
True - but we need to also keep in mind places that some things may want to map
to things other than a local file in the future... for example, pointing to a
resource such as a synonym file or other config that resides on HDFS or
zookeeper.
> stop using strings for filepaths and start using File objects
> -------------------------------------------------------------
>
> Key: SOLR-1236
> URL: https://issues.apache.org/jira/browse/SOLR-1236
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
> Priority: Trivial
>
> Catching up on my email after a long hiatus i notice SOLR-1213 and it
> reminded me that the last time i was digging arround in the code i was
> frustrated by lots of places in Solr where "String" instances to store a file
> or directory paths and then manipulated with String operations. I would be
> nice to switch all of these member variables and and function params to use
> genuine File objects to improve the code base readibility, and reduce the
> likelyhood of OS variant bugs or nonsensical path operations.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.