Skip to content

Commit 445168d

Browse files
committed
[ci] More checkstyle cleanup
1 parent 33d0793 commit 445168d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/java/org/apache/ibatis/builder/BaseBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2009-2018 the original author or authors.
2+
* Copyright 2009-2019 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.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ private void objectWrapperFactoryElement(XNode context) throws Exception {
212212

213213
private void reflectorFactoryElement(XNode context) throws Exception {
214214
if (context != null) {
215-
String type = context.getStringAttribute("type");
216-
ReflectorFactory factory = (ReflectorFactory) resolveClass(type).newInstance();
217-
configuration.setReflectorFactory(factory);
215+
String type = context.getStringAttribute("type");
216+
ReflectorFactory factory = (ReflectorFactory) resolveClass(type).newInstance();
217+
configuration.setReflectorFactory(factory);
218218
}
219219
}
220220

@@ -294,7 +294,7 @@ private void databaseIdProviderElement(XNode context) throws Exception {
294294
String type = context.getStringAttribute("type");
295295
// awful patch to keep backward compatibility
296296
if ("VENDOR".equals(type)) {
297-
type = "DB_VENDOR";
297+
type = "DB_VENDOR";
298298
}
299299
Properties properties = context.getChildrenAsProperties();
300300
databaseIdProvider = (DatabaseIdProvider) resolveClass(type).newInstance();

0 commit comments

Comments
 (0)