Improve code style of "Constraint.java"