Fix an API bug in the JavassistTypeParameterMatcherGenerator where some of its methods are not static

- Related issue: #1402
This commit is contained in:
Trustin Lee 2013-11-04 18:56:19 +09:00
parent 51ca4f3e91
commit 0d1567da0b

View File

@ -38,11 +38,11 @@ public final class JavassistTypeParameterMatcherGenerator {
classPool.appendClassPath(new ClassClassPath(NoOpTypeParameterMatcher.class)); classPool.appendClassPath(new ClassClassPath(NoOpTypeParameterMatcher.class));
} }
public void appendClassPath(ClassPath classpath) { public static void appendClassPath(ClassPath classpath) {
classPool.appendClassPath(classpath); classPool.appendClassPath(classpath);
} }
public void appendClassPath(String pathname) throws NotFoundException { public static void appendClassPath(String pathname) throws NotFoundException {
classPool.appendClassPath(pathname); classPool.appendClassPath(pathname);
} }