diff options
Diffstat (limited to 'java/com/google/gerrit/server/notedb/RobotCommentUpdate.java')
-rw-r--r-- | java/com/google/gerrit/server/notedb/RobotCommentUpdate.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/java/com/google/gerrit/server/notedb/RobotCommentUpdate.java b/java/com/google/gerrit/server/notedb/RobotCommentUpdate.java index d13e74dc0a..7f067f569b 100644 --- a/java/com/google/gerrit/server/notedb/RobotCommentUpdate.java +++ b/java/com/google/gerrit/server/notedb/RobotCommentUpdate.java @@ -28,9 +28,9 @@ import com.google.gerrit.server.GerritPersonIdent; import com.google.inject.assistedinject.Assisted; import com.google.inject.assistedinject.AssistedInject; import java.io.IOException; +import java.time.Instant; import java.util.ArrayList; import java.util.Arrays; -import java.util.Date; import java.util.List; import java.util.Map; import java.util.Set; @@ -57,14 +57,14 @@ public class RobotCommentUpdate extends AbstractChangeUpdate { @Assisted("effective") Account.Id accountId, @Assisted("real") Account.Id realAccountId, PersonIdent authorIdent, - Date when); + Instant when); RobotCommentUpdate create( Change change, @Assisted("effective") Account.Id accountId, @Assisted("real") Account.Id realAccountId, PersonIdent authorIdent, - Date when); + Instant when); } private List<RobotComment> put = new ArrayList<>(); @@ -78,7 +78,7 @@ public class RobotCommentUpdate extends AbstractChangeUpdate { @Assisted("effective") Account.Id accountId, @Assisted("real") Account.Id realAccountId, @Assisted PersonIdent authorIdent, - @Assisted Date when) { + @Assisted Instant when) { super(noteUtil, serverIdent, notes, null, accountId, realAccountId, authorIdent, when); } @@ -91,7 +91,7 @@ public class RobotCommentUpdate extends AbstractChangeUpdate { @Assisted("effective") Account.Id accountId, @Assisted("real") Account.Id realAccountId, @Assisted PersonIdent authorIdent, - @Assisted Date when) { + @Assisted Instant when) { super(noteUtil, serverIdent, null, change, accountId, realAccountId, authorIdent, when); } |