Commit c085995f authored by Pietro Braghieri's avatar Pietro Braghieri
Browse files

fix to formatter when time annotation is missing

parent 1361e3f2
......@@ -29,7 +29,7 @@ class NuSMVFormatter extends AbstractFormatter2 {
for (module : model.getModules()) {
if( model.annotation.value !== null ) // trick because call to model.annotation.format seems not working
if( model.annotation!== null && model.annotation.value !== null ) // trick because call to model.annotation.format seems not working
{
module.surround[newLine].format
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment