Removed AvoidStarImport Rule

Added JavaDocType Rule
This commit is contained in:
Mudit Porwal
2017-03-22 01:16:01 +08:00
parent 175e9f58c1
commit 09585c3874
105 changed files with 577 additions and 284 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