From ee42aea11c9089987de2d77e2f82b12940edf152 Mon Sep 17 00:00:00 2001 From: guoshoujing Date: Fri, 25 Jun 2021 14:25:27 +0800 Subject: [PATCH] improve code style --- .../hugegraph/controller/schema/PropertyKeyController.java | 2 +- .../com/baidu/hugegraph/entity/schema/LabelUpdateEntity.java | 3 --- .../src/main/java/com/baidu/hugegraph/filter/AuthFilter.java | 2 +- .../java/com/baidu/hugegraph/service/system/AuthService.java | 2 -- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/hubble-be/src/main/java/com/baidu/hugegraph/controller/schema/PropertyKeyController.java b/hubble-be/src/main/java/com/baidu/hugegraph/controller/schema/PropertyKeyController.java index d92646e8..70381763 100644 --- a/hubble-be/src/main/java/com/baidu/hugegraph/controller/schema/PropertyKeyController.java +++ b/hubble-be/src/main/java/com/baidu/hugegraph/controller/schema/PropertyKeyController.java @@ -41,8 +41,8 @@ import com.baidu.hugegraph.entity.schema.UsingCheckEntity; import com.baidu.hugegraph.exception.ExternalException; import com.baidu.hugegraph.service.schema.PropertyKeyService; -import com.baidu.hugegraph.util.HubbleUtil; import com.baidu.hugegraph.util.Ex; +import com.baidu.hugegraph.util.HubbleUtil; import com.baomidou.mybatisplus.core.metadata.IPage; import lombok.extern.log4j.Log4j2; diff --git a/hubble-be/src/main/java/com/baidu/hugegraph/entity/schema/LabelUpdateEntity.java b/hubble-be/src/main/java/com/baidu/hugegraph/entity/schema/LabelUpdateEntity.java index 58b02f1f..29ee9829 100644 --- a/hubble-be/src/main/java/com/baidu/hugegraph/entity/schema/LabelUpdateEntity.java +++ b/hubble-be/src/main/java/com/baidu/hugegraph/entity/schema/LabelUpdateEntity.java @@ -26,10 +26,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; -import lombok.AllArgsConstructor; -import lombok.Builder; import lombok.Data; -import lombok.NoArgsConstructor; @Data public abstract class LabelUpdateEntity implements Typifiable { diff --git a/hubble-be/src/main/java/com/baidu/hugegraph/filter/AuthFilter.java b/hubble-be/src/main/java/com/baidu/hugegraph/filter/AuthFilter.java index 39eff7cd..9a5d659d 100644 --- a/hubble-be/src/main/java/com/baidu/hugegraph/filter/AuthFilter.java +++ b/hubble-be/src/main/java/com/baidu/hugegraph/filter/AuthFilter.java @@ -40,8 +40,8 @@ import com.baidu.hugegraph.common.Constant; import com.baidu.hugegraph.common.Response; -import com.baidu.hugegraph.driver.HugeClient; import com.baidu.hugegraph.config.AuthClientConfiguration; +import com.baidu.hugegraph.driver.HugeClient; import com.baidu.hugegraph.util.JsonUtil; import com.google.common.collect.ImmutableSet; diff --git a/hubble-be/src/main/java/com/baidu/hugegraph/service/system/AuthService.java b/hubble-be/src/main/java/com/baidu/hugegraph/service/system/AuthService.java index 951a15f9..5947b6a1 100644 --- a/hubble-be/src/main/java/com/baidu/hugegraph/service/system/AuthService.java +++ b/hubble-be/src/main/java/com/baidu/hugegraph/service/system/AuthService.java @@ -19,8 +19,6 @@ package com.baidu.hugegraph.service.system; -import java.util.Map; - import javax.annotation.Resource; import org.springframework.stereotype.Service;