From 854bd30f67c28985ca200867404de15334f0936d Mon Sep 17 00:00:00 2001 From: ehlui <86680816+ehlui@users.noreply.github.com> Date: Thu, 2 Feb 2023 00:03:25 +0100 Subject: [PATCH] Adding a safer way to access to private methods using reflections api --- .../postgresrepository/PostgresRepository.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/lostsys/sample/hexagonal/infra/outputadapter/postgresrepository/PostgresRepository.java b/src/main/java/com/lostsys/sample/hexagonal/infra/outputadapter/postgresrepository/PostgresRepository.java index b62f019..d7bfcac 100644 --- a/src/main/java/com/lostsys/sample/hexagonal/infra/outputadapter/postgresrepository/PostgresRepository.java +++ b/src/main/java/com/lostsys/sample/hexagonal/infra/outputadapter/postgresrepository/PostgresRepository.java @@ -32,15 +32,15 @@ public T save(T reg) { try { for ( int i=0; i