Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mihai.herda
keyjoana
Commits
a9ebe4f4
Commit
a9ebe4f4
authored
Oct 22, 2019
by
Joachim Müssig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused code
parent
18d56ada
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
src/specgui/FXMLDocumentController.java
src/specgui/FXMLDocumentController.java
+0
-2
src/specgui/JoanaView.java
src/specgui/JoanaView.java
+3
-4
No files found.
src/specgui/FXMLDocumentController.java
View file @
a9ebe4f4
...
...
@@ -5,7 +5,6 @@
*/
package
specgui
;
import
javafx.scene.control.TextArea
;
import
java.io.BufferedWriter
;
import
java.io.File
;
import
java.io.FileNotFoundException
;
...
...
@@ -25,7 +24,6 @@ import gui.RecentlyUsedFilesManager;
import
javafx.application.Platform
;
import
javafx.fxml.FXML
;
import
javafx.fxml.Initializable
;
import
javafx.scene.Scene
;
import
javafx.scene.control.Button
;
import
javafx.scene.control.CheckBox
;
import
javafx.scene.control.ComboBox
;
...
...
src/specgui/JoanaView.java
View file @
a9ebe4f4
...
...
@@ -27,7 +27,6 @@ import joanakey.errorhandling.ErrorLogger;
import
joanakey.slicing.ProgramSimplifier
;
import
joanakey.slicing.SourceCodeSlicer
;
import
specgui.helper.JarCreator
;
import
specgui.joanahandler.Helper
;
import
specgui.joanahandler.JoanaInstance
;
...
...
@@ -58,7 +57,7 @@ public class JoanaView {
}
this
.
currentJarFile
=
jarFile
;
//boolean correctJarFile =
boolean
correctJar
=
checkIfCorrectJarFile
();
//
boolean correctJar = checkIfCorrectJarFile();
//handle result
}
...
...
@@ -112,7 +111,7 @@ public class JoanaView {
controller
.
setFolderPath
(
folderDir
.
getPath
());
try
{
this
.
currentJarFile
=
new
File
(
JarCreator
.
createJarFromDirectory
(
folderDir
,
folderDir
.
getName
()+
".jar"
));
checkIfCorrectJarFile
();
//
checkIfCorrectJarFile();
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
...
...
@@ -251,7 +250,7 @@ public class JoanaView {
}
/**
* TODO:
check if correct and update status
* TODO:
implement if still necessary
* @return
*/
private
boolean
checkIfCorrectJarFile
()
{
...
...
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