A DESCRIPTION OF THE PROBLEM :
Documentation under the "Accessing Files" section of the overview shows a demonstration of getting and using a "BufferReader" when it means to be a "BufferedReader."
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
BufferedReader reader = Files.newBufferedReader(path, StandardCharsets.UTF_8);
ACTUAL -
BufferReader reader = Files.newBufferedReader(path, StandardCharsets.UTF_8);
URL OF FAULTY DOCUMENTATION :
http://download.oracle.com/javase/7/docs/api/java/nio/file/Path.html
Documentation under the "Accessing Files" section of the overview shows a demonstration of getting and using a "BufferReader" when it means to be a "BufferedReader."
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
BufferedReader reader = Files.newBufferedReader(path, StandardCharsets.UTF_8);
ACTUAL -
BufferReader reader = Files.newBufferedReader(path, StandardCharsets.UTF_8);
URL OF FAULTY DOCUMENTATION :
http://download.oracle.com/javase/7/docs/api/java/nio/file/Path.html