Skip to content

Commit f1c1d4b

Browse files
committed
Revert "SwiftJavaDocumentation correction"
This reverts commit f65061c.
1 parent f65061c commit f1c1d4b

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

Samples/JavaSieve/Sources/JavaSieve/swift-java.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@
2929
"com.gazman.quadratic_sieve.wheel.Wheel" : "Wheel"
3030
}
3131
}
32+

Sources/SwiftJavaDocumentation/Documentation.docc/SupportedFeatures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Java `native` functions. JavaKit simplifies the type conversions
3838

3939
### JExtract – calling Swift from Java
4040

41-
SwiftJava's `swift-java jextract` tool automates generating Java bindings from Swift sources.
41+
SwiftJava's `swift-java jextract` tool automates generating Java bindings to Swift sources.
4242

4343
> tip: This direction of interoperability is covered in the WWDC2025 session 'Explore Swift and Java interoperability'
4444
> around the [14-minute mark](https://youtu.be/QSHO-GUGidA?si=b9YUwAWDWFGzhRXN&t=842).

Sources/SwiftJavaTool/Commands/ConfigureCommand.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ extension SwiftJava {
3535
@OptionGroup var commonJVMOptions: SwiftJava.CommonJVMOptions
3636

3737
// TODO: This should be a "make wrappers" option that just detects when we give it a jar
38-
@Flag(help: "Specifies that the input is a *.jar file whose public classes will be loaded. The output of swift-java will be a configuration file (swift-java.config) that can be used as input to a subsequent swift-java invocation to generate wrappers for those public classes."
38+
@Flag(
39+
help: "Specifies that the input is a *.jar file whose public classes will be loaded. The output of swift-java will be a configuration file (swift-java.config) that can be used as input to a subsequent swift-java invocation to generate wrappers for those public classes."
3940
)
4041
var jar: Bool = false
4142

@@ -56,7 +57,9 @@ extension SwiftJava {
5657
swiftModule
5758
}
5859

59-
@Argument(help: "The input file, which is either a swift-java configuration file or (if '-jar' was specified) a Jar file.")
60+
@Argument(
61+
help: "The input file, which is either a swift-java configuration file or (if '-jar' was specified) a Jar file."
62+
)
6063
var input: String?
6164
}
6265
}

Sources/SwiftJavaTool/CommonOptions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@ extension HasCommonJVMOptions {
125125
func makeJVM(classpathEntries: [String]) throws -> JavaVirtualMachine {
126126
try JavaVirtualMachine.shared(classpath: classpathEntries)
127127
}
128-
}
128+
}

0 commit comments

Comments
 (0)