if ( elt instanceof ElementPathBlock )
{
if ( prev != null )
throw new ARQInternalErrorException("Mixed ElementTriplesBlock and ElementPathBlock (case 2)") ;
ElementPathBlock epb = (ElementPathBlock)elt ;
if ( prev2 != null )
{
prev2.addAll(epb.getPattern()) ;
continue ;
}
ElementPathBlock epb2 = new ElementPathBlock() ;
epb2.getPattern().addAll(epb.getPattern()) ;
prev2 = epb2.getPattern() ;
groupElts.add(epb2) ;
continue ;
}
// Anything else. End of BGP - put in any accumulated filters