Skip to content

Commit

Permalink
Removed extraneous item version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
fschiettecatte committed Nov 10, 2020
1 parent e933a6e commit cacc5fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ public List<Item> getItemList() {
@Override
public Feed setItemList(List<Item> itemList) {

/* Upgrade the item if needed */
/* Upgrade every item */
if ( itemList != null ) {
for ( final Item item : itemList ) {
((DefaultItem)item).upgrade(this.getVersion());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -756,8 +756,6 @@ public List<Author> getAuthorList() {
@Override
public Item setAuthorList(List<Author> authorList) {

this.upgrade(Version.VERSION_1_1);

this.authorList = authorList;
return (this);

Expand Down Expand Up @@ -820,8 +818,6 @@ public String getLanguage() {
@Override
public Item setLanguage(String language) {

this.upgrade(Version.VERSION_1_1);

this.language = language;
return (this);

Expand Down

0 comments on commit cacc5fa

Please sign in to comment.