You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/04/02 02:45: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=17940220#comment-17940220 ]
ASF subversion and git services commented on SOLR-16903:
--------------------------------------------------------
Commit b832db750aab2f097110cef040174c80f86493bc in solr's branch refs/heads/main from Matthew Biscocho
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=b832db750aa ]
SOLR-16903: Path: fixes for tests (#3300)
* Need FilterPath.unwrap sometimes
* Fix Path.startsWith(String) usage.
* ZkSubcommandsTest wasn't actually checking downloaded with original.
Co-authored-by: David Smiley <ds...@apache.org>
> 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
> Affects Versions: 9.3
> Reporter: Eric Pugh
> Priority: Minor
> Labels: newdev, pull-request-available
> Fix For: main (10.0)
>
> Time Spent: 13h 10m
> Remaining Estimate: 0h
>
> 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