Skip to content

Commit 9b555cf

Browse files
author
Nicholas Smith
committed
#36 Fix using deprecated method
1 parent 4aee267 commit 9b555cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/javaparser/examples/chapter5/UsingCombinedTypeSolver.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ public class UsingCombinedTypeSolver {
1414
public static void main(String[] args) throws IOException {
1515
TypeSolver myTypeSolver = new CombinedTypeSolver(
1616
new ReflectionTypeSolver(),
17-
JarTypeSolver.getJarTypeSolver("jars/library1.jar"),
18-
JarTypeSolver.getJarTypeSolver("jars/library2.jar"),
19-
JarTypeSolver.getJarTypeSolver("jars/library3.jar"),
17+
new JarTypeSolver("jars/library1.jar"),
18+
new JarTypeSolver("jars/library2.jar"),
19+
new JarTypeSolver("jars/library3.jar"),
2020
new JavaParserTypeSolver(new File("src/main/java")),
2121
new JavaParserTypeSolver(new File("generated_code"))
2222
);

0 commit comments

Comments
 (0)