Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
9ba8a6ef
Commit
9ba8a6ef
authored
Aug 13, 2024
by
Riegel
Browse files
Code cleaning. Ref
#69
parent
1d8506eb
Pipeline
#10053
passed with stage
in 1 minute and 13 seconds
Changes
48
Pipelines
1
Show whitespace changes
Inline
Side-by-side
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/AllTerrainNode.java
View file @
9ba8a6ef
...
@@ -7,7 +7,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -7,7 +7,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
AllTerrainNode
extends
Renderable
{
public
class
AllTerrainNode
extends
Renderable
{
private
List
<
CityObject
>
land
;
private
final
List
<
CityObject
>
land
;
public
AllTerrainNode
(
List
<
CityObject
>
land
)
{
public
AllTerrainNode
(
List
<
CityObject
>
land
)
{
this
.
land
=
land
;
this
.
land
=
land
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/AllTransportationNode.java
View file @
9ba8a6ef
...
@@ -7,7 +7,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -7,7 +7,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
AllTransportationNode
extends
Renderable
{
public
class
AllTransportationNode
extends
Renderable
{
private
List
<
TransportationObject
>
transportation
;
private
final
List
<
TransportationObject
>
transportation
;
public
AllTransportationNode
(
List
<
TransportationObject
>
transportation
)
{
public
AllTransportationNode
(
List
<
TransportationObject
>
transportation
)
{
this
.
transportation
=
transportation
;
this
.
transportation
=
transportation
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/AllVegetationNode.java
View file @
9ba8a6ef
...
@@ -7,7 +7,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -7,7 +7,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
AllVegetationNode
extends
Renderable
{
public
class
AllVegetationNode
extends
Renderable
{
private
List
<
Vegetation
>
vegetation
;
private
final
List
<
Vegetation
>
vegetation
;
public
AllVegetationNode
(
List
<
Vegetation
>
vegetation
)
{
public
AllVegetationNode
(
List
<
Vegetation
>
vegetation
)
{
this
.
vegetation
=
vegetation
;
this
.
vegetation
=
vegetation
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/AllWaterNode.java
View file @
9ba8a6ef
...
@@ -7,7 +7,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -7,7 +7,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
AllWaterNode
extends
Renderable
{
public
class
AllWaterNode
extends
Renderable
{
private
List
<
WaterObject
>
water
;
private
final
List
<
WaterObject
>
water
;
public
AllWaterNode
(
List
<
WaterObject
>
water
)
{
public
AllWaterNode
(
List
<
WaterObject
>
water
)
{
this
.
water
=
water
;
this
.
water
=
water
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/BoundarySurfaceNode.java
View file @
9ba8a6ef
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
BoundarySurfaceNode
extends
Renderable
{
public
class
BoundarySurfaceNode
extends
Renderable
{
private
BoundarySurface
bs
;
private
final
BoundarySurface
bs
;
public
BoundarySurfaceNode
(
BoundarySurface
bs
)
{
public
BoundarySurfaceNode
(
BoundarySurface
bs
)
{
this
.
bs
=
bs
;
this
.
bs
=
bs
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/BridgeConstructiveElementNode.java
View file @
9ba8a6ef
...
@@ -24,7 +24,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -24,7 +24,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
BridgeConstructiveElementNode
extends
Renderable
{
public
class
BridgeConstructiveElementNode
extends
Renderable
{
private
BridgeConstructiveElement
bce
;
private
final
BridgeConstructiveElement
bce
;
public
BridgeConstructiveElementNode
(
BridgeConstructiveElement
bce
)
{
public
BridgeConstructiveElementNode
(
BridgeConstructiveElement
bce
)
{
this
.
bce
=
bce
;
this
.
bce
=
bce
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/BridgeNode.java
View file @
9ba8a6ef
...
@@ -24,7 +24,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -24,7 +24,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
BridgeNode
extends
Renderable
{
public
class
BridgeNode
extends
Renderable
{
private
BridgeObject
bridge
;
private
final
BridgeObject
bridge
;
public
BridgeNode
(
BridgeObject
bridge
)
{
public
BridgeNode
(
BridgeObject
bridge
)
{
this
.
bridge
=
bridge
;
this
.
bridge
=
bridge
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/BuildingNode.java
View file @
9ba8a6ef
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
BuildingNode
extends
Renderable
{
public
class
BuildingNode
extends
Renderable
{
private
Building
building
;
private
final
Building
building
;
public
BuildingNode
(
Building
building
)
{
public
BuildingNode
(
Building
building
)
{
this
.
building
=
building
;
this
.
building
=
building
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/BuildingPartNode.java
View file @
9ba8a6ef
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
BuildingPartNode
extends
Renderable
{
public
class
BuildingPartNode
extends
Renderable
{
private
BuildingPart
bp
;
private
final
BuildingPart
bp
;
public
BuildingPartNode
(
BuildingPart
bp
)
{
public
BuildingPartNode
(
BuildingPart
bp
)
{
this
.
bp
=
bp
;
this
.
bp
=
bp
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/ButtonRenderable.java
View file @
9ba8a6ef
...
@@ -22,7 +22,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -22,7 +22,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
ButtonRenderable
extends
Renderable
{
public
class
ButtonRenderable
extends
Renderable
{
private
Runnable
run
;
private
final
Runnable
run
;
public
ButtonRenderable
(
Runnable
run
)
{
public
ButtonRenderable
(
Runnable
run
)
{
this
.
run
=
run
;
this
.
run
=
run
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/CityObjectNode.java
View file @
9ba8a6ef
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
CityObjectNode
extends
Renderable
{
public
class
CityObjectNode
extends
Renderable
{
private
CityObject
co
;
private
final
CityObject
co
;
public
CityObjectNode
(
CityObject
co
)
{
public
CityObjectNode
(
CityObject
co
)
{
this
.
co
=
co
;
this
.
co
=
co
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/EdgeNode.java
View file @
9ba8a6ef
...
@@ -9,7 +9,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -9,7 +9,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
EdgeNode
extends
Renderable
{
public
class
EdgeNode
extends
Renderable
{
private
static
DecimalFormat
nf
;
private
static
final
DecimalFormat
nf
;
static
{
static
{
DecimalFormatSymbols
dfs
=
DecimalFormatSymbols
.
getInstance
();
DecimalFormatSymbols
dfs
=
DecimalFormatSymbols
.
getInstance
();
...
@@ -18,7 +18,7 @@ public class EdgeNode extends Renderable {
...
@@ -18,7 +18,7 @@ public class EdgeNode extends Renderable {
}
}
private
static
final
String
SEPERATOR
=
", "
;
private
static
final
String
SEPERATOR
=
", "
;
private
Edge
e
;
private
final
Edge
e
;
private
String
text
;
private
String
text
;
public
EdgeNode
(
Edge
e
)
{
public
EdgeNode
(
Edge
e
)
{
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/ErrorItemVisitor.java
View file @
9ba8a6ef
...
@@ -49,7 +49,7 @@ public class ErrorItemVisitor implements ErrorVisitor {
...
@@ -49,7 +49,7 @@ public class ErrorItemVisitor implements ErrorVisitor {
private
static
final
String
NAME_OF_ATTRIBUTE
=
"Name of Attribute: "
;
private
static
final
String
NAME_OF_ATTRIBUTE
=
"Name of Attribute: "
;
private
static
final
String
CHILD_ID
=
"ChildId: "
;
private
static
final
String
CHILD_ID
=
"ChildId: "
;
private
TreeItem
<
Renderable
>
root
;
private
final
TreeItem
<
Renderable
>
root
;
public
ErrorItemVisitor
(
TreeItem
<
Renderable
>
root
)
{
public
ErrorItemVisitor
(
TreeItem
<
Renderable
>
root
)
{
this
.
root
=
root
;
this
.
root
=
root
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/ErrorNode.java
View file @
9ba8a6ef
...
@@ -5,7 +5,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -5,7 +5,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
ErrorNode
extends
Renderable
{
public
class
ErrorNode
extends
Renderable
{
private
CheckError
err
;
private
final
CheckError
err
;
public
ErrorNode
(
CheckError
e
)
{
public
ErrorNode
(
CheckError
e
)
{
this
.
err
=
e
;
this
.
err
=
e
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/GeometryNode.java
View file @
9ba8a6ef
...
@@ -6,8 +6,8 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -6,8 +6,8 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
GeometryNode
extends
Renderable
{
public
class
GeometryNode
extends
Renderable
{
private
Geometry
geom
;
private
final
Geometry
geom
;
private
String
text
;
private
final
String
text
;
public
GeometryNode
(
Geometry
geom
)
{
public
GeometryNode
(
Geometry
geom
)
{
this
.
geom
=
geom
;
this
.
geom
=
geom
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/InstallationNode.java
View file @
9ba8a6ef
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
InstallationNode
extends
Renderable
{
public
class
InstallationNode
extends
Renderable
{
private
Installation
bi
;
private
final
Installation
bi
;
public
InstallationNode
(
Installation
bi
)
{
public
InstallationNode
(
Installation
bi
)
{
this
.
bi
=
bi
;
this
.
bi
=
bi
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/LandUseNode.java
View file @
9ba8a6ef
...
@@ -24,7 +24,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -24,7 +24,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
LandUseNode
extends
Renderable
{
public
class
LandUseNode
extends
Renderable
{
private
LandObject
landUse
;
private
final
LandObject
landUse
;
public
LandUseNode
(
LandObject
landUse
)
{
public
LandUseNode
(
LandObject
landUse
)
{
this
.
landUse
=
landUse
;
this
.
landUse
=
landUse
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/LinearRingNode.java
View file @
9ba8a6ef
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
LinearRingNode
extends
Renderable
{
public
class
LinearRingNode
extends
Renderable
{
private
LinearRing
lr
;
private
final
LinearRing
lr
;
private
String
text
;
private
String
text
;
public
LinearRingNode
(
LinearRing
lr
,
CheckStatus
cs
)
{
public
LinearRingNode
(
LinearRing
lr
,
CheckStatus
cs
)
{
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/OpeningNode.java
View file @
9ba8a6ef
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
OpeningNode
extends
Renderable
{
public
class
OpeningNode
extends
Renderable
{
private
Opening
opening
;
private
final
Opening
opening
;
public
OpeningNode
(
Opening
o
)
{
public
OpeningNode
(
Opening
o
)
{
opening
=
o
;
opening
=
o
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/PolygonNode.java
View file @
9ba8a6ef
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
...
@@ -6,7 +6,7 @@ import de.hft.stuttgart.citydoctor2.gui.Renderer;
public
class
PolygonNode
extends
Renderable
{
public
class
PolygonNode
extends
Renderable
{
private
Polygon
p
;
private
final
Polygon
p
;
private
String
text
;
private
String
text
;
public
PolygonNode
(
Polygon
p
,
CheckStatus
cs
)
{
public
PolygonNode
(
Polygon
p
,
CheckStatus
cs
)
{
...
...
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment