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
e1c68eb9
Commit
e1c68eb9
authored
Aug 09, 2024
by
Riegel
Browse files
Code cleaning. Ref
#69
parent
66663802
Changes
2
Show whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/check/CheckId.java
View file @
e1c68eb9
...
...
@@ -68,11 +68,8 @@ public record CheckId(String name) implements Serializable {
return
false
;
CheckId
other
=
(
CheckId
)
obj
;
if
(
name
==
null
)
{
if
(
other
.
name
!=
null
)
return
false
;
}
else
if
(!
name
.
equals
(
other
.
name
))
return
false
;
return
true
;
return
other
.
name
==
null
;
}
else
return
name
.
equals
(
other
.
name
);
}
@Override
...
...
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/check/ErrorId.java
View file @
e1c68eb9
...
...
@@ -88,11 +88,8 @@ public record ErrorId(String name) implements Serializable {
return
false
;
ErrorId
other
=
(
ErrorId
)
obj
;
if
(
name
==
null
)
{
if
(
other
.
name
!=
null
)
return
false
;
}
else
if
(!
name
.
equals
(
other
.
name
))
return
false
;
return
true
;
return
other
.
name
==
null
;
}
else
return
name
.
equals
(
other
.
name
);
}
@Override
...
...
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