jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Brosius <dbros...@mebigfatguy.com>
Subject Curious code in QueryEngine.execute
Date Thu, 25 Jul 2013 15:04:00 GMT

QueryEngine.execute(JoinMerger merger,
             ConstraintSplitInfo csInfo, boolean isOuterJoin,
             int printIndentation)

does

if (leftRows == null || leftRows.isEmpty()) {
             return merger.merge(new RowIteratorAdapter(leftRows),
                     new RowIteratorAdapter(new TreeSet<Row>()), null, 
rightCo);
         }


which looks to me like a completely inverted if logic guard.

Right?

Mime
View raw message