diff --git a/.forge/BAIS-CI-1783819034-attempt-3.md b/.forge/BAIS-CI-1783819034-attempt-3.md deleted file mode 100644 index b747ce9..0000000 --- a/.forge/BAIS-CI-1783819034-attempt-3.md +++ /dev/null @@ -1,3 +0,0 @@ -# BAIS-CI-1783819034-attempt-3 - -Forge 이슈 작업 브랜치 `forge/BAIS-CI-1783819034-attempt-3`. diff --git a/pom.xml b/pom.xml deleted file mode 100644 index 032132d..0000000 --- a/pom.xml +++ /dev/null @@ -1,20 +0,0 @@ - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 3.5.14 - - - com.klaro.bais - bais-platform - 1.0-SNAPSHOT - pom - - - services/payments - - diff --git a/services/payments/pom.xml b/services/payments/pom.xml deleted file mode 100644 index 730f6a3..0000000 --- a/services/payments/pom.xml +++ /dev/null @@ -1,21 +0,0 @@ - - 4.0.0 - - - com.klaro.bais - bais-platform - 1.0-SNAPSHOT - ../../pom.xml - - - payments - - - org.apache.commons - commons-lang3 - 3.18.0 - - - diff --git a/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java b/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java deleted file mode 100644 index 159a78d..0000000 --- a/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.klaro.bais.payments; - -import org.apache.commons.lang3.StringUtils; - -public class PaymentReferenceService { - public String normalize(String input) { - return StringUtils.trimToEmpty(input); - } -} diff --git a/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java b/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java deleted file mode 100644 index 251a720..0000000 --- a/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java +++ /dev/null @@ -1,22 +0,0 @@ -import static org.junit.jupiter.api.Assertions.assertEquals; -import org.junit.jupiter.api.Test; - -class PaymentReferenceServiceTest { - private final PaymentReferenceService service = new PaymentReferenceService(); - - @Test - void testNormalize_NullString() { - assertEquals(""); // null should be normalized to empty string - } - - @Test - void testNormalize_EmptyString() { - assertEquals(""); // empty string should remain empty - } - - @Test - void testNormalize_ValidString() { - String input = " some text "; - assertEquals("some text", service.normalize(input)); // should trim spaces - } -}