Skip to content

Commit 8512b69

Browse files
committed
[doc] One more line to change
1 parent 5f4b383 commit 8512b69

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

src/site/es/xdoc/configuration.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2020 the original author or authors.
4+
Copyright 2009-2022 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -1496,7 +1496,7 @@ public class GenericTypeHandler<E extends MyObject> extends BaseTypeHandler<E> {
14961496
<source><![CDATA[// ExampleObjectFactory.java
14971497
public class ExampleObjectFactory extends DefaultObjectFactory {
14981498
@Override
1499-
public Object create(Class type) {
1499+
public <T> T create(Class<T> type) {
15001500
return super.create(type);
15011501
}
15021502

src/site/ja/xdoc/configuration.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2020 the original author or authors.
4+
Copyright 2009-2022 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -1528,7 +1528,7 @@ public class GenericTypeHandler<E extends MyObject> extends BaseTypeHandler<E> {
15281528
<source><![CDATA[// ExampleObjectFactory.java
15291529
public class ExampleObjectFactory extends DefaultObjectFactory {
15301530
@Override
1531-
public Object create(Class type) {
1531+
public <T> T create(Class<T> type) {
15321532
return super.create(type);
15331533
}
15341534

src/site/ko/xdoc/configuration.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2021 the original author or authors.
4+
Copyright 2009-2022 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -1458,7 +1458,7 @@ public class GenericTypeHandler<E extends MyObject> extends BaseTypeHandler<E> {
14581458
<source><![CDATA[// ExampleObjectFactory.java
14591459
public class ExampleObjectFactory extends DefaultObjectFactory {
14601460
@Override
1461-
public Object create(Class type) {
1461+
public <T> T create(Class<T> type) {
14621462
return super.create(type);
14631463
}
14641464

src/site/xdoc/configuration.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2021 the original author or authors.
4+
Copyright 2009-2022 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -1656,7 +1656,8 @@ public class ExampleObjectFactory extends DefaultObjectFactory {
16561656
@Override
16571657
public <T> boolean isCollection(Class<T> type) {
16581658
return Collection.class.isAssignableFrom(type);
1659-
}}
1659+
}
1660+
}
16601661
]]></source>
16611662

16621663
<source><![CDATA[<!-- mybatis-config.xml -->

src/site/zh/xdoc/configuration.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2009-2020 the original author or authors.
4+
Copyright 2009-2022 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -1500,7 +1500,7 @@ public class GenericTypeHandler<E extends MyObject> extends BaseTypeHandler<E> {
15001500
<source><![CDATA[// ExampleObjectFactory.java
15011501
public class ExampleObjectFactory extends DefaultObjectFactory {
15021502
@Override
1503-
public Object create(Class type) {
1503+
public <T> T create(Class<T> type) {
15041504
return super.create(type);
15051505
}
15061506

0 commit comments

Comments
 (0)