Project

General

Profile

« Previous | Next » 

Revision 8125

Added by Jing Tao over 11 years ago

Add a constructor.

View differences:

metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/SolrIndex.java
120 120
     * @throws SAXException 
121 121
     * @throws IOException 
122 122
     */
123
    /*public SolrIndex(List<SolrField> sysmetaSolrFields, XMLNamespaceConfig xmlNamespaceConfig)
123
    public SolrIndex(List<SolrField> sysmetaSolrFields, XMLNamespaceConfig xmlNamespaceConfig)
124 124
                    throws XPathExpressionException, ParserConfigurationException, IOException, SAXException {
125 125
         this.xmlNamespaceConfig = xmlNamespaceConfig;
126 126
         this.sysmetaSolrFields = sysmetaSolrFields;
127 127
         init();
128
    }*/
128
    }
129 129
    
130 130
    private void init() throws ParserConfigurationException, XPathExpressionException {
131 131
        xpath.setNamespaceContext(xmlNamespaceConfig);

Also available in: Unified diff