Skip to content

Commit

Permalink
SAK-44769 SiteManager DateManagerUpdate contructor allow nulls (sakai…
Browse files Browse the repository at this point in the history
  • Loading branch information
ern authored Dec 16, 2020
1 parent 3d669c8 commit 98fd26b
Showing 1 changed file with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,20 @@
import java.time.Instant;

import lombok.AllArgsConstructor;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;

@AllArgsConstructor
@RequiredArgsConstructor
public class DateManagerUpdate {
@NonNull public Object object;
@NonNull public Instant openDate;
@NonNull public Instant dueDate;
@NonNull public Instant acceptUntilDate;
public Object object;
public Instant openDate;
public Instant dueDate;
public Instant acceptUntilDate;
public Instant feedbackStartDate;
public Instant feedbackEndDate;

public DateManagerUpdate(Object object, Instant openDate, Instant dueDate, Instant acceptUntilDate) {
this.object = object;
this.openDate = openDate;
this.dueDate = dueDate;
this.acceptUntilDate = acceptUntilDate;
}
}

0 comments on commit 98fd26b

Please sign in to comment.