diff --git a/datasophon-common/src/main/java/com/datasophon/common/command/InstallServiceRoleCommandConfirm.java b/datasophon-common/src/main/java/com/datasophon/common/command/InstallServiceRoleCommandConfirm.java index 47e21c32..1ccfc2a3 100644 --- a/datasophon-common/src/main/java/com/datasophon/common/command/InstallServiceRoleCommandConfirm.java +++ b/datasophon-common/src/main/java/com/datasophon/common/command/InstallServiceRoleCommandConfirm.java @@ -17,10 +17,10 @@ package com.datasophon.common.command; -import java.io.Serializable; - import lombok.Data; +import java.io.Serializable; + @Data public class InstallServiceRoleCommandConfirm implements Serializable { diff --git a/datasophon-worker/src/main/java/com/datasophon/worker/WorkerApplicationServer.java b/datasophon-worker/src/main/java/com/datasophon/worker/WorkerApplicationServer.java index f8c06bff..e436925a 100644 --- a/datasophon-worker/src/main/java/com/datasophon/worker/WorkerApplicationServer.java +++ b/datasophon-worker/src/main/java/com/datasophon/worker/WorkerApplicationServer.java @@ -19,6 +19,15 @@ package com.datasophon.worker; +import akka.actor.ActorRef; +import akka.actor.ActorSelection; +import akka.actor.ActorSystem; +import akka.actor.Props; +import akka.event.EventStream; +import akka.remote.AssociatedEvent; +import akka.remote.AssociationErrorEvent; +import akka.remote.DisassociatedEvent; +import com.alibaba.fastjson.JSONObject; import com.datasophon.common.Constants; import com.datasophon.common.cache.CacheUtils; import com.datasophon.common.lifecycle.ServerLifeCycleManager; @@ -30,6 +39,10 @@ import com.datasophon.worker.actor.WorkerActor; import com.datasophon.worker.utils.ActorUtils; import com.datasophon.worker.utils.UnixUtils; +import com.typesafe.config.Config; +import com.typesafe.config.ConfigFactory; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import java.net.InetAddress; import java.net.UnknownHostException; @@ -37,22 +50,6 @@ import java.util.HashMap; import java.util.Map; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import com.alibaba.fastjson.JSONObject; -import com.typesafe.config.Config; -import com.typesafe.config.ConfigFactory; - -import akka.actor.ActorRef; -import akka.actor.ActorSelection; -import akka.actor.ActorSystem; -import akka.actor.Props; -import akka.event.EventStream; -import akka.remote.AssociatedEvent; -import akka.remote.AssociationErrorEvent; -import akka.remote.DisassociatedEvent; - public class WorkerApplicationServer { private static final Logger logger = LoggerFactory.getLogger(WorkerApplicationServer.class);