Skip to content

Commit 222dacc

Browse files
shrikanthkrjmartisk
authored andcommitted
run formatter and commit
1 parent 6c87134 commit 222dacc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

embedding-stores/pgvector/runtime/src/main/java/io/quarkiverse/langchain4j/pgvector/PgVectorAgroalPoolInterceptor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ public PgVectorAgroalPoolInterceptor(PgVectorEmbeddingStoreConfig config) {
2424
@Override
2525
public void onConnectionCreate(Connection connection) {
2626
try (Statement statement = connection.createStatement()) {
27-
boolean createExtension =
28-
ConfigUtils.isProfileActive("dev") || ConfigUtils.isProfileActive("test") || this.config.registerVectorPGExtension();
27+
boolean createExtension = ConfigUtils.isProfileActive("dev") || ConfigUtils.isProfileActive("test")
28+
|| this.config.registerVectorPGExtension();
2929
if (createExtension) {
3030
statement.executeUpdate("CREATE EXTENSION IF NOT EXISTS vector");
3131
}

0 commit comments

Comments
 (0)