Skip to content

Commit

Permalink
Comment / indenting cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Jul 9, 2014
1 parent d81f998 commit 0093376
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,10 @@ abstract class CodeGenerator extends Logging {
* @param objectTerm An possibly boxed version of the result of evaluating this expression.
*/
protected case class EvaluatedExpression(
code: Seq[Tree],
nullTerm: TermName,
primitiveTerm: TermName,
objectTerm: TermName) {

def withObjectTerm = ???
}
code: Seq[Tree],
nullTerm: TermName,
primitiveTerm: TermName,
objectTerm: TermName)

/**
* Given an expression tree returns the code required to determine both if the result is NULL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ package object expressions {
abstract class MutableProjection extends Projection {
def currentValue: Row

/* Updates the target of this projection to a new MutableRow */
/** Updates the target of this projection to a new MutableRow */
def target(row: MutableRow): MutableProjection
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ abstract class RuleExecutor[TreeType <: TreeNode[_]] extends Logging {
}
iteration += 1
if (iteration > batch.strategy.maxIterations) {
// Only log if this is a rule that is supposed to run more than once.
if (iteration != 2) {
logger.info(s"Max iterations (${iteration - 1}) reached for batch ${batch.name}")
}
Expand Down

0 comments on commit 0093376

Please sign in to comment.