Skip to content

Commit 345945a

Browse files
author
Mihail Slavchev
committed
fix
1 parent d9f5def commit 345945a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • android-static-binding-generator/project/staticbindinggenerator/src/main/java/org/nativescript/staticbindinggenerator

android-static-binding-generator/project/staticbindinggenerator/src/main/java/org/nativescript/staticbindinggenerator/Generator.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,7 @@ public void writeBindings(String filename) throws IOException {
5555
if (hasSpecifiedName) {
5656
dexFilename = row.getFilename();
5757
} else {
58-
dexFilename = getSimpleClassname(clazz.getClassName());
59-
if (!clazz.isInterface()) {
60-
dexFilename += row.getSuffix();
61-
}
58+
dexFilename = clazz.isInterface() ? "" : row.getSuffix();
6259
}
6360

6461
AnnotationDescriptor[] annotations = null;

0 commit comments

Comments
 (0)