mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-03 21:07:49 +08:00
added array clones
This commit is contained in:
parent
b4703ed9a5
commit
03e6defcfe
@ -44,7 +44,7 @@ public final class PropertyModel implements Comparable<PropertyModel> {
|
||||
this.name = Assert.notNull(name);
|
||||
this.escapedName = escapedName;
|
||||
this.type = Assert.notNull(type);
|
||||
this.inits = inits;
|
||||
this.inits = inits.clone();
|
||||
this.inherited = inherited;
|
||||
}
|
||||
|
||||
|
||||
@ -51,7 +51,7 @@ public class EConstructor<D> extends Expr<D> {
|
||||
|
||||
public EConstructor(Class<D> type, Class<?>[] paramTypes, Expr<?>... args) {
|
||||
super(type);
|
||||
this.parameterTypes = paramTypes;
|
||||
this.parameterTypes = paramTypes.clone();
|
||||
this.args = Collections.unmodifiableList(Arrays.asList(args));
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user