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

Using deprecated method in sample code (JarTypeSolver.getJarTypeSolver)

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

In the chapter "Using the CombinedTypeSolver" of the book the sample code contains lines like this:

JarTypeSolver.getJarTypeSolver("jars/library1.jar"),

However, JarTypeSolver.getJarTypeSolver is deprecated, so the sample code should probably look like this:

new JarTypeSolver("jars/library1.jar"),

abego avatar Jul 17 '22 17:07 abego