[
https://issues.apache.org/jira/browse/SOLR-3343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Male updated SOLR-3343:
-----------------------------
Attachment: SOLR-3343.patch
Patch for moving the utils I felt should be moved. Since I used svn 1.6 still,
the patch must be executed after the following command:
{noformat}
svn mv solr/solrj/src/java/org/apache/solr/common/util/DOMUtil.java
solr/core/src/java/org/apache/solr/util/DOMUtil.java
svn mv solr/solrj/src/java/org/apache/solr/common/util/FastWriter.java
solr/core/src/java/org/apache/solr/util/FastWriter.java
svn mv solr/solrj/src/java/org/apache/solr/common/util/FileUtils.java
solr/core/src/java/org/apache/solr/util/FileUtils.java
svn mv solr/solrj/src/java/org/apache/solr/common/util/RegexFileFilter.java
solr/core/src/java/org/apache/solr/util/RegexFileFilter.java
svn mv solr/solrj/src/java/org/apache/solr/common/util/RTimer.java
solr/core/src/java/org/apache/solr/util/RTimer.java
svn mv solr/solrj/src/java/org/apache/solr/common/util/SystemIdResolver.java
solr/core/src/java/org/apache/solr/util/SystemIdResolver.java
svn mv
solr/solrj/src/test/org/apache/solr/common/util/TestSystemIdResolver.java
solr/core/src/test/org/apache/solr/util/TestSystemIdResolver.java
svn mv solr/solrj/src/test/org/apache/solr/common/util/FileUtilsTest.java
solr/core/src/test/org/apache/solr/util/FileUtilsTest.java
svn mv solr/solrj/src/test/org/apache/solr/common/util/DOMUtilTest.java
solr/core/src/test/org/apache/solr/util/DOMUtilTest.java
{noformat}
I will commit this soon as I want to get onto some other refactoring.
> Move non-shared utils from solrj to solr core
> ---------------------------------------------
>
> Key: SOLR-3343
> URL: https://issues.apache.org/jira/browse/SOLR-3343
> Project: Solr
> Issue Type: Improvement
> Reporter: Chris Male
> Attachments: SOLR-3343.patch
>
>
> When doing some unrelated refactoring, I found myself making changes to a
> class in solrj's {{org.apache.solr.common}} which surprised me. Under closer
> examination the class was only used inside Solr core and DIH.
> I think {{common}} in solrj should only contain those classes which are
> shared between solrj and other modules. Anything thats not used by solrj
> should go into solr core (or whatever other module actually makes use of it).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]