Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
mohawk-2.0
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jon Shahen
mohawk-2.0
Commits
08d37ca1
Commit
08d37ca1
authored
Dec 09, 2015
by
Jonathan Shahen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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