Skip to content

Commit

Permalink
Merge pull request #1 from Lizard/patch-1
Browse files Browse the repository at this point in the history
Fix typo: ELEVE -> ELEVEN
  • Loading branch information
sandromancuso committed Sep 29, 2015
2 parents cd6a9d0 + 211336c commit 69ca39e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -6,7 +6,7 @@

public class BackstagePassQualityControl implements QualityControl {

private static final int ELEVE_DAYS = 11;
private static final int ELEVEN_DAYS = 11;
private static final int FIVE_DAYS = 5;

private static final int NO_EXTRA_QUALITY_HIKE = 0;
Expand Down Expand Up @@ -41,7 +41,7 @@ private boolean concertIsInFiveOrLessDays(Item backstagePass) {
}

private boolean concertIsWithinSixAndTenDays(Item backstagePass) {
return backstagePass.getSellIn() > FIVE_DAYS && backstagePass.getSellIn() < ELEVE_DAYS;
return backstagePass.getSellIn() > FIVE_DAYS && backstagePass.getSellIn() < ELEVEN_DAYS;
}


Expand Down

0 comments on commit 69ca39e

Please sign in to comment.