if (sources==null || sources.length==0) {
logger.error("Input Stream "+getInputStreamName()+ " is not valid (No stream sources are specified), deployment failed !");
return false;
}
for ( StreamSource ss : sources ) {
<BUG>if ( !ss.validate( ) ) {
logger.error( new StringBuilder( ).append( "The Stream Source : " ).append( ss.getAlias( ) ).append( " specified in the Input Stream : " ).append( this.getInputStreamName( ) ).append(
" is not valid." ).toString( ) );</BUG>
return (cachedValidationResult=false);
}

if (sources==null || sources.length==0) {
logger.error("Input Stream "+getInputStreamName()+ " is not valid (No stream sources are specified), deployment failed !");
return false;
}
for ( StreamSource ss : sources ) {
if ( !ss.validate( ) ) {
logger.error("The Stream Source : "+ss.getAlias( )+" specified in the Input Stream : "+getInputStreamName( )+" is not valid.");
return (cachedValidationResult=false);
}
