Skip to content

Commit 5374f99

Browse files
authored
Strip whitespace from varName in TypeExtends constructor (#1576)
1 parent cae259b commit 5374f99

File tree

1 file changed

+1
-1
lines changed
  • querydsl-tooling/querydsl-codegen-utils/src/main/java/com/querydsl/codegen/utils/model

1 file changed

+1
-1
lines changed

querydsl-tooling/querydsl-codegen-utils/src/main/java/com/querydsl/codegen/utils/model/TypeExtends.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class TypeExtends extends TypeAdapter {
2626

2727
public TypeExtends(String varName, Type type) {
2828
super(type);
29-
this.varName = varName;
29+
this.varName = varName.strip();
3030
}
3131

3232
public TypeExtends(Type type) {

0 commit comments

Comments
 (0)