private Properties removeRedundantProperties(Properties props){
  if (props == null) {
    return null;
  }
  Properties clonedProps=(Properties)props.clone();
  clonedProps.remove(XPathProperties.CONTAINER_JNDI_URL);
  return clonedProps;
}

private Properties removeRedundantProperties ( Properties props ) { if ( props == null ) { return null ; } Properties clonedProps = ( Properties ) props . clone ( ) ; clonedProps . remove ( XPathProperties . CONTAINER_JNDI_URL ) ; return clonedProps ; }
in this method properties that are not relevant for cluster member are removed for example : com . j_spaces . core . container . directory_services . jndi . url
