Skip to content

Commit 2a37c20

Browse files
committed
Remove $ checks
1 parent 2f246e4 commit 2a37c20

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

Sources/Java2Swift/JavaToSwift.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,11 +342,6 @@ struct JavaToSwift: ParsableCommand {
342342
}
343343
}
344344

345-
// TODO: For now, skip all nested classes.
346-
if entry.getName().contains("$") {
347-
continue
348-
}
349-
350345
let javaCanonicalName = String(entry.getName().replacing("/", with: ".")
351346
.dropLast(".class".count))
352347
configuration.classes[javaCanonicalName] =

Tests/Java2SwiftTests/Java2SwiftTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ class Java2SwiftTests: XCTestCase {
123123
"java.lang.ProcessBuilder": ("ProcessBuilder", nil, true),
124124
"java.lang.ProcessBuilder.Redirect": ("ProcessBuilder.Redirect", nil, true),
125125
"java.lang.ProcessBuilder.Redirect.Type": ("ProcessBuilder.Redirect.Type", nil, true),
126-
"java.lang.Enum.EnumDesc": ("Enum.EnumDesc", nil, true)
127126
],
128127
expectedChunks: [
129128
"import JavaKit",

0 commit comments

Comments
 (0)