Fixed lower case value for country code in property checker.

This commit is contained in:
Christian P. MOMON 2021-03-05 02:44:22 +01:00
parent 56ac707b17
commit eb7adda168

View file

@ -46,7 +46,7 @@ public class PropertyChecker
public static final String MONTHS = "^\\d*(,\\d*){0,11}$"; public static final String MONTHS = "^\\d*(,\\d*){0,11}$";
public static final String WEEKS = "^\\d*(,\\d*){0,52}$"; public static final String WEEKS = "^\\d*(,\\d*){0,52}$";
public static final String DAYS = "^\\d*(,\\d*){0,365}$"; public static final String DAYS = "^\\d*(,\\d*){0,365}$";
public static final String COUNTRY_CODE = "^[a-z][A-Z]{2}$"; public static final String COUNTRY_CODE = "^[a-zA-Z]{2}$";
public static final String SUBS = "^subs\\.\\S+$"; public static final String SUBS = "^subs\\.\\S+$";
public static final String METRICS_NAME = "^metrics\\.\\S+\\.name$"; public static final String METRICS_NAME = "^metrics\\.\\S+\\.name$";