You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Eric Pugh (Jira)" <ji...@apache.org> on 2022/07/12 17:06:00 UTC

[jira] [Commented] (SOLR-16271) Eliminate import statements that end in .*

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

Eric Pugh commented on SOLR-16271:
----------------------------------

So, I poked at this again, and it appears that adding a regex to the list of validate-source-patterns.gradle is the way to go.

(~$/\nimport .*\*;/$) : 'import wildcard'

> Eliminate import statements that end in .*
> ------------------------------------------
>
>                 Key: SOLR-16271
>                 URL: https://issues.apache.org/jira/browse/SOLR-16271
>             Project: Solr
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: main (10.0)
>            Reporter: Eric Pugh
>            Assignee: David Smiley
>            Priority: Trivial
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> We want to eliminate all java.util.* style imports from source code, and enforce this check.



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