public void applyPattern(String pattern) {
   maps = new ArrayList<ArgumentMap>();
   inner = root.createFormat(mapPattern(pattern));
   applyFormats(inner);
 }
 private BeanMessageFormat(String pattern, BeanMessageFormat ancestor) {
   root = ancestor;
   maps = root.maps;
   inner = root.createFormat(mapPattern(pattern));
   applyFormats(inner);
 }