From 3ffa3071ba49c6743636731c9b4e85ee3ce4379b Mon Sep 17 00:00:00 2001 From: zhanghanlin Date: Tue, 29 Sep 2020 15:53:46 +0800 Subject: [PATCH 1/3] clean failure doc url link --- .../submitted/refid_resolution/ExternalRefidResolutionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/ibatis/submitted/refid_resolution/ExternalRefidResolutionTest.java b/src/test/java/org/apache/ibatis/submitted/refid_resolution/ExternalRefidResolutionTest.java index b206e670fe0..2f9668d2237 100644 --- a/src/test/java/org/apache/ibatis/submitted/refid_resolution/ExternalRefidResolutionTest.java +++ b/src/test/java/org/apache/ibatis/submitted/refid_resolution/ExternalRefidResolutionTest.java @@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test; /** - * @see http://code.google.com/p/mybatis/issues/detail?id=291 + * */ class ExternalRefidResolutionTest { @Test From f1c61729ab06dea8a1f46a682d40b7dc0060a547 Mon Sep 17 00:00:00 2001 From: zhanghanlin Date: Tue, 29 Sep 2020 19:14:56 +0800 Subject: [PATCH 2/3] replace all failure doc url link --- .../org/apache/ibatis/scripting/xmltags/OgnlCache.java | 2 +- .../executor/resultset/DefaultResultSetHandlerTest.java | 2 +- .../refid_resolution/ExternalRefidResolutionTest.java | 1 + .../submitted/serializecircular/SerializeCircularTest.java | 7 +++++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java b/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java index 0c59f25e6e4..c897fb7a393 100644 --- a/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java +++ b/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java @@ -28,7 +28,7 @@ * * @author Eduardo Macarron * - * @see Issue 342 + * @see Issue 342 */ public final class OgnlCache { diff --git a/src/test/java/org/apache/ibatis/executor/resultset/DefaultResultSetHandlerTest.java b/src/test/java/org/apache/ibatis/executor/resultset/DefaultResultSetHandlerTest.java index 15e5970e4c6..5b6a963861a 100644 --- a/src/test/java/org/apache/ibatis/executor/resultset/DefaultResultSetHandlerTest.java +++ b/src/test/java/org/apache/ibatis/executor/resultset/DefaultResultSetHandlerTest.java @@ -69,7 +69,7 @@ class DefaultResultSetHandlerTest { /** * Contrary to the spec, some drivers require case-sensitive column names when getting result. * - * @see Issue 557 + * @see Issue 557 */ @Test void shouldRetainColumnNameCase() throws Exception { diff --git a/src/test/java/org/apache/ibatis/submitted/refid_resolution/ExternalRefidResolutionTest.java b/src/test/java/org/apache/ibatis/submitted/refid_resolution/ExternalRefidResolutionTest.java index 2f9668d2237..cb98647ee4d 100644 --- a/src/test/java/org/apache/ibatis/submitted/refid_resolution/ExternalRefidResolutionTest.java +++ b/src/test/java/org/apache/ibatis/submitted/refid_resolution/ExternalRefidResolutionTest.java @@ -23,6 +23,7 @@ import org.junit.jupiter.api.Test; /** + * @see Issue 614 + */ @Test void serializeAndDeserializeObjectsWithoutAggressiveLazyLoadingWithoutPreloadingAttribute() throws Exception { try (SqlSession sqlSession = createSessionWithoutAggressiveLazyLoading()) { From c6df26c4d9aa82b6aed584fbb993dd12e04c9f57 Mon Sep 17 00:00:00 2001 From: Iwao AVE! Date: Thu, 1 Oct 2020 04:27:40 +0900 Subject: [PATCH 3/3] Replaced two more URLs, updated license headers, removed extra blank lines --- .../java/org/apache/ibatis/scripting/xmltags/OgnlCache.java | 2 +- src/main/java/org/apache/ibatis/session/Configuration.java | 2 +- .../ibatis/datasource/unpooled/UnpooledDataSourceTest.java | 4 ++-- .../executor/resultset/DefaultResultSetHandlerTest.java | 2 +- .../refid_resolution/ExternalRefidResolutionTest.java | 2 +- .../submitted/serializecircular/SerializeCircularTest.java | 5 ----- 6 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java b/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java index c897fb7a393..1f24929623c 100644 --- a/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java +++ b/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java @@ -1,5 +1,5 @@ /** - * Copyright 2009-2018 the original author or authors. + * Copyright 2009-2020 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. diff --git a/src/main/java/org/apache/ibatis/session/Configuration.java b/src/main/java/org/apache/ibatis/session/Configuration.java index eb0558c292d..32f93028c72 100644 --- a/src/main/java/org/apache/ibatis/session/Configuration.java +++ b/src/main/java/org/apache/ibatis/session/Configuration.java @@ -142,7 +142,7 @@ public class Configuration { * Configuration factory class. * Used to create Configuration for loading deserialized unread properties. * - * @see Issue 300 (google code) + * @see Issue 300 (google code) */ protected Class configurationFactory; diff --git a/src/test/java/org/apache/ibatis/datasource/unpooled/UnpooledDataSourceTest.java b/src/test/java/org/apache/ibatis/datasource/unpooled/UnpooledDataSourceTest.java index 56f3d1cc2cd..01d6291843a 100644 --- a/src/test/java/org/apache/ibatis/datasource/unpooled/UnpooledDataSourceTest.java +++ b/src/test/java/org/apache/ibatis/datasource/unpooled/UnpooledDataSourceTest.java @@ -1,5 +1,5 @@ /** - * Copyright 2009-2019 the original author or authors. + * Copyright 2009-2020 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. @@ -30,7 +30,7 @@ class UnpooledDataSourceTest { @Test void shouldNotRegisterTheSameDriverMultipleTimes() throws Exception { - // https://code.google.com/p/mybatis/issues/detail?id=430 + // https://github.com/mybatis/old-google-code-issues/issues/430 UnpooledDataSource dataSource = null; dataSource = new UnpooledDataSource("org.hsqldb.jdbcDriver", "jdbc:hsqldb:mem:multipledrivers", "sa", ""); dataSource.getConnection().close(); diff --git a/src/test/java/org/apache/ibatis/executor/resultset/DefaultResultSetHandlerTest.java b/src/test/java/org/apache/ibatis/executor/resultset/DefaultResultSetHandlerTest.java index 5b6a963861a..a20e3794c61 100644 --- a/src/test/java/org/apache/ibatis/executor/resultset/DefaultResultSetHandlerTest.java +++ b/src/test/java/org/apache/ibatis/executor/resultset/DefaultResultSetHandlerTest.java @@ -1,5 +1,5 @@ /** - * Copyright 2009-2019 the original author or authors. + * Copyright 2009-2020 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. diff --git a/src/test/java/org/apache/ibatis/submitted/refid_resolution/ExternalRefidResolutionTest.java b/src/test/java/org/apache/ibatis/submitted/refid_resolution/ExternalRefidResolutionTest.java index cb98647ee4d..066cc4c1167 100644 --- a/src/test/java/org/apache/ibatis/submitted/refid_resolution/ExternalRefidResolutionTest.java +++ b/src/test/java/org/apache/ibatis/submitted/refid_resolution/ExternalRefidResolutionTest.java @@ -1,5 +1,5 @@ /** - * Copyright 2009-2019 the original author or authors. + * Copyright 2009-2020 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. diff --git a/src/test/java/org/apache/ibatis/submitted/serializecircular/SerializeCircularTest.java b/src/test/java/org/apache/ibatis/submitted/serializecircular/SerializeCircularTest.java index 6d1374a242e..7dc076902c8 100644 --- a/src/test/java/org/apache/ibatis/submitted/serializecircular/SerializeCircularTest.java +++ b/src/test/java/org/apache/ibatis/submitted/serializecircular/SerializeCircularTest.java @@ -24,8 +24,6 @@ import org.apache.ibatis.session.SqlSessionFactoryBuilder; import org.junit.jupiter.api.Test; - - class SerializeCircularTest { @Test @@ -42,9 +40,6 @@ void serializeAndDeserializeObjectsWithAggressiveLazyLoadingWithPreloadingAttrib } } - /** - * @see Issue 614 - */ @Test void serializeAndDeserializeObjectsWithoutAggressiveLazyLoadingWithoutPreloadingAttribute() throws Exception { try (SqlSession sqlSession = createSessionWithoutAggressiveLazyLoading()) {