Skip to content

Commit 5d995de

Browse files
authored
Merge pull request #3361 from hazendaz/pom-cleanup
Test cleanup
2 parents b37c236 + c0b9b26 commit 5d995de

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/test/java/org/apache/ibatis/binding/BoundAuthorMapper.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ public interface BoundAuthorMapper {
109109
" USERNAME as AUTHOR_USERNAME,",
110110
" PASSWORD as AUTHOR_PASSWORD,",
111111
" EMAIL as AUTHOR_EMAIL,",
112-
" BIO as AUTHOR_BIO,"
113-
+ " FAVOURITE_SECTION as AUTHOR_SECTION",
112+
" BIO as AUTHOR_BIO,",
113+
" FAVOURITE_SECTION as AUTHOR_SECTION",
114114
"FROM AUTHOR WHERE ID = #{id}"})
115115
// @formatter:on
116116
Author selectAuthorConstructor(int id);
@@ -130,8 +130,8 @@ public interface BoundAuthorMapper {
130130
" USERNAME as AUTHOR_USERNAME,",
131131
" PASSWORD as AUTHOR_PASSWORD,",
132132
" EMAIL as AUTHOR_EMAIL,",
133-
" BIO as AUTHOR_BIO,"
134-
+ " FAVOURITE_SECTION as AUTHOR_SECTION",
133+
" BIO as AUTHOR_BIO,",
134+
" FAVOURITE_SECTION as AUTHOR_SECTION",
135135
"FROM AUTHOR WHERE ID = #{id}"})
136136
// @formatter:on
137137
Author selectAuthorMapToConstructorUsingRepeatable(int id);
@@ -169,8 +169,8 @@ public interface BoundAuthorMapper {
169169
" USERNAME as AUTHOR_USERNAME,",
170170
" PASSWORD as AUTHOR_PASSWORD,",
171171
" EMAIL as AUTHOR_EMAIL,",
172-
" BIO as AUTHOR_BIO,"
173-
+ " FAVOURITE_SECTION as AUTHOR_SECTION",
172+
" BIO as AUTHOR_BIO,",
173+
" FAVOURITE_SECTION as AUTHOR_SECTION",
174174
"FROM AUTHOR WHERE ID = #{id}"})
175175
// @formatter:on
176176
Author selectAuthorUsingBothArgAndConstructorArgs(int id);

src/test/java/org/apache/ibatis/builder/ExampleObjectFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2023 the original author or authors.
2+
* Copyright 2009-2024 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.
@@ -26,12 +26,12 @@ public class ExampleObjectFactory extends DefaultObjectFactory {
2626

2727
@Override
2828
public <T> T create(Class<T> type) {
29-
return super.<T>create(type);
29+
return super.create(type);
3030
}
3131

3232
@Override
3333
public <T> T create(Class<T> type, List<Class<?>> constructorArgTypes, List<Object> constructorArgs) {
34-
return super.<T>create(type, constructorArgTypes, constructorArgs);
34+
return super.create(type, constructorArgTypes, constructorArgs);
3535
}
3636

3737
@Override

src/test/java/org/apache/ibatis/builder/xml/dynamic/ExpressionEvaluatorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2023 the original author or authors.
2+
* Copyright 2009-2024 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.
@@ -76,7 +76,7 @@ void shouldReturnFalseIfZero() {
7676
void shouldReturnFalseIfZeroWithScale() {
7777
class Bean {
7878
@SuppressWarnings("unused")
79-
public double d = 0.0d;
79+
public double d = 0.0D;
8080
}
8181
assertFalse(evaluator.evaluateBoolean("d", new Bean()));
8282
}

0 commit comments

Comments
 (0)