class FieldConstraintArrayUtil {

    public static void moveDown(int index, FieldConstraint[] fieldConstraints) {
        if (index < (fieldConstraints.length - 1)) {
            final FieldConstraint first = fieldConstraints[index];
            final FieldConstraint second = fieldConstraints[index + 1];

            if (blockSwap(first, second)) {
                return;
            }

            fieldConstraints[index] = second;
            fieldConstraints[index + 1] = first;
        }
    }

    private  FieldConstraintArrayUtil();

}