lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-1236) stop using strings for filepaths and start using File objects
Date Sat, 13 Apr 2013 21:10:16 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631163#comment-13631163
] 

Erick Erickson commented on SOLR-1236:
--------------------------------------

SPRING_CLEANING_2013 JIRAS Anyone want to take this on or should we consider it closed? Probably
still true.
                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message