From 7dfd52b0a9df3c5cee65dc346f898940287b3fd3 Mon Sep 17 00:00:00 2001 From: David Benedeki <14905969+benedeki@users.noreply.github.com> Date: Thu, 17 Oct 2024 09:19:08 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: miroslavpojer --- balta/src/main/scala/za/co/absa/db/balta/classes/DBTable.scala | 2 -- .../test/resources/db/postgres/09_testing.table_lifecycle.ddl | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/balta/src/main/scala/za/co/absa/db/balta/classes/DBTable.scala b/balta/src/main/scala/za/co/absa/db/balta/classes/DBTable.scala index c354d9e..4bb4ef3 100644 --- a/balta/src/main/scala/za/co/absa/db/balta/classes/DBTable.scala +++ b/balta/src/main/scala/za/co/absa/db/balta/classes/DBTable.scala @@ -160,8 +160,6 @@ case class DBTable(tableName: String) extends DBQuerySupport{ def delete(whereCondition: String = "")(implicit connection: DBConnection): Unit = { composeDeleteAndRun(strToOption(whereCondition))(_ => ()) } - - /** * Counts the rows in the table. * @param connection - a database connection used for the SELECT operation. diff --git a/balta/src/test/resources/db/postgres/09_testing.table_lifecycle.ddl b/balta/src/test/resources/db/postgres/09_testing.table_lifecycle.ddl index c3c8b44..2688d3a 100644 --- a/balta/src/test/resources/db/postgres/09_testing.table_lifecycle.ddl +++ b/balta/src/test/resources/db/postgres/09_testing.table_lifecycle.ddl @@ -26,4 +26,4 @@ CREATE TABLE testing.table_lifecycle ); ALTER TABLE IF EXISTS testing.table_lifecycle - OWNER to mag_owner; \ No newline at end of file + OWNER to mag_owner;