return Collections.EMPTY_LIST;
List result = new ArrayList();
String chopped = specification;
RegexpMatcher matcher = new RegexpMatcher();
while (true)
{
if (chopped.length() == 0)
break;
if (!result.isEmpty())
{
if (chopped.charAt(0) != ',')
throw new ApplicationRuntimeException(ValidatorMessages
.badSpecification(specification));
chopped = chopped.substring(1);
}
RegexpMatch[] matches = matcher.getMatches(PATTERN, chopped);
if (matches.length != 1)
throw new ApplicationRuntimeException(ValidatorMessages
.badSpecification(specification));