Removed @Deprecated ownerId and ownerUsername.

This commit is contained in:
Jesse Brault 2024-08-12 17:29:48 -05:00
parent 22441a8e47
commit 22fac36e4b
2 changed files with 0 additions and 36 deletions

View File

@ -14,8 +14,6 @@ public class FullRecipeView {
private String slug;
private String title;
private String text;
@Deprecated private long ownerId;
@Deprecated private String ownerUsername;
private UserInfoView owner;
private int starCount;
private int viewerCount;
@ -70,26 +68,6 @@ public class FullRecipeView {
this.text = text;
}
@Deprecated
public long getOwnerId() {
return this.ownerId;
}
@Deprecated
public void setOwnerId(long ownerId) {
this.ownerId = ownerId;
}
@Deprecated
public String getOwnerUsername() {
return this.ownerUsername;
}
@Deprecated
public void setOwnerUsername(String ownerUsername) {
this.ownerUsername = ownerUsername;
}
public UserInfoView getOwner() {
return this.owner;
}

View File

@ -12,10 +12,6 @@ public final class RecipeInfoView {
private LocalDateTime updated;
private String slug;
private String title;
@Deprecated
private String ownerUsername;
private UserInfoView owner;
private boolean isPublic;
private int starCount;
@ -53,16 +49,6 @@ public final class RecipeInfoView {
this.title = title;
}
@Deprecated
public String getOwnerUsername() {
return this.ownerUsername;
}
@Deprecated
public void setOwnerUsername(String ownerUsername) {
this.ownerUsername = ownerUsername;
}
public UserInfoView getOwner() {
return this.owner;
}