All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.
Note that if you have a File instead of a Path, you may convert the File object to a Path object using File's toFile() method:
File file = new File(filePath);
Stream<String> ref = Files.lines(file.toPath());
It should be:
Note that if you have a File instead of a Path, you may convert the File object to a Path object using File's toPath() method:
File file = new File(filePath);
Stream<String> ref = Files.lines(file.toPath());