mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-04 09:11:39 +00:00
remove the unneeded public
This commit is contained in:
parent
4a96b36ac3
commit
60d41e79e1
@ -45,11 +45,11 @@ public class Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isBackstagePasses() {
|
boolean isBackstagePasses() {
|
||||||
return name.equals(BACKSTAGE_PASSES);
|
return name.equals(BACKSTAGE_PASSES);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isAgedBrie() {
|
boolean isAgedBrie() {
|
||||||
return name.equals(AGED_BRIE);
|
return name.equals(AGED_BRIE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ public class Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isNotSulfuras() {
|
boolean isNotSulfuras() {
|
||||||
return !name.equals(SULFURAS);
|
return !name.equals(SULFURAS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user