Skip to content

Commit 6e7625c

Browse files
committed
#9 fix: we must not use class references here
1 parent 9c270ef commit 6e7625c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/main/java/dinistiq/SimpleClassResolver.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*/
1919
package dinistiq;
2020

21-
import dinistiq.web.DinistiqContextLoaderListener;
22-
import dinistiq.web.RegisterableServlet;
2321
import java.io.File;
2422
import java.io.IOException;
2523
import java.lang.annotation.Annotation;
@@ -64,8 +62,8 @@ public class SimpleClassResolver implements ClassResolver {
6462
* and corresponding useless error entries in the log
6563
*/
6664
static {
67-
CLASSES_TO_IGNORE.add(DinistiqContextLoaderListener.class.getName());
68-
CLASSES_TO_IGNORE.add(RegisterableServlet.class.getName());
65+
CLASSES_TO_IGNORE.add("dinistiq.web.DinistiqContextLoaderListener");
66+
CLASSES_TO_IGNORE.add("dinistiq.web.RegisterableServlet");
6967
}
7068

7169

0 commit comments

Comments
 (0)