getLog().info( "-------------------------------------------------------------" );
getLog().error( "COMPILATION ERROR : " );
getLog().info( "-------------------------------------------------------------" );
if ( messages != null )
{
<BUG>for ( Iterator i = messages.iterator(); i.hasNext(); )
{
CompilerError message = (CompilerError) i.next();</BUG>
getLog().error( message.toString() );
}

getLog().info( "-------------------------------------------------------------" );
getLog().error( "COMPILATION ERROR : " );
getLog().info( "-------------------------------------------------------------" );
if ( messages != null )
{
for ( CompilerError message : messages )
{
getLog().error( message.toString() );
}
