Skip to content

Commit

Permalink
Apply Google Java Style Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiser-Yang authored and github-actions[bot] committed Sep 18, 2024
1 parent d16f914 commit 5ff1415
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/edu/cmipt/gcs/controller/UserController.java
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand All @@ -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")
Expand Down

0 comments on commit 5ff1415

Please sign in to comment.