/**
  * Removes all validation related decorations from the target
  *
  * @param target control
  */
 @Override
 public void removeDecorations(Control target) {
   List<Decoration> decorations = Decorator.getDecorations(target);
   if (decorations != null) {
     // conversion to array is a trick to prevent concurrent modification exception
     for (Decoration d : Decorator.getDecorations(target).toArray(new Decoration[0])) {
       if (isValidationDecoration(d)) Decorator.removeDecoration(target, d);
     }
   }
 }
 private void decorate(Control target, Decoration d) {
   setValidationDecoration(d); // mark as validation specific decoration
   Decorator.addDecoration(target, d);
 }