When I try to upgrade opencsv from 4.x to 5.x. The following code breaks.
CSVReader rer = new CSVReader(new FileReader("/test.csv"), ',');
The code should pass, but it throws an error:
no suitable constructor found for CSVReader(java.io.FileReader,char)
From the release notes: "All non-essential constructors […] have been removed. Please use the builder classes instead."
Log in to post a comment.
From the release notes: "All non-essential constructors […] have been removed. Please use the builder classes instead."