Skip to content

Commit

Permalink
refactor: 불필요한 public 생성자 private으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
rawfishthelgh committed Jan 2, 2024
1 parent 60dbbf9 commit 5d6ab7f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class DictionaryPlant extends BaseEntity {
private CareDetail careDetail;

@Builder
public DictionaryPlant(
private DictionaryPlant(
String imageUrl,
Classification classification,
Property property,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class CareDetail {
private WaterCycle waterCycle;

@Builder
public CareDetail(
private CareDetail(
Temperature temperature,
String requireHumidity,
String postingPlace,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class Classification {
private String familyName;

@Builder
public Classification(String name, String familyName) {
private Classification(String name, String familyName) {
this.name = name;
this.familyName = familyName;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class Property {
private String growSpeed;

@Builder
public Property(String smell, String poison, String manageLevel, String growSpeed) {
private Property(String smell, String poison, String manageLevel, String growSpeed) {
this.smell = smell;
this.poison = poison;
this.manageLevel = manageLevel;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class Temperature {
private String minimumTemp;

@Builder
public Temperature(String requireTemp, String minimumTemp) {
private Temperature(String requireTemp, String minimumTemp) {
this.requireTemp = requireTemp;
this.minimumTemp = minimumTemp;
}
Expand Down

0 comments on commit 5d6ab7f

Please sign in to comment.