setPropertyVisible(prop, false);
boolean wasVisible = isPropertyVisible(prop); if (!wasVisible) return; Object oldValue = getMyProperties().remove(prop.getName()); if (oldValue == null) { if (log.isErrorEnabled()) log.error("", new Throwable("Attempting to remove non-local property: " + prop.getName())); return; }
  public void removeProperty(Property prop) {    setPropertyVisible(prop, false);    firePropertyRemoved(prop);  }