Skip to content

Commit 679b480

Browse files
cortinicofacebook-github-bot
authored andcommitted
Remove unnecessary public keyword
Summary: Another round of cleanup for the `public` keyword that I found around. Those are unnecessary here as those classes are `internal` and we should remove them. Changelog: [Internal] [Changed] - Differential Revision: D68894182
1 parent 252294b commit 679b480

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/internal/bolts/Executors.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import java.util.concurrent.Executor
2424
* threads.
2525
*/
2626
internal object Executors {
27-
@JvmField public val UI_THREAD: Executor = UIThreadExecutor()
28-
@JvmField public val IMMEDIATE: Executor = ImmediateExecutor()
27+
@JvmField val UI_THREAD: Executor = UIThreadExecutor()
28+
@JvmField val IMMEDIATE: Executor = ImmediateExecutor()
2929

3030
private class UIThreadExecutor : Executor {
3131
override fun execute(command: Runnable) {

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/BlendModeHelper.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ internal object BlendModeHelper {
1919

2020
/** @see https://www.w3.org/TR/compositing-1/#mix-blend-mode */
2121
@JvmStatic
22-
public fun parseMixBlendMode(mixBlendMode: String?): BlendMode? {
22+
fun parseMixBlendMode(mixBlendMode: String?): BlendMode? {
2323
if (mixBlendMode == null || Build.VERSION.SDK_INT < Build.VERSION_CODES.Q) {
2424
return null
2525
}
@@ -46,6 +46,6 @@ internal object BlendModeHelper {
4646
}
4747

4848
@JvmStatic
49-
public fun needsIsolatedLayer(view: ViewGroup): Boolean =
49+
fun needsIsolatedLayer(view: ViewGroup): Boolean =
5050
view.children.any { it.getTag(R.id.mix_blend_mode) != null }
5151
}

0 commit comments

Comments
 (0)