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
bd3556a0
Commit
bd3556a0
authored
Feb 05, 2026
by
Luna Riegel
Browse files
Refactor: Remove redundant function
parent
6e9e9f7d
Changes
2
Show whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/parser/CityGmlParser.java
View file @
bd3556a0
...
@@ -300,12 +300,6 @@ public class CityGmlParser {
...
@@ -300,12 +300,6 @@ public class CityGmlParser {
}
}
}
}
public
static
void
streamCityGml
(
String
file
,
ParserConfiguration
config
,
CityGmlConsumer
cityObjectConsumer
,
String
outputFile
)
throws
CityGmlParseException
{
Path
f
=
Paths
.
get
(
file
);
streamCityGml
(
f
,
config
,
null
,
cityObjectConsumer
,
outputFile
);
}
public
static
void
streamCityGml
(
File
file
,
ParserConfiguration
parserConfig
,
CityGmlConsumer
cityObjectConsumer
,
public
static
void
streamCityGml
(
File
file
,
ParserConfiguration
parserConfig
,
CityGmlConsumer
cityObjectConsumer
,
String
outputFile
)
throws
CityGmlParseException
{
String
outputFile
)
throws
CityGmlParseException
{
streamCityGml
(
file
.
toPath
(),
parserConfig
,
null
,
cityObjectConsumer
,
outputFile
);
streamCityGml
(
file
.
toPath
(),
parserConfig
,
null
,
cityObjectConsumer
,
outputFile
);
...
...
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/check/Checker.java
View file @
bd3556a0
...
@@ -932,7 +932,7 @@ public class Checker {
...
@@ -932,7 +932,7 @@ public class Checker {
SvrlContentHandler
handler
=
executeSchematronValidationIfAvailable
(
config
,
inputFile
);
SvrlContentHandler
handler
=
executeSchematronValidationIfAvailable
(
config
,
inputFile
);
CityGmlConsumer
con
=
new
StreamCityGmlConsumer
(
c
,
xmlReporter
,
pdfReporter
,
handler
,
config
,
l
);
CityGmlConsumer
con
=
new
StreamCityGmlConsumer
(
c
,
xmlReporter
,
pdfReporter
,
handler
,
config
,
l
);
// parse and validate
// parse and validate
CityGmlParser
.
streamCityGml
(
inputFile
.
getAbsolutePath
()
,
config
.
getParserConfiguration
(),
con
,
outputFile
);
CityGmlParser
.
streamCityGml
(
inputFile
,
config
.
getParserConfiguration
(),
con
,
outputFile
);
// write reports if available
// write reports if available
writeReport
(
xmlReporter
);
writeReport
(
xmlReporter
);
...
...
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