mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-24 21:07:26 +08:00
This commit is contained in:
parent
a5908d7bd8
commit
fcac15d541
@ -71,8 +71,7 @@ public class BeanPath<D> extends ESimple<D> implements Path<D> {
|
||||
T rv;
|
||||
if (inits != null) {
|
||||
rv = clazz.getConstructor(PathMetadata.class,
|
||||
PathInits.class).newInstance(this.getMetadata(),
|
||||
inits);
|
||||
PathInits.class).newInstance(this.getMetadata(), inits);
|
||||
} else {
|
||||
rv = (T) clazz.getConstructor(PathMetadata.class)
|
||||
.newInstance(this.getMetadata());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user