if (patterns != null)
{
ArrayList list = new ArrayList();
for (StringTokenizer st = new StringTokenizer(patterns, ";"); st.hasMoreTokens();)
{
list.add(new ShellMatcher(st.nextToken()));
}
modelPatterns = (ShellMatcher[]) CollectionUtil.toArray(list, ShellMatcher.class);
}
}