more code inspection refactors
This commit is contained in:
parent
4f6f4827b8
commit
77a74d05fe
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ object ModelSpecXMLReader {
|
|||
def parseBinding(bindingnode: NodeSeq, modelspec: ModelSpec) = {
|
||||
val slot = parseInt((bindingnode \ "@slot").text)
|
||||
val target = parseTarget((bindingnode \ "@target").text)
|
||||
slot.map(slot => {
|
||||
target.map(target =>
|
||||
slot.foreach(slot => {
|
||||
target.foreach(target =>
|
||||
(bindingnode \ "part").foreach {
|
||||
partnode =>
|
||||
parseParts(partnode, modelspec, slot, target)
|
||||
|
|
Loading…
Reference in a new issue