/***********************************************
 * Filename        : Constants.java 
 * Copyright      : Copyright (c) 2014
 * Company        : Innovaee
 * Created        : 11/27/2014
 ************************************************/

package com.innovaee.eorder.module.utils;

/**
 * @Title: Constants
 * @Description: 常量类
 *
 * @version V1.0
 */
public class Constants {

    public static String REGEX = ",";

    /**
     * 默认角色：普通用户
     */
    public static Integer DEFAULT_ROLE = 2;

    /**
     * 默认等级：普通会员
     */
    public static Integer DEFAULT_LEVEL = 4;
}

/***********************************************
 * Filename        : Constants.java 
 * Copyright      : Copyright (c) 2014
 * Company        : Innovaee
 * Created        : 11/27/2014
 ************************************************/

package com.innovaee.eorder.module.utils;

/**
 * @Title: Constants
 * @Description: 常量类
 *
 * @version V1.0
 */
public class Constants {

    public static final String REGEX = ",";

    /**
     * 默认角色：普通用户
     */
    public static  final Integer DEFAULT_ROLE = 2;

    /**
     * 默认等级：普通会员
     */
    public static final Integer DEFAULT_LEVEL = 4;
}

add final to Constants variables