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
c862f733
Commit
c862f733
authored
Nov 11, 2025
by
Luna Riegel
Browse files
Style: Remove comments
parent
6706f115
Changes
1
Show whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/database/FeatureCache.java
View file @
c862f733
...
@@ -71,8 +71,7 @@ public class FeatureCache implements CityObjectCache{
...
@@ -71,8 +71,7 @@ public class FeatureCache implements CityObjectCache{
logger
.
trace
(
"Entered batch Marshaller"
);
logger
.
trace
(
"Entered batch Marshaller"
);
boolean
success
=
handler
.
tryMarshallCityObjectMap
(
cacheContent
);
boolean
success
=
handler
.
tryMarshallCityObjectMap
(
cacheContent
);
if
(!
success
)
{
if
(!
success
)
{
logger
.
trace
(
"Batch marshalling failed, falling back to one-by-one marshalling"
);
logger
.
trace
(
"Batch marshalling in Thread failed, falling back to one-by-one marshalling"
);
// Batch marshalling failed, marshall them one-by-one
for
(
Map
.
Entry
<
GmlId
,
CityObject
>
entry
:
cacheContent
.
entrySet
())
{
for
(
Map
.
Entry
<
GmlId
,
CityObject
>
entry
:
cacheContent
.
entrySet
())
{
handler
.
marshallCityObject
(
entry
.
getValue
());
handler
.
marshallCityObject
(
entry
.
getValue
());
}
}
...
@@ -131,7 +130,6 @@ public class FeatureCache implements CityObjectCache{
...
@@ -131,7 +130,6 @@ public class FeatureCache implements CityObjectCache{
boolean
success
=
handler
.
tryMarshallCityObjectMap
(
cacheContent
);
boolean
success
=
handler
.
tryMarshallCityObjectMap
(
cacheContent
);
if
(!
success
)
{
if
(!
success
)
{
logger
.
trace
(
"Batch marshalling failed, falling back to one-by-one marshalling"
);
logger
.
trace
(
"Batch marshalling failed, falling back to one-by-one marshalling"
);
// Batch marshalling failed, marshall them one-by-one
for
(
Map
.
Entry
<
GmlId
,
CityObject
>
entry
:
cacheContent
.
entrySet
())
{
for
(
Map
.
Entry
<
GmlId
,
CityObject
>
entry
:
cacheContent
.
entrySet
())
{
handler
.
marshallCityObject
(
entry
.
getValue
());
handler
.
marshallCityObject
(
entry
.
getValue
());
}
}
...
...
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