Skip to content

Commit beaf047

Browse files
committed
fix the error: javaformat error(run spring-javaformat:apply)
Signed-off-by: fanxt0218 <[email protected]>
1 parent b1026d9 commit beaf047

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

memory/repository/spring-ai-model-chat-memory-repository-jdbc/src/main/java/org/springframework/ai/chat/memory/repository/jdbc/OracleChatMemoryRepositoryDialect.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
*/
2525

2626
public class OracleChatMemoryRepositoryDialect implements JdbcChatMemoryRepositoryDialect {
27+
2728
@Override
2829
public String getSelectMessagesSql() {
2930
return "SELECT content, type FROM SPRING_AI_CHAT_MEMORY WHERE conversation_id = ? ORDER BY \"timestamp\"";
@@ -45,9 +46,10 @@ public String getDeleteMessagesSql() {
4546
}
4647

4748
/**
48-
* This method requires uncommenting the Override annotation after the interface defines the method
49+
* This method requires uncommenting the Override annotation after the interface
50+
* defines the method
4951
*/
50-
//@Override
52+
// @Override
5153
public String getDeleteAllMessageSql() {
5254
return "DELETE FROM SPRING_AI_CHAT_MEMORY";
5355
}

memory/repository/spring-ai-model-chat-memory-repository-jdbc/src/test/java/org/springframework/ai/chat/memory/repository/jdbc/JdbcChatMemoryRepositoryOracleIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
*/
2828

2929
@SpringBootTest
30-
@TestPropertySource(properties = {"spring.datasource.url=jdbc:tc:oracle:21.3.0.0:///"})
30+
@TestPropertySource(properties = { "spring.datasource.url=jdbc:tc:oracle:21.3.0.0:///" })
3131
@Sql(scripts = "classpath:org/springframework/ai/chat/memory/repository/jdbc/schema-oracle.sql")
32-
public class JdbcChatMemoryRepositoryOracleIT extends AbstractJdbcChatMemoryRepositoryIT{
32+
public class JdbcChatMemoryRepositoryOracleIT extends AbstractJdbcChatMemoryRepositoryIT {
3333

3434
}

0 commit comments

Comments
 (0)