Skip to content

Commit 129b204

Browse files
feat(QTDI-1291): formatting
1 parent 8c24a57 commit 129b204

1 file changed

Lines changed: 36 additions & 37 deletions

File tree

component-server-parent/component-server/src/test/java/org/talend/sdk/component/server/front/ActionResourceImplTest.java

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/**
22
* Copyright (C) 2006-2026 Talend Inc. - www.talend.com
3-
* <p>
3+
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7-
* <p>
7+
*
88
* http://www.apache.org/licenses/LICENSE-2.0
9-
* <p>
9+
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -244,7 +244,6 @@ void emptyFamily() {
244244
assertEquals("Family can't be null", errorPayload.getDescription());
245245
}
246246

247-
248247
@Test
249248
void emptyActionMeta() {
250249
final String actionName = "notExistedAction";
@@ -292,37 +291,37 @@ void checkSchemaSerialization() {
292291
.post(Entity.entity(emptyMap(), APPLICATION_JSON_TYPE), String.class);
293292
final String expected =
294293
"""
295-
{
296-
"entries":[
297-
{
298-
"elementSchema":{
299-
"entries":[
300-
],
301-
"metadata":[
302-
],
303-
"props":{
304-
305-
},
306-
"type":"STRING"
307-
},
308-
"errorCapable":false,
309-
"metadata":false,
310-
"name":"array",
311-
"nullable":false,
312-
"props":{
313-
314-
},
315-
"type":"ARRAY",
316-
"valid":true
317-
}
318-
],
319-
"metadata":[
320-
],
321-
"props":{
322-
"talend.fields.order":"array"
323-
},
324-
"type":"RECORD"
325-
}""";
294+
{
295+
"entries":[
296+
{
297+
"elementSchema":{
298+
"entries":[
299+
],
300+
"metadata":[
301+
],
302+
"props":{
303+
304+
},
305+
"type":"STRING"
306+
},
307+
"errorCapable":false,
308+
"metadata":false,
309+
"name":"array",
310+
"nullable":false,
311+
"props":{
312+
313+
},
314+
"type":"ARRAY",
315+
"valid":true
316+
}
317+
],
318+
"metadata":[
319+
],
320+
"props":{
321+
"talend.fields.order":"array"
322+
},
323+
"type":"RECORD"
324+
}""";
326325
assertEquals(expected, schema);
327326
}
328327

@@ -366,7 +365,7 @@ void checkDiscoverProcessorSchema() {
366365

367366
@Disabled
368367
@ParameterizedTest
369-
@ValueSource(strings = {"en", "fr"})
368+
@ValueSource(strings = { "en", "fr" })
370369
void i18nParameterized(final String lang) {
371370
final Response error = base
372371
.path("action/execute")
@@ -415,7 +414,7 @@ void checkLangIsAvailable() {
415414
}
416415

417416
private void assertAction(final String component, final String type, final String name, final int params,
418-
final ActionItem value) {
417+
final ActionItem value) {
419418
assertEquals(component, value.getComponent());
420419
assertEquals(type, value.getType());
421420
assertEquals(name, value.getName());

0 commit comments

Comments
 (0)