Skip to content

Commit ed9a341

Browse files
Googlercopybara-github
authored andcommitted
[J2KT] Update visibilities in com.google.apps.xplat.collect.intervaltree to compile in J2KT with proper visibility mapping enabled.
Details: - most `protected` methods and types were resticted to `package-private`, since they are accessed outside of subtype but are effectively internal, - nested `Pair` class is converted to `package-protected` as it's exposed in `package-private` member - `ComparableInterval` is converted to public, as it's extended by `public Interval` class. PiperOrigin-RevId: 926677909
1 parent 711e894 commit ed9a341

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

transpiler/java/com/google/j2cl/transpiler/backend/kotlin/Visibilities.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ private val ACTUAL_VISIBILITY_PACKAGE_PREFIXES: List<String> =
3131
"j2ktobjcweak.",
3232
// copybara:strip_begin
3333
// Packages which should be hidden in Open Source project.
34+
"com.google.apps.xplat.collect.intervaltree.",
3435
// copybara:strip_end
3536
)
3637

0 commit comments

Comments
 (0)