public void swap(String displayName,String viewBeanClassName,Map pageSessionAttributeValues){
  trail.remove(trail.size() - 1);
  trail.add(new Marker(displayName,viewBeanClassName,pageSessionAttributeValues));
}

public void swap ( String displayName , String viewBeanClassName , Map pageSessionAttributeValues ) { trail . remove ( trail . size ( ) - 1 ) ; trail . add ( new Marker ( displayName , viewBeanClassName , pageSessionAttributeValues ) ) ; }
swap the last item of trail .
