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

Typo in exception string in CurrencyField.java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.6, 6.0
    • Component/s: None
    • Labels:

      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

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              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