瀏覽代碼

fix package typo

zhou-hao 4 年之前
父節點
當前提交
c166014856

+ 1 - 1
hsweb-logging/hsweb-access-logging-aop/src/main/java/org/hswebframework/web/loggin/aop/AccessLoggerParser.java

@@ -1,4 +1,4 @@
-package org.hswebframework.web.loggin.aop;
+package org.hswebframework.web.logging.aop;
 
 
 import org.hswebframework.web.aop.MethodInterceptorHolder;

+ 1 - 3
hsweb-logging/hsweb-access-logging-aop/src/main/java/org/hswebframework/web/loggin/aop/AopAccessLoggerSupport.java

@@ -1,4 +1,4 @@
-package org.hswebframework.web.loggin.aop;
+package org.hswebframework.web.logging.aop;
 
 import org.aopalliance.intercept.MethodInterceptor;
 import org.hswebframework.web.aop.MethodInterceptorHolder;
@@ -9,13 +9,11 @@ import org.hswebframework.web.logging.LoggerDefine;
 import org.hswebframework.web.logging.events.AccessLoggerAfterEvent;
 import org.hswebframework.web.logging.events.AccessLoggerBeforeEvent;
 import org.hswebframework.web.utils.WebUtils;
-import org.reactivestreams.Publisher;
 import org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.context.ApplicationEventPublisher;
 import org.springframework.core.Ordered;
 import org.springframework.util.ClassUtils;
-import reactor.core.publisher.Mono;
 
 import javax.servlet.http.HttpServletRequest;
 import java.lang.reflect.Method;

+ 1 - 4
hsweb-logging/hsweb-access-logging-aop/src/main/java/org/hswebframework/web/loggin/aop/AopAccessLoggerSupportAutoConfiguration.java

@@ -1,10 +1,7 @@
-package org.hswebframework.web.loggin.aop;
+package org.hswebframework.web.logging.aop;
 
 
 import org.hswebframework.web.logging.AccessLoggerListener;
-import org.springframework.beans.BeansException;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.beans.factory.config.BeanPostProcessor;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
 import org.springframework.context.annotation.Bean;

+ 1 - 1
hsweb-logging/hsweb-access-logging-aop/src/main/java/org/hswebframework/web/loggin/aop/DefaultAccessLoggerParser.java

@@ -1,4 +1,4 @@
-package org.hswebframework.web.loggin.aop;
+package org.hswebframework.web.logging.aop;
 
 
 import org.hswebframework.web.aop.MethodInterceptorHolder;

+ 1 - 1
hsweb-logging/hsweb-access-logging-aop/src/main/java/org/hswebframework/web/loggin/aop/EnableAccessLogger.java

@@ -16,7 +16,7 @@
  *
  */
 
-package org.hswebframework.web.loggin.aop;
+package org.hswebframework.web.logging.aop;
 
 import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
 

+ 1 - 4
hsweb-logging/hsweb-access-logging-aop/src/main/java/org/hswebframework/web/loggin/aop/ReactiveAopAccessLoggerSupport.java

@@ -1,4 +1,4 @@
-package org.hswebframework.web.loggin.aop;
+package org.hswebframework.web.logging.aop;
 
 import org.aopalliance.intercept.MethodInterceptor;
 import org.hswebframework.web.aop.MethodInterceptorHolder;
@@ -9,7 +9,6 @@ import org.hswebframework.web.logging.AccessLoggerInfo;
 import org.hswebframework.web.logging.AccessLoggerListener;
 import org.hswebframework.web.logging.LoggerDefine;
 import org.hswebframework.web.logging.events.AccessLoggerAfterEvent;
-import org.hswebframework.web.logging.events.AccessLoggerBeforeEvent;
 import org.hswebframework.web.utils.ReactiveWebUtils;
 import org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -25,8 +24,6 @@ import reactor.core.publisher.Mono;
 import reactor.util.context.Context;
 
 import java.lang.reflect.Method;
-import java.net.InetAddress;
-import java.net.InetSocketAddress;
 import java.util.*;
 import java.util.concurrent.ConcurrentHashMap;
 

+ 1 - 2
hsweb-logging/hsweb-access-logging-aop/src/main/java/org/hswebframework/web/loggin/aop/ResourceAccessLoggerParser.java

@@ -1,4 +1,4 @@
-package org.hswebframework.web.loggin.aop;
+package org.hswebframework.web.logging.aop;
 
 
 import org.hswebframework.web.aop.MethodInterceptorHolder;
@@ -6,7 +6,6 @@ import org.hswebframework.web.authorization.annotation.Resource;
 import org.hswebframework.web.authorization.annotation.ResourceAction;
 import org.hswebframework.web.logging.LoggerDefine;
 import org.springframework.core.annotation.AnnotatedElementUtils;
-import org.springframework.core.annotation.AnnotationUtils;
 import org.springframework.util.ClassUtils;
 
 import java.lang.annotation.Annotation;

+ 1 - 1
hsweb-logging/hsweb-access-logging-aop/src/main/java/org/hswebframework/web/loggin/aop/SwaggerAccessLoggerParser.java

@@ -1,4 +1,4 @@
-package org.hswebframework.web.loggin.aop;
+package org.hswebframework.web.logging.aop;
 
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;