Bug 444070 - Reduce warning messages in the Platform.ui repository

Removed unnecessay else clause.

Change-Id: Ifcd377ebf723f8d9d677259740cb49484939df84
Signed-off-by: Jeanderson Candido <jeandersonbc@gmail.com>