Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
va9id committed Oct 30, 2023
1 parent 7979fdb commit 43cb0e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
2 changes: 0 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>


<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
20 changes: 0 additions & 20 deletions src/main/java/org/example/BuddyInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ public class BuddyInfo {
private String name;
private String phone;

/*
@ManyToOne
@JoinColumn(name="address_book_id")
@JsonIgnore
private AddressBook addressBook;
*/



public BuddyInfo() {}
public BuddyInfo(String name, String phone) {
this.name = name;
Expand Down Expand Up @@ -54,15 +45,4 @@ public void setPhone(String phone) {
public String toString() {
return new StringBuilder().append("BuddyInfo{").append("id=").append(id).append(", name='").append(name).append('\'').append(", phone='").append(phone).append('\'').append('}').toString();
}

/*
public AddressBook getAddressBook() {
return addressBook;
}
public void setAddressBook(AddressBook addressBook) {
this.addressBook = addressBook;
}
*/
}

0 comments on commit 43cb0e8

Please sign in to comment.