Skip to content

Commit 3e86f70

Browse files
committed
Fix incorrect comment
1 parent 82e86fd commit 3e86f70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Java2SwiftLib/JavaTranslator.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ extension JavaTranslator {
207207
let extends: String
208208
if !javaClass.isInterface(),
209209
let superclass = javaClass.getSuperclass(),
210-
superclass.getName() != "java.lang.Object"
210+
superclass.getName() != "java.lang.Object"
211211
{
212212
do {
213213
extends = ", extends: \(try getSwiftTypeName(superclass).swiftName).self"
@@ -365,7 +365,7 @@ extension JavaTranslator {
365365
staticMemberWhereClause = ""
366366
}
367367

368-
// Emit the struct declaration describing the java class. Add backticks to the name since the type might interfere with Swift type names
368+
// Emit the struct declaration describing the java class.
369369
let classOrInterface: String = javaClass.isInterface() ? "JavaInterface" : "JavaClass";
370370
var classDecl =
371371
"""

0 commit comments

Comments
 (0)