fixed the comments in constraints class.
fixed the warning.