refactor: formatting

This commit is contained in:
Kadir Sirimsi 2025-02-10 16:47:27 +01:00
parent ab12c5c204
commit 8d3c6ebcee
No known key found for this signature in database
GPG Key ID: A21C0144C2D2A134

View File

@ -45,6 +45,7 @@ public class Item {
quality--; quality--;
} }
} }
private void updateBackstagePassItem() { private void updateBackstagePassItem() {
if (quality < 50) { if (quality < 50) {
quality++; quality++;
@ -64,6 +65,7 @@ public class Item {
quality = 0; quality = 0;
} }
} }
private void updateAgedBrieItem() { private void updateAgedBrieItem() {
if (quality < 50) { if (quality < 50) {
quality++; quality++;
@ -76,8 +78,8 @@ public class Item {
} }
} }
@Override @Override
public String toString() { public String toString() {
return this.name + ", " + this.sellIn + ", " + this.quality; return this.name + ", " + this.sellIn + ", " + this.quality;
} }