Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Jon Shahen
mohawk-2.0
Commits
08d37ca1
Commit
08d37ca1
authored
Dec 09, 2015
by
Jonathan Shahen
Browse files
writeFile now returns if it actually wrote the file and a new function returns the SMV filename
parent
88ca1be6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/mohawk/output/WriteNuSMV.java
src/mohawk/output/WriteNuSMV.java
+7
-2
No files found.
src/mohawk/output/WriteNuSMV.java
View file @
08d37ca1
...
...
@@ -458,13 +458,18 @@ public class WriteNuSMV {
done
=
true
;
}
public
void
writeFile
()
throws
IOException
{
public
boolean
writeFile
()
throws
IOException
{
if
(
done
)
{
FileWriter
file
=
new
FileWriter
(
filename
);
file
.
write
(
smvcode
);
file
.
close
();
return
true
;
}
return
false
;
}
public
String
getFilename
()
{
return
filename
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment