Skip to content

Commit

Permalink
uncomment the idea to run twice
Browse files Browse the repository at this point in the history
  • Loading branch information
aasaru committed Dec 27, 2023
1 parent e41d36f commit dc0a8d3
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import org.drools.ruleunits.api.RuleUnitInstance;
import org.drools.ruleunits.api.RuleUnitProvider;

import java.time.LocalDate;
import java.util.List;

public class PassportValidationOO {
Expand All @@ -40,13 +39,13 @@ static void execute(int step) {
System.out.println("==== DROOLS START ==== ");
instance.fire();

System.out.println("about to sleep");
/* An idea to try:
ruleUnit.getPassports().append(Passport.newBuilder()
.withPassportNumber("ABC123")
.withExpiresOn(LocalDate.of(2200,12,12))
.withUnusedVisaPages(3)
.build());
instance.fire();
instance.fire();*/

System.out.println("==== DROOLS END ==== ");
}
Expand Down

0 comments on commit dc0a8d3

Please sign in to comment.