Skip to content

Commit f65061c

Browse files
committed
SwiftJavaDocumentation correction
1 parent 01d7abb commit f65061c

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@
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 to Swift sources.
41+
SwiftJava's `swift-java jextract` tool automates generating Java bindings from 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: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ 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(
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."
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."
4039
)
4140
var jar: Bool = false
4241

@@ -57,9 +56,7 @@ extension SwiftJava {
5756
swiftModule
5857
}
5958

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

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)