Sramp 507

https://issues.jboss.org/browse/SRAMP-507
Please always surround if blocks with curly braces