Removed @Deprecated ownerId and ownerUsername.
This commit is contained in:
parent
22441a8e47
commit
22fac36e4b
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user