General code tidy up

- access modifiers adjusted
- unused declarations removed
- spelling fixes
- removed redundant code
This commit is contained in:
Jessica McAuslin
2017-05-08 20:21:20 +12:00
parent e1ba2ae5b6
commit 2d983eccfd
44 changed files with 242 additions and 406 deletions
@@ -7,13 +7,9 @@ import javafx.scene.control.Label;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.layout.AnchorPane;
import seng302.Model.Boat;
import seng302.Model.Race;
import java.net.URL;
import java.util.ResourceBundle;
@@ -41,7 +37,7 @@ public class FinishController extends Controller {
public void setFinishTable(ObservableList<Boat> boats){
private void setFinishTable(ObservableList<Boat> boats){
boatInfoTable.setItems(boats);
boatNameColumn.setCellValueFactory(cellData -> cellData.getValue().getName());
boatRankColumn.setCellValueFactory(cellData -> cellData.getValue().positionProperty());