Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-971

CharSequenceToRegexMapper#findMinMaxLengthsInSymbols() always returns min=0

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1.3
    • 1.1.3
    • logback-core
    • None
    • jdk 1.5
      Korean

    Description

      Thanks.
      LOGBACK-969
      commits e64dc7a5c30 and dec77397c

      after

      CharSequenceToRegexMapper.java findMinMaxLengthsInSymbols() return min's value is always

      {0}
        DateFormatSymbols symbols = DateFormatSymbols.getInstance();
        String[] symbolArray = symbols.getShortMonths();
        for(String symbol : symbolArray ){
          System.out.println("[]" + symbol);
        }
      

      It look like DateFormatSymbols getShortMonth() , getWeekdays() ... etc..
      All of function return array[last] is null

      Thanks

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            redrebel Lee Jeonggeun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: