Skip to content

Commit 0183bad

Browse files
committed
[ci] Fix end of line markers at end of file per git standards (ie empty last line)
1 parent 3505cc1 commit 0183bad

File tree

90 files changed

+174
-174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+174
-174
lines changed

Diff for: .gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Set default behaviour, in case users don't have core.autocrlf set.
2-
* text=auto
2+
* text=auto

Diff for: src/main/java/org/apache/ibatis/builder/CacheRefResolver.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -32,4 +32,4 @@ public CacheRefResolver(MapperBuilderAssistant assistant, String cacheRefNamespa
3232
public Cache resolveCacheRef() {
3333
return assistant.useCacheRef(cacheRefNamespace);
3434
}
35-
}
35+
}

Diff for: src/main/java/org/apache/ibatis/builder/annotation/MethodResolver.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -33,4 +33,4 @@ public void resolve() {
3333
annotationBuilder.parseStatement(method);
3434
}
3535

36-
}
36+
}

Diff for: src/main/java/org/apache/ibatis/reflection/ReflectorFactory.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -22,4 +22,4 @@ public interface ReflectorFactory {
2222
void setClassCacheEnabled(boolean classCacheEnabled);
2323

2424
Reflector findForClass(Class<?> type);
25-
}
25+
}

Diff for: src/main/java/org/apache/ibatis/scripting/xmltags/StaticTextSqlNode.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -31,4 +31,4 @@ public boolean apply(DynamicContext context) {
3131
return true;
3232
}
3333

34-
}
34+
}

Diff for: src/main/java/org/apache/ibatis/type/BlobTypeHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ public byte[] getNullableResult(CallableStatement cs, int columnIndex) throws SQ
6363
}
6464
return returnValue;
6565
}
66-
}
66+
}

Diff for: src/main/java/org/apache/ibatis/type/EnumTypeHandler.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -60,4 +60,4 @@ public E getNullableResult(CallableStatement cs, int columnIndex) throws SQLExce
6060
String s = cs.getString(columnIndex);
6161
return s == null ? null : Enum.valueOf(type, s);
6262
}
63-
}
63+
}

Diff for: src/main/java/org/apache/ibatis/type/NClobTypeHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ private String toString(Clob clob) throws SQLException {
5656
return clob == null ? null : clob.getSubString(1, (int) clob.length());
5757
}
5858

59-
}
59+
}

Diff for: src/main/resources/org/apache/ibatis/builder/xml/mybatis-3-config.dtd

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<!--
33
4-
Copyright 2009-2022 the original author or authors.
4+
Copyright 2009-2023 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -114,4 +114,4 @@ class CDATA #IMPLIED
114114
<!ELEMENT package EMPTY>
115115
<!ATTLIST package
116116
name CDATA #REQUIRED
117-
>
117+
>

Diff for: src/site/site.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2022 the original author or authors.
4+
Copyright 2009-2023 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -53,4 +53,4 @@
5353

5454
<menu ref="reports"/>
5555
</body>
56-
</project>
56+
</project>

Diff for: src/site/site_es.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2022 the original author or authors.
4+
Copyright 2009-2023 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -55,4 +55,4 @@
5555

5656
<menu ref="reports"/>
5757
</body>
58-
</project>
58+
</project>

Diff for: src/site/site_ja.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2022 the original author or authors.
4+
Copyright 2009-2023 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -56,4 +56,4 @@
5656

5757
<menu ref="reports"/>
5858
</body>
59-
</project>
59+
</project>

Diff for: src/site/site_ko.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2022 the original author or authors.
4+
Copyright 2009-2023 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -53,4 +53,4 @@
5353
</menu>
5454
<menu ref="reports"/>
5555
</body>
56-
</project>
56+
</project>

Diff for: src/site/site_zh.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2022 the original author or authors.
4+
Copyright 2009-2023 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -53,4 +53,4 @@
5353

5454
<menu ref="reports"/>
5555
</body>
56-
</project>
56+
</project>

Diff for: src/test/java/org/apache/ibatis/binding/WrongMapperTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -29,4 +29,4 @@ void shouldFailForBothOneAndMany() {
2929
});
3030
}
3131

32-
}
32+
}

Diff for: src/test/java/org/apache/ibatis/domain/blog/Author.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,4 @@ public int hashCode() {
132132
public String toString() {
133133
return "Author : " + id + " : " + username + " : " + email;
134134
}
135-
}
135+
}

Diff for: src/test/java/org/apache/ibatis/executor/CachingBatchExecutorTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -29,4 +29,4 @@ protected Executor createExecutor(Transaction transaction) {
2929
return new CachingExecutor(new BatchExecutor(config, transaction));
3030
}
3131

32-
}
32+
}

Diff for: src/test/java/org/apache/ibatis/executor/CachingReuseExecutorTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -29,4 +29,4 @@ protected Executor createExecutor(Transaction transaction) {
2929
return new CachingExecutor(new ReuseExecutor(config, transaction));
3030
}
3131

32-
}
32+
}

Diff for: src/test/java/org/apache/ibatis/submitted/awful_table/AwfulTable.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,4 @@ public void setActive(boolean active) {
143143
this.active = active;
144144
}
145145

146-
}
146+
}

Diff for: src/test/java/org/apache/ibatis/submitted/awful_table/AwfulTableMapper.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -28,4 +28,4 @@ public interface AwfulTableMapper {
2828
int updateByPrimaryKeySelective(AwfulTable record);
2929

3030
int updateByPrimaryKey(AwfulTable record);
31-
}
31+
}

Diff for: src/test/java/org/apache/ibatis/submitted/bringrags/SimpleChildObject.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -32,4 +32,4 @@ public SimpleObject getSimpleObject() {
3232
return parentSimpleObject;
3333
}
3434

35-
}
35+
}

Diff for: src/test/java/org/apache/ibatis/submitted/multidb/MultiDbMapper.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -27,4 +27,4 @@ public interface MultiDbMapper {
2727
void insert(User user);
2828

2929
void insert2(User user);
30-
}
30+
}

Diff for: src/test/java/org/apache/ibatis/submitted/multidb/User.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -40,4 +40,4 @@ public String getName() {
4040
public void setName(String name) {
4141
this.name = name;
4242
}
43-
}
43+
}

Diff for: src/test/java/org/apache/ibatis/submitted/permissions/Resource.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -37,4 +37,4 @@ public List<Principal> getPrincipals() {
3737
public void setPrincipals(List<Principal> principals) {
3838
this.Principals = principals;
3939
}
40-
}
40+
}

Diff for: src/test/java/org/apache/ibatis/submitted/resultmapwithassociationstest/Address.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ public int getId() {
2828
public void setId(final int id) {
2929
this.id = id;
3030
}
31-
}
31+
}

Diff for: src/test/java/org/apache/ibatis/submitted/resultmapwithassociationstest/Mapper.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -19,4 +19,4 @@
1919

2020
public interface Mapper {
2121
List<Person> findAll();
22-
}
22+
}

Diff for: src/test/java/org/apache/ibatis/submitted/resultmapwithassociationstest/Person.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -36,4 +36,4 @@ public List<Address> getAddresses() {
3636
public void setAddresses(final List<Address> addresses) {
3737
this.addresses = addresses;
3838
}
39-
}
39+
}

Diff for: src/test/java/org/apache/ibatis/type/ByteArrayTypeHandlerTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -72,4 +72,4 @@ public void shouldGetResultNullFromCallableStatement() throws Exception {
7272
// Unnecessary
7373
}
7474

75-
}
75+
}

Diff for: src/test/java/org/apache/ibatis/type/ObjectTypeHandlerTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -75,4 +75,4 @@ public void shouldGetResultNullFromCallableStatement() throws Exception {
7575
assertNull(TYPE_HANDLER.getResult(cs, 1));
7676
}
7777

78-
}
78+
}

Diff for: src/test/java/org/apache/ibatis/type/StringTypeHandlerTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2023 the original author or authors.
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.
@@ -72,4 +72,4 @@ public void shouldGetResultNullFromCallableStatement() throws Exception {
7272
// Unnecessary
7373
}
7474

75-
}
75+
}

0 commit comments

Comments
 (0)