Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit891fb9d

Browse files
committed
Fixed bug that class "jsjava.lang.Thread" is trimmed to "g.Thread"
1 parent1f14aae commit891fb9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎sources/net.sf.j2s.core/src/net/sf/j2s/core/astvisitors/ASTTypeVisitor.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public String shortenPackageName(String fullName) {
178178
name =Bindings.removeBrackets(name);
179179
intindex =name.indexOf("java.lang.");
180180
charch =0;
181-
if (index!= -1
181+
if (index==0
182182
&& (name.indexOf('.',index +10) == -1 || ((ch =name
183183
.charAt(index +10)) >='A' &&ch <='Z'))) {
184184
if (!fullName.startsWith("java.lang.ref")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp