From 0fa031a35acdb07fad27d41c14caf7e2937cfeee Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Lesaint?= Date: Mon, 3 Dec 2018 14:01:21 +0100 Subject: [PATCH] SONARCLOUD-192 add WS api/ce/queue_stats --- .../src/main/java/org/sonar/db/ce/UpdateIf.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/ce/UpdateIf.java b/server/sonar-db-dao/src/main/java/org/sonar/db/ce/UpdateIf.java index 1c1df6ec8a8..dd80fc63b2f 100644 --- a/server/sonar-db-dao/src/main/java/org/sonar/db/ce/UpdateIf.java +++ b/server/sonar-db-dao/src/main/java/org/sonar/db/ce/UpdateIf.java @@ -26,7 +26,7 @@ import javax.annotation.concurrent.Immutable; import static com.google.common.base.Preconditions.checkArgument; import static java.util.Objects.requireNonNull; -final class UpdateIf { +public final class UpdateIf { private UpdateIf() { // just a wrapping class, prevent instantiation } @@ -38,7 +38,7 @@ final class UpdateIf { private final Long startedAt; private final long updatedAt; - NewProperties(CeQueueDto.Status status, @Nullable String workerUuid, + public NewProperties(CeQueueDto.Status status, @Nullable String workerUuid, long startedAt, long updatedAt) { checkArgument(workerUuid == null || workerUuid.length() <= 40, "worker uuid is too long: %s", workerUuid); this.status = requireNonNull(status, "status can't be null"); @@ -69,7 +69,7 @@ final class UpdateIf { public static class OldProperties { private final CeQueueDto.Status status; - OldProperties(CeQueueDto.Status status) { + public OldProperties(CeQueueDto.Status status) { this.status = requireNonNull(status, "status can't be null"); } -- 2.39.5