[Cleanup] Redundant substring() operation

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: Id3cc01ba81e2955044f199e8a3644b8ee17a01cc
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
3 files changed