change to use startsWith to avoid RTE error
Merge pull request #84 from esoekianto/RTE-error-uri-startwith

Java: change to use startsWith to avoid RTE error