Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed != -> !equals

  • Loading branch information...
commit 8bbd09df387299795630ba3c3947b659c1553b93 1 parent 00ed614
@wouterla wouterla authored
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()))
{
Please sign in to comment.
Something went wrong with that request. Please try again.