Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5304

Typo in exception string in CurrencyField.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 4.4
    • 4.6, 6.0
    • None

    Description

      There is a typo in an exception string in CurrencyField.java. As of today, in https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/core/src/java/org/apache/solr/schema/CurrencyField.java on line 149:

      CurrencyField.java
            throw new SolrException(ErrorCode.BAD_REQUEST, "Error instantiating exhange rate provider "+exchangeRateProviderClass+": " + e.getMessage(), e);
      

      should be:

      CurrencyField.java
      throw new SolrException(ErrorCode.BAD_REQUEST, "Error instantiating exchange rate provider "+exchangeRateProviderClass+": " + e.getMessage(), e);
      

      "exchange" is misspelled as "exhange".

      Attachments

        Activity

          People

            shalin Shalin Shekhar Mangar
            cpburnz Caleb Burns
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified