Skip to content

Commit 418cb0b

Browse files
committed
PR feedback
1 parent b370008 commit 418cb0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/JExtractSwiftLib/JNI/JNISwift2JavaGenerator+JavaBindingsPrinting.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)