You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Raghavan Muthuregunathan (Jira)" <ji...@apache.org> on 2023/10/04 05:57:00 UTC

[jira] [Commented] (SOLR-16903) Use Path instead of File in Java Code

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

Raghavan Muthuregunathan commented on SOLR-16903:
-------------------------------------------------

I see 2934 files matching.  It would be of great help if there is any guidance on which module to tackle first. Please recommend. Also, how to test before sending out PR 

 

```(base) raghavan@raghavan-Blade-18-RZ09-0484:~/solr$ grep java\.io\. -R . | wc -l
grep: ./.git/objects/pack/pack-7c145483e1374535261413ec82e3f76f58766c15.pack: binary file matches
2934
(base) raghavan@raghavan-Blade-18-RZ09-0484:~/solr$ 

```

 

> Use Path instead of File in Java Code
> -------------------------------------
>
>                 Key: SOLR-16903
>                 URL: https://issues.apache.org/jira/browse/SOLR-16903
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 9.3
>            Reporter: Eric Pugh
>            Priority: Minor
>              Labels: newdev
>
> As a community, we have decided to migrate to using java.nio.file.Path in place of java.io.File in our codebase.
> This ticket is to go through the codebase and make that change.  We'd also like to add the java.io.File pattern to our forbidden-apis setup.



--
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