Use String.contains instead of indexOf != -1

Change-Id: I71865b70f8fac577dad6a256e59ea1b6568d807e
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.releng/+/190480
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Platform Bot <platform-bot@eclipse.org>
1 file changed