querydsl / apt-maven-plugin

Maven APT plugin
Apache License 2.0
79 stars 41 forks source link

DefaultConfiguration entitiesAnn @Nullable #17

Closed jjzabkar closed 11 years ago

jjzabkar commented 11 years ago

The constructor for DefaultConfiguration has the following parameters:

        @Nullable Class<? extends Annotation> entitiesAnn,
        Class<? extends Annotation> entityAnn,

However, the entitiesAnn is later null-checked:

        this.entitiesAnn = Assert.notNull(entitiesAnn, "entitiesAnn");

As a result, this breaks things like com.mysema.rdfbean.query.BeanConfiguration (1.6.1).

I believe this Assert statement is incorrect.

timowest commented 11 years ago

Is this Queydsl related? Then this issue has been filed in the wrong place.

Please post Querydsl issues here https://github.com/mysema/querydsl/issues?state=open&utf8=%E2%9C%93