Merge pull request #548 from muditporwal/master

Checkstyle improvements #539 : Added JavaDocType Rule
This commit is contained in:
Ilkka Seppälä
2017-04-01 14:45:52 +03:00
committed by GitHub
103 changed files with 575 additions and 282 deletions

View File

@ -23,12 +23,15 @@
package com.iluwatar.hexagonal.domain;
/**
*
*
* Represents lottery ticket check result.
*
*/
public class LotteryTicketCheckResult {
/**
* Enumeration of Type of Outcomes of a Lottery
*/
public enum CheckResult { WIN_PRIZE, NO_PRIZE, TICKET_NOT_SUBMITTED }
private final CheckResult checkResult;
@ -41,7 +44,7 @@ public class LotteryTicketCheckResult {
checkResult = result;
prizeAmount = 0;
}
/**
* Constructor.
*/
@ -56,7 +59,7 @@ public class LotteryTicketCheckResult {
public CheckResult getResult() {
return checkResult;
}
/**
* @return prize amount
*/

View File

@ -30,6 +30,9 @@ import java.util.HashSet;
import org.junit.Test;
/**
* Test Lottery Tickets for equality
*/
public class LotteryTicketTest {
@Test