General code tidy up
- access modifiers adjusted - unused declarations removed - spelling fixes - removed redundant code
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user