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 { ...@@ -218,8 +218,8 @@ public class CityDoctorController {
} }
} }
private void buildCityFurniture(CityDoctorModel model){ private void buildCityFurniture(CityDoctorModel model) {
if (model.getCityFurniture().isEmpty()){ if (model.getCityFurniture().isEmpty()) {
return; return;
} }
TreeView<Renderable> cityFurnitureView = mainWindow.getCityFurnitureView(); TreeView<Renderable> cityFurnitureView = mainWindow.getCityFurnitureView();
...@@ -230,8 +230,8 @@ public class CityDoctorController { ...@@ -230,8 +230,8 @@ public class CityDoctorController {
addMoreButtonIfNecessary(model.getCityFurniture(), cityFurnitureView, cityFurnitureRoot, cityFurnitureChunkNr); addMoreButtonIfNecessary(model.getCityFurniture(), cityFurnitureView, cityFurnitureRoot, cityFurnitureChunkNr);
} }
private void buildOtherCityObjects(CityDoctorModel model){ private void buildOtherCityObjects(CityDoctorModel model) {
if (model.getGenericCityObjects().isEmpty()){ if (model.getGenericCityObjects().isEmpty()) {
return; return;
} }
TreeView<Renderable> otherObjectsView = mainWindow.getOtherObjectsView(); TreeView<Renderable> otherObjectsView = mainWindow.getOtherObjectsView();
...@@ -542,11 +542,11 @@ public class CityDoctorController { ...@@ -542,11 +542,11 @@ public class CityDoctorController {
} }
private void createBuildingFurnitureNodes(Building ab, TreeItem<Renderable> root) { 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){ private void createFurnitureNodes(List<? extends AbstractFurniture> furniture, TreeItem<Renderable> root) {
if(furniture.isEmpty()) { if (furniture.isEmpty()) {
return; return;
} }
...@@ -982,7 +982,7 @@ public class CityDoctorController { ...@@ -982,7 +982,7 @@ public class CityDoctorController {
fillTreeViewWithErrorCityObjects(mainWindow.getTerrainView(), model.getLand(), landChunkNr); fillTreeViewWithErrorCityObjects(mainWindow.getTerrainView(), model.getLand(), landChunkNr);
} }
public void fillTreeViewWithErrorCityFurniture(){ public void fillTreeViewWithErrorCityFurniture() {
if (model == null) { if (model == null) {
return; return;
} }
...@@ -990,7 +990,7 @@ public class CityDoctorController { ...@@ -990,7 +990,7 @@ public class CityDoctorController {
model.getCityFurniture(), cityFurnitureChunkNr); model.getCityFurniture(), cityFurnitureChunkNr);
} }
public void fillTreeViewWithErrorOtherObjects(){ public void fillTreeViewWithErrorOtherObjects() {
if (model == null) { if (model == null) {
return; return;
} }
......
...@@ -884,7 +884,7 @@ public class MainWindow extends Application { ...@@ -884,7 +884,7 @@ public class MainWindow extends Application {
return cityFurnitureView; return cityFurnitureView;
} }
public TreeView<Renderable> getOtherObjectsView(){ public TreeView<Renderable> getOtherObjectsView() {
return otherObjectsView; 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