Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14733

Remove commons-io dependency from JDR subsystem

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • 24.0.0.Beta1, 24.0.0.Final
    • None
    • None
    • None

      There is a dependency of commons-io in JDR subsystem, which is the only method call:

       

      byte [] content = IOUtils.toByteArray(in);
      

       

      to read an InputStream to a byte array.

       

      It does not make much sense to relay on a 3rd library for a simple I/O functionality.

       

       

            rhn-engineering-lgao Lin Gao
            rhn-engineering-lgao Lin Gao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: