diff --git a/driver/src/main/java/eu/cloudnetservice/driver/service/ServiceCreateResult.java b/driver/src/main/java/eu/cloudnetservice/driver/service/ServiceCreateResult.java index dbb0973626..fd150f247c 100644 --- a/driver/src/main/java/eu/cloudnetservice/driver/service/ServiceCreateResult.java +++ b/driver/src/main/java/eu/cloudnetservice/driver/service/ServiceCreateResult.java @@ -43,6 +43,11 @@ @SuppressWarnings("ClassCanBeRecord") public final class ServiceCreateResult { + /** + * A static create result indicating that the service creation failed. + */ + public static final ServiceCreateResult FAILED = new ServiceCreateResult(State.FAILED, null, null); + private final State state; private final UUID creationId; private final ServiceInfoSnapshot serviceInfo; @@ -71,11 +76,6 @@ private ServiceCreateResult( this.serviceInfo = serviceInfo; } - /** - * A static create result indicating that the service creation failed. - */ - public static final ServiceCreateResult FAILED = new ServiceCreateResult(State.FAILED, null, null); - /** * Creates a new result with the state set to deferred and using the given creation id. *