For #21776 - 'protected' visibility is effectively 'private' in a final class

upstream-sync
Gabriel Luong 3 years ago committed by mergify[bot]
parent da395d1038
commit 603ba63962

@ -169,7 +169,7 @@ class HomeFragment : Fragment() {
private lateinit var homeFragmentStore: HomeFragmentStore
private var _sessionControlInteractor: SessionControlInteractor? = null
protected val sessionControlInteractor: SessionControlInteractor
private val sessionControlInteractor: SessionControlInteractor
get() = _sessionControlInteractor!!
private var sessionControlView: SessionControlView? = null

@ -57,7 +57,7 @@ class HistoryFragment : LibraryPageFragment<History>(), UserInteractionHandler {
private var pendingHistoryDeletionJob: (suspend () -> Unit)? = null
private var _historyView: HistoryView? = null
protected val historyView: HistoryView
private val historyView: HistoryView
get() = _historyView!!
private var _binding: FragmentHistoryBinding? = null
private val binding get() = _binding!!

@ -35,7 +35,7 @@ import org.mozilla.fenix.library.LibraryPageFragment
class RecentlyClosedFragment : LibraryPageFragment<RecoverableTab>(), UserInteractionHandler {
private lateinit var recentlyClosedFragmentStore: RecentlyClosedFragmentStore
private var _recentlyClosedFragmentView: RecentlyClosedFragmentView? = null
protected val recentlyClosedFragmentView: RecentlyClosedFragmentView
private val recentlyClosedFragmentView: RecentlyClosedFragmentView
get() = _recentlyClosedFragmentView!!
private lateinit var recentlyClosedInteractor: RecentlyClosedFragmentInteractor

Loading…
Cancel
Save