Thanks to visit codestin.com Credit goes to github.com
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 1f14aae commit 891fb9dCopy full SHA for 891fb9d
sources/net.sf.j2s.core/src/net/sf/j2s/core/astvisitors/ASTTypeVisitor.java
@@ -178,7 +178,7 @@ public String shortenPackageName(String fullName) {
178
name = Bindings.removeBrackets(name);
179
int index = name.indexOf("java.lang.");
180
char ch = 0;
181
- if (index != -1
+ if (index == 0
182
&& (name.indexOf('.', index + 10) == -1 || ((ch = name
183
.charAt(index + 10)) >= 'A' && ch <= 'Z'))) {
184
if (!fullName.startsWith("java.lang.ref")
0 commit comments