javaparser-visited icon indicating copy to clipboard operation
javaparser-visited copied to clipboard

[EDITORIAL] Example uses File; text describes FileInputStream

Open ericprud opened this issue 3 years ago • 0 comments
trafficstars

  1. p 11 has a
CompilationUnit cu = StaticJavaParser.parse(new File(FILE_PATH));

... p 12 describes that invokcation as the StaticJavaParser taking a FileInputStream (which you don't have to close). ... I think the example changed from a FileInputStream to a File without the description changing.

ericprud avatar Nov 21 '21 09:11 ericprud