[Cleanup] Redundant substring() operation in ui.cheatsheets

Removes the second substring() parameter if this parameter is the length
of the string. It's the default value.

Found during testing of Bug 569800 (new JDT cleanup for this case).

Change-Id: If8cf310612b21cf3840b35416cc86a3a519da395
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
1 file changed