diff --git a/src/main/java/xyz/zhouxy/jdbc/DefaultBeanRowMapper.java b/src/main/java/xyz/zhouxy/jdbc/DefaultBeanRowMapper.java index 8a9b915..7046487 100644 --- a/src/main/java/xyz/zhouxy/jdbc/DefaultBeanRowMapper.java +++ b/src/main/java/xyz/zhouxy/jdbc/DefaultBeanRowMapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 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. @@ -65,12 +65,12 @@ public class DefaultBeanRowMapper implements RowMapper { } /** - * 创建一个 DefaultBeanRowMapper + * 创建一个 {@code DefaultBeanRowMapper} * * @param Bean 类型 * @param beanType Bean 类型 * @return DefaultBeanRowMapper 对象 - * @throws SQLException 创建 DefaultBeanRowMapper 出现错误的异常时抛出 + * @throws SQLException 创建 {@code DefaultBeanRowMapper} 出现错误的异常时抛出 */ @StaticFactoryMethod(DefaultBeanRowMapper.class) public static DefaultBeanRowMapper of(Class beanType) throws SQLException { @@ -78,13 +78,13 @@ public class DefaultBeanRowMapper implements RowMapper { } /** - * 创建一个 DefaultBeanRowMapper + * 创建一个 {@code DefaultBeanRowMapper} * * @param Bean 类型 * @param beanType Bean 类型 * @param propertyColMap Bean 字段与列名的映射关系。key 是字段,value 是列名。 - * @return DefaultBeanRowMapper 对象 - * @throws SQLException 创建 DefaultBeanRowMapper 出现错误的异常时抛出 + * @return {@code DefaultBeanRowMapper} 对象 + * @throws SQLException 创建 {@code DefaultBeanRowMapper} 出现错误的异常时抛出 */ @StaticFactoryMethod(DefaultBeanRowMapper.class) public static DefaultBeanRowMapper of(Class beanType, @Nullable Map propertyColMap)