Iterator iter = nodes.iterator( );
Set validationIDs = new HashSet( );
	private List reorganize( List nodes )	{		List newList = new ArrayList( );		Iterator iter = nodes.iterator( );		while ( iter.hasNext( ) )		{			ValidationNode node = (ValidationNode) iter.next( );			boolean found = false;			int count = newList.size( );			for ( int i = 0; i < count; i++ )			{				ValidationNode nodeInList = (ValidationNode) newList.get( i );				// The validation is just done once on the same element with the				// same validator.				String validationID1 = node.getTriggerDefn( ).getValidationID( );				String validationID2 = nodeInList.getTriggerDefn( )						.getValidationID( );				if ( StringUtil.isEqual( validationID1, validationID2 ) )				{					found = true;					break;				}			}			if ( !found )			{				if ( node.getTriggerDefn( ).isPreRequisite( ) )					newList.add( 0, node );				else					newList.add( node );			}		}		return newList;	}