From 5ff1415dd287af2dfb398806e498c8bed9333143 Mon Sep 17 00:00:00 2001 From: Kaiser-Yang Date: Wed, 18 Sep 2024 08:36:02 +0000 Subject: [PATCH] Apply Google Java Style Format --- src/main/java/edu/cmipt/gcs/controller/UserController.java | 2 +- .../java/edu/cmipt/gcs/pojo/repository/RepositoryDTO.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/edu/cmipt/gcs/controller/UserController.java b/src/main/java/edu/cmipt/gcs/controller/UserController.java index 1fcbb22..b0a9bc1 100644 --- a/src/main/java/edu/cmipt/gcs/controller/UserController.java +++ b/src/main/java/edu/cmipt/gcs/controller/UserController.java @@ -193,7 +193,7 @@ public void deleteUser( summary = "Page user repositories", description = "Page user repositories. If the given token is trying to get other's" - + " repositories, only public repositories will be shown", + + " repositories, only public repositories will be shown", tags = {"User", "Get Method"}) @Parameters({ @Parameter( diff --git a/src/main/java/edu/cmipt/gcs/pojo/repository/RepositoryDTO.java b/src/main/java/edu/cmipt/gcs/pojo/repository/RepositoryDTO.java index b4d7a85..a6e5957 100644 --- a/src/main/java/edu/cmipt/gcs/pojo/repository/RepositoryDTO.java +++ b/src/main/java/edu/cmipt/gcs/pojo/repository/RepositoryDTO.java @@ -33,12 +33,12 @@ public record RepositoryDTO( max = ValidationConstant.MAX_REPOSITORY_NAME_LENGTH, message = "REPOSITORYDTO_REPOSITORYNAME_SIZE" - + " {RepositoryDTO.repositoryName.Size}") + + " {RepositoryDTO.repositoryName.Size}") @NotBlank( groups = {CreateGroup.class}, message = "REPOSITORYDTO_REPOSITORYNAME_NOTBLANK" - + " {RepositoryDTO.repositoryName.NotBlank}") + + " {RepositoryDTO.repositoryName.NotBlank}") @Pattern( regexp = ValidationConstant.REPOSITORY_NAME_PATTERN, groups = {CreateGroup.class, UpdateGroup.class}, @@ -52,7 +52,7 @@ public record RepositoryDTO( max = ValidationConstant.MAX_REPOSITORY_DESCRIPTION_LENGTH, message = "REPOSITORYDTO_REPOSITORYDESCRIPTION_SIZE" - + " {RepositoryDTO.repositoryDescription.Size}") + + " {RepositoryDTO.repositoryDescription.Size}") String repositoryDescription, @Schema(description = "Whether or Not Private Repo") Boolean isPrivate, @Schema(description = "Star Count")