Skip to content

Commit 4529e79

Browse files
committed
fix boolean bug
1 parent 33038e8 commit 4529e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/xdean/annotation/processor/toolkit/meta/AbstractMetaProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public AbstractMetaProcessor() {
3737
SupportedMetaAnnotation meta = this.getClass().getAnnotation(SupportedMetaAnnotation.class);
3838
if (meta == null) {
3939
throw new Error("AbstractMetaProcessor must use with @SupportedMetaAnnotation.");
40-
} else if (meta.value().isAnnotationPresent(Meta.class)) {
40+
} else if (!meta.value().isAnnotationPresent(Meta.class)) {
4141
throw new Error("AbstractMetaProcessor only can process Annotation with @Meta.");
4242
}
4343
metaClass = (Class<T>) meta.value();

0 commit comments

Comments
 (0)