diff --git a/terasoluna-gfw-common/src/main/java/org/terasoluna/gfw/common/date/JdbcAdjustedDateFactory.java b/terasoluna-gfw-common/src/main/java/org/terasoluna/gfw/common/date/JdbcAdjustedDateFactory.java index de62075e4..84044edf4 100644 --- a/terasoluna-gfw-common/src/main/java/org/terasoluna/gfw/common/date/JdbcAdjustedDateFactory.java +++ b/terasoluna-gfw-common/src/main/java/org/terasoluna/gfw/common/date/JdbcAdjustedDateFactory.java @@ -92,7 +92,7 @@ public long reload() { adjustedValue = cachedAdjustedValue.get(); logger.warn("adjusted value is null. use {}", adjustedValue); } else if (isUseCache()) { - logger.debug("cache adjustd value = {}", adjustedValue); + logger.debug("cache adjusted value = {}", adjustedValue); cachedAdjustedValue.set(adjustedValue); } @@ -115,7 +115,7 @@ public void afterPropertiesSet() { /** * Sets JDBC Template from DataSource - * @param dataSource + * @param dataSource dataSource */ public void setDataSource(DataSource dataSource) { this.jdbcTemplate = new JdbcTemplate(dataSource); @@ -123,7 +123,7 @@ public void setDataSource(DataSource dataSource) { /** * Sets JDBC Template - * @param jdbcTemplate + * @param jdbcTemplate jdbcTemplate */ public void setJdbcTemplate(JdbcTemplate jdbcTemplate) { this.jdbcTemplate = jdbcTemplate; diff --git a/terasoluna-gfw-common/src/main/java/org/terasoluna/gfw/common/date/JdbcFixedDateFactory.java b/terasoluna-gfw-common/src/main/java/org/terasoluna/gfw/common/date/JdbcFixedDateFactory.java index 44b7dbc86..ebddc4844 100644 --- a/terasoluna-gfw-common/src/main/java/org/terasoluna/gfw/common/date/JdbcFixedDateFactory.java +++ b/terasoluna-gfw-common/src/main/java/org/terasoluna/gfw/common/date/JdbcFixedDateFactory.java @@ -66,7 +66,7 @@ public DateTime newDateTime() { /** * Sets JDBC Template from DataSource - * @param dataSource + * @param dataSource dataSource */ public void setDataSource(DataSource dataSource) { this.jdbcTemplate = new JdbcTemplate(dataSource); @@ -74,7 +74,7 @@ public void setDataSource(DataSource dataSource) { /** the current timestamp received as parameter. * Sets - * @param currentTimestampQuery + * @param currentTimestampQuery SQL to retrieve current timestamp */ public void setCurrentTimestampQuery(String currentTimestampQuery) { this.currentTimestampQuery = currentTimestampQuery; diff --git a/terasoluna-gfw-web/src/test/java/org/terasoluna/gfw/web/el/FunctionsTest.java b/terasoluna-gfw-web/src/test/java/org/terasoluna/gfw/web/el/FunctionsTest.java index d00fb5574..9cabb138b 100644 --- a/terasoluna-gfw-web/src/test/java/org/terasoluna/gfw/web/el/FunctionsTest.java +++ b/terasoluna-gfw-web/src/test/java/org/terasoluna/gfw/web/el/FunctionsTest.java @@ -557,7 +557,7 @@ public void testMapToQuery_map_isNull() { class Person { private String name; - @DateTimeFormat(pattern = "yyy-MM-dd") + @DateTimeFormat(pattern = "yyyy-MM-dd") private Date date; private Integer age;