Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mysema/scalagen
Browse files Browse the repository at this point in the history
  • Loading branch information
timowest committed Jan 28, 2012
2 parents 64955e3 + 0c9a879 commit 53a5e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalagen/src/main/scala/com/mysema/scalagen/Helpers.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/*
* Copyright (C) 2011, Mysema Ltd
*
Expand Down Expand Up @@ -95,6 +94,7 @@ trait Helpers {
case _ => null
}

// TODO use pattern matching
def getLazyInit(block: Block) = {
block.getStmts.get(0).asInstanceOf[If]
.getThenStmt.asInstanceOf[Block]
Expand Down

0 comments on commit 53a5e86

Please sign in to comment.