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 slug;
|
||||||
private String title;
|
private String title;
|
||||||
private String text;
|
private String text;
|
||||||
@Deprecated private long ownerId;
|
|
||||||
@Deprecated private String ownerUsername;
|
|
||||||
private UserInfoView owner;
|
private UserInfoView owner;
|
||||||
private int starCount;
|
private int starCount;
|
||||||
private int viewerCount;
|
private int viewerCount;
|
||||||
@ -70,26 +68,6 @@ public class FullRecipeView {
|
|||||||
this.text = text;
|
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() {
|
public UserInfoView getOwner() {
|
||||||
return this.owner;
|
return this.owner;
|
||||||
}
|
}
|
||||||
|
@ -12,10 +12,6 @@ public final class RecipeInfoView {
|
|||||||
private LocalDateTime updated;
|
private LocalDateTime updated;
|
||||||
private String slug;
|
private String slug;
|
||||||
private String title;
|
private String title;
|
||||||
|
|
||||||
@Deprecated
|
|
||||||
private String ownerUsername;
|
|
||||||
|
|
||||||
private UserInfoView owner;
|
private UserInfoView owner;
|
||||||
private boolean isPublic;
|
private boolean isPublic;
|
||||||
private int starCount;
|
private int starCount;
|
||||||
@ -53,16 +49,6 @@ public final class RecipeInfoView {
|
|||||||
this.title = title;
|
this.title = title;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated
|
|
||||||
public String getOwnerUsername() {
|
|
||||||
return this.ownerUsername;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Deprecated
|
|
||||||
public void setOwnerUsername(String ownerUsername) {
|
|
||||||
this.ownerUsername = ownerUsername;
|
|
||||||
}
|
|
||||||
|
|
||||||
public UserInfoView getOwner() {
|
public UserInfoView getOwner() {
|
||||||
return this.owner;
|
return this.owner;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user