Some small corrections in canceledDesiredCriteria.
Fix spelling.
Add @param tag.
Add javadoc.