Skip to content

Commit

Permalink
remove some spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
ren2003u committed Oct 17, 2023
1 parent 541b4f9 commit c99af6f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class TempInfoHandleService {
UserInfoRepository userInfoRepository;
@Scheduled(every = "2m")
@SuppressWarnings("unused") // Executing a Scheduled Task
void handle() throws Exception {
void handle() {
Stopwatch stopwatch = Stopwatch.createStarted();
if(Boolean.TRUE.equals(operationUtils.getEnableInternetAccess()) && platformUtils.isRegistryPlatformAvailable(stopwatch.toString())) {
handleTempInfo();
Expand All @@ -67,7 +67,7 @@ void handle() throws Exception {
}


public void handleTempInfo() {
public void handleTempInfo(){
var tempInfos = tempRegistryInfoRepository.findAll(Sort.by("createAt")).list();
for(var tempInfo : tempInfos) {
switch (RequestTypeEnum.fromValue(tempInfo.getType())) {
Expand Down Expand Up @@ -95,7 +95,7 @@ public void registryClient(TempRegistryInfoEntity tempInfo, ClientRegistryInfo c

@Logged
@Transactional
public void registryUser(TempRegistryInfoEntity tempInfo, UserRegistryInfo userRegistryInfo) {
public void registryUser(TempRegistryInfoEntity tempInfo, UserRegistryInfo userRegistryInfo){
var userRegistryResult = platformRegistryService.registryUser(tempInfo.getRequestId(), userRegistryInfo, true);
if (Objects.equals(tempInfo.getUserId(), Long.valueOf(Const.Admin.ADMIN_ID))){
memberManageService.writeUserDomainToAdminFile(userRegistryResult.userDomain());
Expand Down

0 comments on commit c99af6f

Please sign in to comment.