You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2019/05/02 21:39:00 UTC

[jira] [Created] (SOLR-13443) Precommit should detect duplicate package-info.java

Andrzej Bialecki  created SOLR-13443:
----------------------------------------

             Summary: Precommit should detect duplicate package-info.java
                 Key: SOLR-13443
                 URL: https://issues.apache.org/jira/browse/SOLR-13443
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Build
            Reporter: Andrzej Bialecki 


In SOLR-13427 we observed a situation where two {{package-info.java}} files were present in the same Java package (although in different locations):
{code}
./solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/package-info.java
./solr/core/src/java/org/apache/solr/cloud/autoscaling/sim/package-info.java
{code}

This causes problems with Eclipse, and possibly in other places in the build (descriptions are regular Java classes, and no two packages should have the same class name).

{{ant precommit}} should detect this situation and produce an error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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