chore: change in the argument name for setters

This commit is contained in:
pierre 2023-02-19 16:16:26 +01:00
parent f0fe95be85
commit ce18e35be7

View File

@ -18,20 +18,22 @@ public class Item {
return this.name; return this.name;
} }
// No setter for Name because it is not necessary yet
public int getSellIn() { public int getSellIn() {
return this.sellIn; return this.sellIn;
} }
public void setSellIn(int value) { public void setSellIn(int sellIn) {
this.sellIn = value; this.sellIn = sellIn;
} }
public int getQuality() { public int getQuality() {
return this.quality; return this.quality;
} }
public void setQuality(int value) { public void setQuality(int quality) {
this.quality = value; this.quality = quality;
} }
@Override @Override