Skip to content

Commit ccc2071

Browse files
committed
Cleanup by maven plugins
1 parent 685bafb commit ccc2071

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

src/test/java/org/apache/ibatis/submitted/collection_in_constructor/CollectionInConstructorTest.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,12 @@ void testImmutableNestedObjects() {
171171
Container container = mapper.getAContainer();
172172
Assertions
173173
.assertEquals(
174-
Arrays
175-
.asList(
176-
new Store(1, "Store 1",
177-
Arrays.asList(new Aisle(101, "Aisle 101"), new Aisle(102, "Aisle 102"),
178-
new Aisle(103, "Aisle 103"))),
179-
new Store(2, "Store 2", Collections.emptyList()),
180-
new Store(3, "Store 3", Arrays.asList(new Aisle(104, "Aisle 104"), new Aisle(105, "Aisle 105")))),
174+
Arrays.asList(
175+
new Store(1, "Store 1",
176+
Arrays.asList(new Aisle(101, "Aisle 101"), new Aisle(102, "Aisle 102"),
177+
new Aisle(103, "Aisle 103"))),
178+
new Store(2, "Store 2", Collections.emptyList()),
179+
new Store(3, "Store 3", Arrays.asList(new Aisle(104, "Aisle 104"), new Aisle(105, "Aisle 105")))),
181180
container.getStores());
182181
}
183182
}

src/test/java/org/apache/ibatis/submitted/collection_injection/immutable/HousePortfolio.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2009-2024 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package org.apache.ibatis.submitted.collection_injection.immutable;
217

318
import java.util.List;

0 commit comments

Comments
 (0)