Skip to content

Commit 0430ee1

Browse files
committed
remove commented out code
1 parent 0467deb commit 0430ee1

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Sources/JExtractSwift/Swift2JavaTranslator+Printing.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -705,9 +705,6 @@ extension Swift2JavaTranslator {
705705
_ printer: inout CodePrinter, _ decl: ImportedFunc,
706706
accessorKind: VariableAccessorKind? = nil
707707
) {
708-
// var thunkName = SwiftKitPrinting.Names.functionThunk(
709-
// thunkNameRegistry: &self.thunkNameRegistry,
710-
// module: self.swiftModuleName, function: decl)
711708
let thunkName = thunkNameRegistry.functionThunkName(module: self.swiftModuleName, decl: decl)
712709
printer.print(
713710
"""
@@ -899,9 +896,7 @@ extension Swift2JavaTranslator {
899896
}
900897
}
901898

902-
public func renderJavaParamDecls(_ decl: ImportedFunc, paramPassingStyle: SelfParameterVariant?)
903-
-> String
904-
{
899+
public func renderJavaParamDecls(_ decl: ImportedFunc, paramPassingStyle: SelfParameterVariant?) -> String {
905900
var ps: [String] = []
906901
var pCounter = 0
907902

@@ -958,7 +953,6 @@ extension Swift2JavaTranslator {
958953

959954
if paramPassingStyle == .swiftThunkSelf {
960955
ps.append("_self: UnsafeMutableRawPointer")
961-
// ps.append("_self: Any")
962956
}
963957

964958
let res = ps.joined(separator: ", ")

0 commit comments

Comments
 (0)