Skip to content
Browse files

Fixed != -> !equals

  • Loading branch information...
1 parent 00ed614 commit 8bbd09df387299795630ba3c3947b659c1553b93 @wouterla wouterla committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/GildedRose.java
View
2 src/main/java/GildedRose.java
@@ -74,7 +74,7 @@ public static void updateQuality()
if (items.get(i).getSellIn() < 0)
{
- if (items.get(i).getName() != "Aged Brie")
+ if (!"Aged Brie".equals(items.get(i).getName()))
{
if (!"Backstage passes to a TAFKAL80ETC concert".equals(items.get(i).getName()))
{

0 comments on commit 8bbd09d

Please sign in to comment.
Something went wrong with that request. Please try again.