Skip to content

Commit d337210

Browse files
committed
Fix styles
1 parent 9542458 commit d337210

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

core/esmf-aspect-model-document-generators/src/main/java/org/eclipse/esmf/aspectmodel/generator/openapi/AspectModelPagingGenerator.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ class AspectModelPagingGenerator {
5454
/**
5555
* Sets the paging properties for an aspect to an given ObjectNode.
5656
*
57-
* @param aspect The related aspect for the paging properties.
57+
* @param aspect The related aspect for the paging properties.
5858
* @param selectedPagingOption The selected paging option.
59-
* @param objectNode The ObjectNode where the properties shall be inserted.
59+
* @param objectNode The ObjectNode where the properties shall be inserted.
6060
* @throws IOException In case the root property file can't be loaded.
6161
*/
6262
public void setPagingProperties( final Aspect aspect, final PagingOption selectedPagingOption, final ObjectNode objectNode )
@@ -79,9 +79,9 @@ public void setPagingProperties( final Aspect aspect, final PagingOption selecte
7979
/**
8080
* Sets the paging schema for an aspect to an given ObjectNode.
8181
*
82-
* @param aspect The related aspect for the paging schema.
82+
* @param aspect The related aspect for the paging schema.
8383
* @param selectedPagingOption The selected paging option.
84-
* @param schemaNode The ObjectNode where the schema shall be inserted.
84+
* @param schemaNode The ObjectNode where the schema shall be inserted.
8585
* @throws IOException In case the root schema file can't be loaded.
8686
*/
8787
public void setSchemaInformationForPaging( final Aspect aspect, final ObjectNode schemaNode,

core/esmf-aspect-model-document-generators/src/test/java/org/eclipse/esmf/aspectmodel/generator/openapi/AspectModelOpenApiGeneratorTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -520,11 +520,11 @@ void testAspectWithOperationWithSeeAttribute() {
520520
final SwaggerParseResult result = new OpenAPIParser().readContents( json.toString(), null, null );
521521
final OpenAPI openApi = result.getOpenAPI();
522522
assertThat(
523-
((Schema) openApi.getComponents().getSchemas().get( "testOperation" ).getAllOf()
524-
.get( 1 )).getProperties() ).doesNotContainKey(
523+
( (Schema) openApi.getComponents().getSchemas().get( "testOperation" ).getAllOf()
524+
.get( 1 ) ).getProperties() ).doesNotContainKey(
525525
"params" );
526-
assertThat( ((Schema) openApi.getComponents().getSchemas().get( "testOperationTwo" ).getAllOf()
527-
.get( 1 )).getProperties() ).doesNotContainKey( "params" );
526+
assertThat( ( (Schema) openApi.getComponents().getSchemas().get( "testOperationTwo" ).getAllOf()
527+
.get( 1 ) ).getProperties() ).doesNotContainKey( "params" );
528528
}
529529

530530
@Test

0 commit comments

Comments
 (0)