diff --git a/.gitattributes b/.gitattributes index 16dec8d22f4..ceae4debe88 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,2 @@ # Set default behaviour, in case users don't have core.autocrlf set. -* text=auto \ No newline at end of file +* text=auto diff --git a/src/main/java/org/apache/ibatis/builder/CacheRefResolver.java b/src/main/java/org/apache/ibatis/builder/CacheRefResolver.java index caa51d2b204..d8bf480c36d 100644 --- a/src/main/java/org/apache/ibatis/builder/CacheRefResolver.java +++ b/src/main/java/org/apache/ibatis/builder/CacheRefResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2009-2022 the original author or authors. + * Copyright 2009-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,4 +32,4 @@ public CacheRefResolver(MapperBuilderAssistant assistant, String cacheRefNamespa public Cache resolveCacheRef() { return assistant.useCacheRef(cacheRefNamespace); } -} \ No newline at end of file +} diff --git a/src/main/java/org/apache/ibatis/builder/annotation/MethodResolver.java b/src/main/java/org/apache/ibatis/builder/annotation/MethodResolver.java index 2fca8937edc..c95357f5674 100644 --- a/src/main/java/org/apache/ibatis/builder/annotation/MethodResolver.java +++ b/src/main/java/org/apache/ibatis/builder/annotation/MethodResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2009-2022 the original author or authors. + * Copyright 2009-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,4 +33,4 @@ public void resolve() { annotationBuilder.parseStatement(method); } -} \ No newline at end of file +} diff --git a/src/main/java/org/apache/ibatis/reflection/ReflectorFactory.java b/src/main/java/org/apache/ibatis/reflection/ReflectorFactory.java index 33e4b108f1c..18eeac3be78 100644 --- a/src/main/java/org/apache/ibatis/reflection/ReflectorFactory.java +++ b/src/main/java/org/apache/ibatis/reflection/ReflectorFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2009-2022 the original author or authors. + * Copyright 2009-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,4 +22,4 @@ public interface ReflectorFactory { void setClassCacheEnabled(boolean classCacheEnabled); Reflector findForClass(Class type); -} \ No newline at end of file +} diff --git a/src/main/java/org/apache/ibatis/scripting/xmltags/StaticTextSqlNode.java b/src/main/java/org/apache/ibatis/scripting/xmltags/StaticTextSqlNode.java index 9a938d5d0f2..896d837f76d 100644 --- a/src/main/java/org/apache/ibatis/scripting/xmltags/StaticTextSqlNode.java +++ b/src/main/java/org/apache/ibatis/scripting/xmltags/StaticTextSqlNode.java @@ -1,5 +1,5 @@ /* - * Copyright 2009-2022 the original author or authors. + * Copyright 2009-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,4 +31,4 @@ public boolean apply(DynamicContext context) { return true; } -} \ No newline at end of file +} diff --git a/src/main/java/org/apache/ibatis/type/BlobTypeHandler.java b/src/main/java/org/apache/ibatis/type/BlobTypeHandler.java index ddbda3ed406..878ca167935 100644 --- a/src/main/java/org/apache/ibatis/type/BlobTypeHandler.java +++ b/src/main/java/org/apache/ibatis/type/BlobTypeHandler.java @@ -63,4 +63,4 @@ public byte[] getNullableResult(CallableStatement cs, int columnIndex) throws SQ } return returnValue; } -} \ No newline at end of file +} diff --git a/src/main/java/org/apache/ibatis/type/EnumTypeHandler.java b/src/main/java/org/apache/ibatis/type/EnumTypeHandler.java index 6355f7f133e..1af624c9069 100644 --- a/src/main/java/org/apache/ibatis/type/EnumTypeHandler.java +++ b/src/main/java/org/apache/ibatis/type/EnumTypeHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2009-2022 the original author or authors. + * Copyright 2009-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * 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 String s = cs.getString(columnIndex); return s == null ? null : Enum.valueOf(type, s); } -} \ No newline at end of file +} diff --git a/src/main/java/org/apache/ibatis/type/NClobTypeHandler.java b/src/main/java/org/apache/ibatis/type/NClobTypeHandler.java index 710f02c5d9a..ffa4ce7ab4b 100644 --- a/src/main/java/org/apache/ibatis/type/NClobTypeHandler.java +++ b/src/main/java/org/apache/ibatis/type/NClobTypeHandler.java @@ -56,4 +56,4 @@ private String toString(Clob clob) throws SQLException { return clob == null ? null : clob.getSubString(1, (int) clob.length()); } -} \ No newline at end of file +} diff --git a/src/main/resources/org/apache/ibatis/builder/xml/mybatis-3-config.dtd b/src/main/resources/org/apache/ibatis/builder/xml/mybatis-3-config.dtd index 2ac77ea08fe..e9f02c9bf63 100644 --- a/src/main/resources/org/apache/ibatis/builder/xml/mybatis-3-config.dtd +++ b/src/main/resources/org/apache/ibatis/builder/xml/mybatis-3-config.dtd @@ -1,7 +1,7 @@