mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-15 06:21:29 +00:00
initial version
This commit is contained in:
parent
c5ea101af9
commit
def3dc3d48
@ -5,11 +5,11 @@ import java.util.stream.IntStream;
|
||||
class GildedRose {
|
||||
Item[] items;
|
||||
|
||||
private GildedRose(Item[] items) {
|
||||
GildedRose(Item[] items) {
|
||||
this.items = items;
|
||||
}
|
||||
|
||||
private void updateQuality() {
|
||||
void updateQuality() {
|
||||
IntStream.range(0, items.length).forEach(i -> {
|
||||
if (!items[i].name.equals("Aged Brie")
|
||||
&& !items[i].name.equals("Backstage passes to a TAFKAL80ETC concert")) {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package com.gildedrose;
|
||||
|
||||
public class TexttestFixture {
|
||||
public class TextTestFixture {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("OMGHAI!");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user