Commit 9e161477 authored by Riegel's avatar Riegel
Browse files

Format code

parent 6b536067
Pipeline #10248 passed with stage
in 1 minute and 13 seconds
......@@ -218,8 +218,8 @@ public class CityDoctorController {
}
}
private void buildCityFurniture(CityDoctorModel model){
if (model.getCityFurniture().isEmpty()){
private void buildCityFurniture(CityDoctorModel model) {
if (model.getCityFurniture().isEmpty()) {
return;
}
TreeView<Renderable> cityFurnitureView = mainWindow.getCityFurnitureView();
......@@ -230,8 +230,8 @@ public class CityDoctorController {
addMoreButtonIfNecessary(model.getCityFurniture(), cityFurnitureView, cityFurnitureRoot, cityFurnitureChunkNr);
}
private void buildOtherCityObjects(CityDoctorModel model){
if (model.getGenericCityObjects().isEmpty()){
private void buildOtherCityObjects(CityDoctorModel model) {
if (model.getGenericCityObjects().isEmpty()) {
return;
}
TreeView<Renderable> otherObjectsView = mainWindow.getOtherObjectsView();
......@@ -542,11 +542,11 @@ public class CityDoctorController {
}
private void createBuildingFurnitureNodes(Building ab, TreeItem<Renderable> root) {
createFurnitureNodes(ab.getBuildingRoomFurnitureList(),root);
createFurnitureNodes(ab.getBuildingRoomFurnitureList(), root);
}
private void createFurnitureNodes(List<? extends AbstractFurniture> furniture, TreeItem<Renderable> root){
if(furniture.isEmpty()) {
private void createFurnitureNodes(List<? extends AbstractFurniture> furniture, TreeItem<Renderable> root) {
if (furniture.isEmpty()) {
return;
}
......@@ -982,7 +982,7 @@ public class CityDoctorController {
fillTreeViewWithErrorCityObjects(mainWindow.getTerrainView(), model.getLand(), landChunkNr);
}
public void fillTreeViewWithErrorCityFurniture(){
public void fillTreeViewWithErrorCityFurniture() {
if (model == null) {
return;
}
......@@ -990,7 +990,7 @@ public class CityDoctorController {
model.getCityFurniture(), cityFurnitureChunkNr);
}
public void fillTreeViewWithErrorOtherObjects(){
public void fillTreeViewWithErrorOtherObjects() {
if (model == null) {
return;
}
......
......@@ -884,7 +884,7 @@ public class MainWindow extends Application {
return cityFurnitureView;
}
public TreeView<Renderable> getOtherObjectsView(){
public TreeView<Renderable> getOtherObjectsView() {
return otherObjectsView;
}
......
Supports Markdown
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