Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Information Provided
-
2.6
-
None
-
None
Description
Hi,
The following code snippets throw an incompatible issue when I try to rolling update Commons-io from 2.2 to 2.6.
@Test public void test() throws IOException{ File TestFile = new File( "test.txt" ); OutputStream out = null; List<String> lines = Arrays.asList("a","b","c"); try { out = new FileOutputStream(TestFile, true); IOUtils.writeLines(lines, null, out, null); } finally { IOUtils.closeQuietly(out); }
It throws an error:
error: reference to writeLines is ambiguous