Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6428

Shore up IOUtils.spins a bit

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2, 6.0
    • None
    • None
    • New

    Description

      Some minor improvements to the spooky hacks it uses today:

      • Use FileStore.name() instead of getBlockDevice parsing FileStore.toString to extract the second part in (..).
      • Fix TestIOUtils.MockFileStore to extend FileStore directly not FilterFileStore so no delegate is required
      • Require that we find " (" when parsing out the mount point

      Attachments

        1. LUCENE-6428.patch
          9 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: