Commit 36d9a9d1 authored by edmundszagars's avatar edmundszagars
Browse files

-Removing variables used for test purposes

parent 2fb55ecc
......@@ -94,6 +94,10 @@ public class MainWindow extends Application {
BubbleSort bs = new BubbleSort();
double[] ar = dataFromCSV.getDoubleArrayFromListItem((ArrayList) list.get(0));
double[] resultArray = bs.bubbleSort(ar);
long tree = bs.getExecutionStart();
long end = bs.getExecutionEnd();
anResult.setStartDataString(ar);
anResult.setResultDataString(resultArray);
anResult.setExecutionResultTime(bs.getExecutionTime());
......
......@@ -29,7 +29,7 @@ public class BubbleSort implements ExecutionTime {
array[k] = tmp;
}
private long getExecutionStart() {
public long getExecutionStart() {
return executionStart;
}
......@@ -37,7 +37,7 @@ public class BubbleSort implements ExecutionTime {
executionStart = executionStart;
}
private long getExecutionEnd() {
public long getExecutionEnd() {
return executionEnd;
}
......
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