Skip to content

Commit 4e2caa3

Browse files
formatting
1 parent 11e5eed commit 4e2caa3

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

datamodel/openapi/openapi-generator/src/main/java/com/sap/cloud/sdk/datamodel/openapi/generator/GenerationConfigurationConverter.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class GenerationConfigurationConverter
4747
static final String COPYRIGHT_PROPERTY_KEY = "copyrightHeader";
4848

4949
static final String SAP_COPYRIGHT_HEADER =
50-
"Copyright (c) " + Year.now() + " SAP SE or an SAP affiliate company. All rights reserved.";
50+
"Copyright (c) " + Year.now() + " SAP SE or an SAP affiliate company. " + "All rights reserved.";
5151
static final String TEMPLATE_DIRECTORY = Paths.get("openapi-generator").resolve("mustache-templates").toString();
5252
static final String LIBRARY_NAME = JavaClientCodegen.RESTTEMPLATE;
5353
static final String SUPPORT_URL_QUERY = "supportUrlQuery";
@@ -191,7 +191,7 @@ private static void simplifyComposedSchemas( @Nonnull final OpenAPI openAPI )
191191
/**
192192
* Identifies wrapper schemas that have only oneOf/anyOf with a single reference.
193193
*/
194-
@SuppressWarnings( { "rawtypes"} )
194+
@SuppressWarnings( { "rawtypes" } )
195195
private static Map<String, String> identifyWrapperSchemas( @Nonnull final Map<String, Schema> schemas )
196196
{
197197
final Map<String, String> replacements = new HashMap<>();
@@ -366,7 +366,8 @@ private static Map<String, Object> getAdditionalProperties( @Nonnull final Gener
366366
config.getAdditionalProperties().forEach(( k, v ) -> {
367367
if( result.containsKey(k) ) {
368368
final var msg =
369-
"Replacing default value \"{}\" for additional property \"{}\" with \"{}\" from user provided configuration.";
369+
"Replacing default value \"{}\" for additional property \"{}\" with \"{}\" from user "
370+
+ "provided configuration.";
370371
log.info(msg, result.get(k), k, v);
371372
}
372373
result.put(k, v);

0 commit comments

Comments
 (0)