Skip to content

Commit

Permalink
mvn spotless:apply #andy
Browse files Browse the repository at this point in the history
  • Loading branch information
andylau-55 committed Jan 10, 2025
1 parent a25f0f5 commit 80c7c98
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public SchedulerEnum.TaskStatus getStatus(TaskExecuteContext context, String res
SchedulerTask task = memoryTaskServer.getTask(resource);
SchedulerTask schedulerTask = context.getTask();
if (task == null) {
context.addTraceLog("Splitter task not found, recreate it");
context.addTraceLog("Splitter task not found, recreating……");
submit(context);
return SchedulerEnum.TaskStatus.RUNNING;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public SchedulerEnum.TaskStatus getStatus(TaskExecuteContext context, String res
SchedulerTask task = memoryTaskServer.getTask(resource);
SchedulerTask schedulerTask = context.getTask();
if (task == null) {
context.addTraceLog("Extractor task not found, recreate it");
context.addTraceLog("Extractor task not found, recreating……");
submit(context);
return SchedulerEnum.TaskStatus.RUNNING;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public SchedulerEnum.TaskStatus getStatus(TaskExecuteContext context, String res
SchedulerTask task = memoryTaskServer.getTask(resource);
SchedulerTask schedulerTask = context.getTask();
if (task == null) {
context.addTraceLog("Splitter task not found, recreate it");
context.addTraceLog("Splitter task not found, recreating……");
submit(context);
return SchedulerEnum.TaskStatus.RUNNING;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@
*/
package com.antgroup.openspg.server.core.scheduler.service.task.async.builder;

import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicLong;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference;

import com.antgroup.openspg.builder.model.record.SubGraphRecord;
import com.antgroup.openspg.cloudext.interfaces.objectstorage.ObjectStorageClient;
import com.antgroup.openspg.cloudext.interfaces.objectstorage.ObjectStorageClientDriverManager;
Expand All @@ -39,9 +44,6 @@
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicLong;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
Expand Down Expand Up @@ -98,7 +100,7 @@ public SchedulerEnum.TaskStatus getStatus(TaskExecuteContext context, String res
SchedulerTask task = memoryTaskServer.getTask(resource);
SchedulerTask schedulerTask = context.getTask();
if (task == null) {
context.addTraceLog("Vectorizer task not found, recreate it");
context.addTraceLog("Vectorizer task not found, recreating……");
submit(context);
return SchedulerEnum.TaskStatus.RUNNING;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public SchedulerEnum.TaskStatus getStatus(TaskExecuteContext context, String res
SchedulerTask task = memoryTaskServer.getTask(resource);
SchedulerTask schedulerTask = context.getTask();
if (task == null) {
context.addTraceLog("Writer task not found, recreate it");
context.addTraceLog("Writer task not found, recreating……");
submit(context);
return SchedulerEnum.TaskStatus.RUNNING;
}
Expand Down

0 comments on commit 80c7c98

Please sign in to comment.