On 03/02/2017 11:38 AM, Ulf Zibis wrote:
Hi Vitaly,

I don't see any contract to throw an NPE:
https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#replace-java.lang.CharSequence-java.lang.CharSequence-

"Unless otherwise noted, passing anullargument to a constructor or method in this class will cause a|NullPointerException| <https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html>to be thrown."

/Claes

Reply via email to