Replaces the endsWith method with an own implementation for downward compatibility.
Replaces the endsWith method with an own implementation for downward compatibility.

JulHorn/image_diff_server,JulHorn/image_diff_server