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 379d2e5 commit 04fc77eCopy full SHA for 04fc77e
src/de/inetsoftware/jwebassembly/module/nativecode/ReplacementForClass.java
@@ -317,9 +317,9 @@ public String getSimpleName() {
317
return getComponentType().getSimpleName() + "[]";
318
319
String simpleName = getName();
320
- int index = simpleName.lastIndexOf( "$" ) + 1;
+ int index = simpleName.lastIndexOf( '$' ) + 1;
321
if( index == 0 ) { // top level class
322
- return simpleName.substring( simpleName.lastIndexOf( "." ) + 1 ); // strip the package name
+ return simpleName.substring( simpleName.lastIndexOf( '.' ) + 1 ); // strip the package name
323
}
324
325
// Remove leading "\$[0-9]*" from the name
0 commit comments