Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ktoso committed Jan 27, 2025
1 parent 82aa974 commit d4b26a9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ void test_MySwiftClass_voidMethod() {
MySwiftClass o = new MySwiftClass(12, 42);
o.voidMethod();
} catch (Throwable throwable) {
throw throwable;
// checkPaths(throwable);
checkPaths(throwable);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
// See CONTRIBUTORS.txt for the list of Swift.org project authors
//
// SPDX-License-Identifier: Apache-2.0


//
//===----------------------------------------------------------------------===//

Expand Down
1 change: 1 addition & 0 deletions Sources/JExtractSwift/ImportedDecls.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public struct ImportedNominalType: ImportedDecl {
}
}

// TODO: replace this with `SwiftNominalTypeDeclaration.Kind`
public enum NominalTypeKind {
case `actor`
case `class`
Expand Down
3 changes: 1 addition & 2 deletions Sources/JExtractSwift/Swift2JavaTranslator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,8 @@ extension Swift2JavaTranslator {
"java.lang.invoke.*",
"java.util.Arrays",
"java.util.stream.Collectors",
"java.nio.charset.StandardCharsets",

"java.util.concurrent.atomic.*",
"java.nio.charset.StandardCharsets",
]

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package org.swift.swiftkit;

import java.lang.foreign.*;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.*;

import static java.lang.foreign.ValueLayout.JAVA_BYTE;
import static org.swift.swiftkit.SwiftKit.getSwiftInt;
Expand Down

0 comments on commit d4b26a9

Please sign in to comment.