Skip to content

Commit

Permalink
rename package-info
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesecrust committed Jan 31, 2024
1 parent 1807ab0 commit 22a30f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.eum.bank.common;

public final class Constants {
public final class PackageInfo {

private Constants() {
private PackageInfo() {
}

public static final int ACCOUNT_NUMBER_LENGTH = 12;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

import static com.eum.bank.common.Constants.FREE_TYPE;
import static com.eum.bank.common.PackageInfo.FREE_TYPE;
@RestController
@RequiredArgsConstructor
@RequestMapping("/account")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/eum/bank/service/AccountService.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import jakarta.transaction.Transactional;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import static com.eum.bank.common.Constants.ACCOUNT_NUMBER_LENGTH;
import static com.eum.bank.common.PackageInfo.ACCOUNT_NUMBER_LENGTH;

import org.springframework.security.crypto.password.PasswordEncoder;
import java.util.Random;
Expand Down

0 comments on commit 22a30f3

Please sign in to comment.