Uploaded image for project: 'Spring Batch'
  1. Spring Batch
  2. BATCH-2698

Unnecessary apache commons-io dependency in spring-batch-test module

    Details

      Description

      The only usage of apache commons io library in spring-batch-test module is in DataSourceInitializer:

      scripts = StringUtils.delimitedListToStringArray(stripComments(IOUtils.readLines(scriptResource
      							.getInputStream(), "UTF-8")), ";");
      

      Now that v4 is based on Java 8, IOUtils.readLines can be replaced with Files.lines and the dependency to commons io can be removed.

        Attachments

          Activity

            People

            • Assignee:
              mbenhassine Mahmoud Ben Hassine
              Reporter:
              mbenhassine Mahmoud Ben Hassine
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: