You should rather state not compilable ...
http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#replace(char,%20char)
vs.
http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#replaceAll(java.lang.String,%20java.lang.String)