Removed AvoidStarImport Rule
Added JavaDocType Rule
This commit is contained in:
@ -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
|
||||
*/
|
||||
|
@ -30,6 +30,9 @@ import java.util.HashSet;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* Test Lottery Tickets for equality
|
||||
*/
|
||||
public class LotteryTicketTest {
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user