We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab4db83 commit f00bd51Copy full SHA for f00bd51
querydsl-tooling/querydsl-codegen-utils/src/main/java/com/querydsl/codegen/utils/model/SimpleType.java
@@ -103,7 +103,7 @@ public SimpleType(
103
this.fullName = fullName;
104
this.packageName = packageName;
105
this.simpleName = simpleName;
106
- if (packageName.length() > 0) {
+ if (packageName.length() > 0 && fullName.length() > packageName.length()) {
107
this.localName = fullName.substring(packageName.length() + 1);
108
} else {
109
this.localName = fullName;
0 commit comments