File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -270,14 +270,14 @@ extension JNISwift2JavaGenerator {
270270 if decl. parent != nil {
271271 modifiers. append ( " static " )
272272 }
273- modifiers. append ( contentsOf : [ " final " , " class " ] )
273+ modifiers. append ( " final " )
274274 var implements = [ " JNISwiftInstance " ]
275275 implements += decl. inheritedTypes
276276 . compactMap ( \. asNominalTypeDeclaration)
277277 . filter { $0. kind == . protocol }
278278 . map ( \. name)
279279 let implementsClause = implements. joined ( separator: " , " )
280- printer. printBraceBlock ( " \( modifiers. joined ( separator: " " ) ) \( decl. swiftNominal. name) implements \( implementsClause) " ) { printer in
280+ printer. printBraceBlock ( " \( modifiers. joined ( separator: " " ) ) class \( decl. swiftNominal. name) implements \( implementsClause) " ) { printer in
281281 body ( & printer)
282282 }
283283 }
You can’t perform that action at this time.
0 commit comments