mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-08 08:30:56 +00:00
Fixed indentation
This commit is contained in:
parent
6b59dd0899
commit
68c6954615
@ -154,15 +154,15 @@ public class CodeGenMojo extends AbstractMojo {
|
||||
}
|
||||
|
||||
if (configOptions != null) {
|
||||
for(Map.Entry<?, ?> configEntry : configOptions.entrySet()) {
|
||||
config.additionalProperties().put(configEntry.getKey().toString(), configEntry.getValue());
|
||||
}
|
||||
for(Map.Entry<?, ?> configEntry : configOptions.entrySet()) {
|
||||
config.additionalProperties().put(configEntry.getKey().toString(), configEntry.getValue());
|
||||
}
|
||||
}
|
||||
|
||||
if (null != configurationFile) {
|
||||
Config genConfig = ConfigParser.read(configurationFile);
|
||||
if (null != genConfig) {
|
||||
config.additionalProperties().putAll(genConfig.getOptions());
|
||||
config.additionalProperties().putAll(genConfig.getOptions());
|
||||
} else {
|
||||
throw new RuntimeException("Unable to read configuration file");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user