Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8345249

Apply some conservative cleanups in FileURLConnection

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • core-libs
    • master

      The class `sun.net.www.protocol.file.FileURLConnection` has been called an "old, intricate, and hard to maintain piece of code".

      There are however some relatively straightforward cleanups we can make. The class has some unneccessary fields, an unneccessary rethrow, a for loop can be enhanced etc.

            eirbjo Eirik Bjørsnøs
            eirbjo Eirik Bjørsnøs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: