Skip to content

Commit 66db101

Browse files
committed
license headers added
1 parent f1e892d commit 66db101

File tree

7 files changed

+38
-46
lines changed

7 files changed

+38
-46
lines changed

src/test/java/org/apache/ibatis/submitted/parent_childs/Child.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2009-2013 The MyBatis Team
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+
* http://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.parent_childs;
217

318
public class Child {

src/test/java/org/apache/ibatis/submitted/parent_childs/CreateDB.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- Copyright 2009-2012 The MyBatis Team
2+
-- Copyright 2009-2013 The MyBatis Team
33
--
44
-- Licensed under the Apache License, Version 2.0 (the "License");
55
-- you may not use this file except in compliance with the License.

src/test/java/org/apache/ibatis/submitted/parent_childs/Mapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2012 The MyBatis Team
2+
* Copyright 2009-2013 The MyBatis Team
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/test/java/org/apache/ibatis/submitted/parent_childs/Parent.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2009-2013 The MyBatis Team
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+
* http://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.parent_childs;
217

318
import java.util.List;

src/test/java/org/apache/ibatis/submitted/parent_childs/ParentChildTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2012 The MyBatis Team
2+
* Copyright 2009-2013 The MyBatis Team
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -57,12 +57,12 @@ public void shouldGetAUser() {
5757
Mapper mapper = sqlSession.getMapper(Mapper.class);
5858
List<Parent> parents = mapper.getParents();
5959
Assert.assertEquals(2, parents.size());
60-
Parent fistParent = parents.get(0);
61-
Assert.assertEquals("Jose", fistParent.getName());
62-
Assert.assertEquals(2, fistParent.getChilds().size());
60+
Parent firstParent = parents.get(0);
61+
Assert.assertEquals("Jose", firstParent.getName());
62+
Assert.assertEquals(2, firstParent.getChilds().size());
6363
Parent secondParent = parents.get(1);
6464
Assert.assertEquals("Juan", secondParent.getName());
65-
Assert.assertEquals(0, secondParent.getChilds().size());
65+
Assert.assertEquals(0, secondParent.getChilds().size()); // note an empty list is inyected
6666
} finally {
6767
sqlSession.close();
6868
}

src/test/java/org/apache/ibatis/submitted/parent_childs/User.java

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/test/java/org/apache/ibatis/submitted/parent_childs/mybatis-config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<!--
3-
Copyright 2009-2012 The MyBatis Team
3+
Copyright 2009-2013 The MyBatis Team
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)