Fix typo in Substitute JavaDoc.