Skip to content

Commit

Permalink
Fix indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
afs committed Dec 1, 2015
1 parent b831ec1 commit 5724a5a
Showing 1 changed file with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,23 +131,23 @@ public QueryIterator eval(Op op, DatasetGraph dsg, Binding binding, Context cont
QueryIterator qIter = QC.execute(op, input, execCxt) ; // OpExecutor from main query engine.
qIter = QueryIteratorCheck.check(qIter, execCxt) ;
return qIter ;
}
// Direct.
OpSQL opSQL = (OpSQL)op ;
QueryIterator qIter ;
if ( opSQL.getSqlNode() == null )
{
// Empty BGP, nothing else.
// Just return the answer.
if ( binding != null && binding.size() != 0 )
qIter = QueryIterSingleton.create(binding, execCxt) ;
else
qIter = QueryIterRoot.create(execCxt) ;
}
else
qIter = opSQL.exec(binding, execCxt) ;
qIter = QueryIteratorCheck.check(qIter, execCxt) ;
return qIter ;
}
// Direct.
OpSQL opSQL = (OpSQL)op ;
QueryIterator qIter ;
if ( opSQL.getSqlNode() == null )
{
// Empty BGP, nothing else.
// Just return the answer.
if ( binding != null && binding.size() != 0 )
qIter = QueryIterSingleton.create(binding, execCxt) ;
else
qIter = QueryIterRoot.create(execCxt) ;
}
else
qIter = opSQL.exec(binding, execCxt) ;
qIter = QueryIteratorCheck.check(qIter, execCxt) ;
return qIter ;
}

// -------- Factory
Expand Down

0 comments on commit 5724a5a

Please sign in to comment.