Skip to content

Commit ab5adf8

Browse files
committed
[ci] Formatting
1 parent 9877de2 commit ab5adf8

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

src/main/java/org/apache/ibatis/annotations/package-info.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@
1717
* Contains all the annotation that are used in mapper interfaces.
1818
*/
1919
package org.apache.ibatis.annotations;
20-

src/main/java/org/apache/ibatis/builder/annotation/ProviderSqlSource.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,20 @@ public class ProviderSqlSource implements SqlSource {
4646
private final Integer providerContextIndex;
4747

4848
/**
49-
* @deprecated Since 3.5.3, Please use the {@link #ProviderSqlSource(Configuration, Annotation, Class, Method)} instead of this.
5049
* This constructor will remove at a future version.
50+
*
51+
* @deprecated Since 3.5.3, Please use the {@link #ProviderSqlSource(Configuration, Annotation, Class, Method)} instead of this.
5152
*/
5253
@Deprecated
5354
public ProviderSqlSource(Configuration configuration, Object provider) {
5455
this(configuration, provider, null, null);
5556
}
5657

5758
/**
59+
* This constructor will remove at a future version.
60+
*
5861
* @since 3.4.5
5962
* @deprecated Since 3.5.3, Please use the {@link #ProviderSqlSource(Configuration, Annotation, Class, Method)} instead of this.
60-
* This constructor will remove at a future version.
6163
*/
6264
@Deprecated
6365
public ProviderSqlSource(Configuration configuration, Object provider, Class<?> mapperType, Method mapperMethod) {
@@ -138,7 +140,7 @@ private SqlSource createSqlSource(Object parameterObject) {
138140
if (parameterObject instanceof Map) {
139141
int bindParameterCount = providerMethodParameterTypes.length - (providerContext == null ? 0 : 1);
140142
if (bindParameterCount == 1 &&
141-
(providerMethodParameterTypes[Integer.valueOf(0).equals(providerContextIndex) ? 1 : 0].isAssignableFrom(parameterObject.getClass()))) {
143+
(providerMethodParameterTypes[Integer.valueOf(0).equals(providerContextIndex) ? 1 : 0].isAssignableFrom(parameterObject.getClass()))) {
142144
sql = invokeProviderMethod(extractProviderMethodArguments(parameterObject));
143145
} else {
144146
@SuppressWarnings("unchecked")

src/main/java/org/apache/ibatis/builder/xml/XMLMapperBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ private ResultMapping buildResultMappingFromContext(XNode context, Class<?> resu
379379
String jdbcType = context.getStringAttribute("jdbcType");
380380
String nestedSelect = context.getStringAttribute("select");
381381
String nestedResultMap = context.getStringAttribute("resultMap", () ->
382-
processNestedResultMappings(context, Collections.emptyList(), resultType));
382+
processNestedResultMappings(context, Collections.emptyList(), resultType));
383383
String notNullColumn = context.getStringAttribute("notNullColumn");
384384
String columnPrefix = context.getStringAttribute("columnPrefix");
385385
String typeHandler = context.getStringAttribute("typeHandler");

src/main/java/org/apache/ibatis/executor/ErrorContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ private ErrorContext() {
3535
}
3636

3737
public static ErrorContext instance() {
38-
return LOCAL.get();
38+
return LOCAL.get();
3939
}
4040

4141
public ErrorContext store() {

src/main/java/org/apache/ibatis/io/Resources.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ public static void setDefaultClassLoader(ClassLoader defaultClassLoader) {
6969
* @throws java.io.IOException If the resource cannot be found or read
7070
*/
7171
public static URL getResourceURL(String resource) throws IOException {
72-
// issue #625
73-
return getResourceURL(null, resource);
72+
// issue #625
73+
return getResourceURL(null, resource);
7474
}
7575

7676
/**

src/main/java/org/apache/ibatis/io/VFS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public static void addImplClass(Class<? extends VFS> clazz) {
102102
protected static Class<?> getClass(String className) {
103103
try {
104104
return Thread.currentThread().getContextClassLoader().loadClass(className);
105-
// return ReflectUtil.findClass(className);
105+
// return ReflectUtil.findClass(className);
106106
} catch (ClassNotFoundException e) {
107107
if (log.isDebugEnabled()) {
108108
log.debug("Class not found: " + className);

0 commit comments

Comments
 (0)