LPS-50861 Fix unsafe cast, there's no reason to cast too LiferayFileEntry since isInTrash calls DLFileEntry's method
LPS-50861 Cast isn't needed
LPS-50861 Simplify
LPS-42980 - Documents and Media editor now focuses first button on render
LPS-42980 - Source formatting