This is an automated email from the ASF dual-hosted git repository.

leonbao pushed a commit to branch dev-131
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git

commit 0ed7942f9847525053c727452edd7faa91e289c3
Author: lgcareer <[email protected]>
AuthorDate: Sat Jul 4 15:50:50 2020 +0800

    add PropertyPlaceholderHelper on license (#3129)
    
    * update license header location
    
    * add PropertyPlaceholderHelper on license
---
 LICENSE                                                |  1 +
 NOTICE                                                 | 14 +++++++++++++-
 .../api/interceptor/LoginHandlerInterceptor.java       | 18 ++++--------------
 3 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/LICENSE b/LICENSE
index dba3bc5..9a0c6aa 100644
--- a/LICENSE
+++ b/LICENSE
@@ -215,3 +215,4 @@ The following components are provided under the Apache 
License. See project link
 The text of each license is the standard Apache 2.0 license.
     ScriptRunner from https://github.com/mybatis/mybatis-3 Apache 2.0
     mvnw files from https://github.com/takari/maven-wrapper Apache 2.0
+    PropertyPlaceholderHelper from 
https://github.com/spring-projects/spring-framework Apache 2.0
diff --git a/NOTICE b/NOTICE
index 63b57af..3e56958 100644
--- a/NOTICE
+++ b/NOTICE
@@ -72,4 +72,16 @@ Refactored SqlBuilder class (SQL, AbstractSQL)
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
-   limitations under the License.
\ No newline at end of file
+   limitations under the License.
+
+Spring Framework ${version}
+Copyright (c) 2002-${copyright} Pivotal, Inc.
+
+This product is licensed to you under the Apache License, Version 2.0
+(the "License"). You may not use this product except in compliance with
+the License.
+
+This product may include a number of subcomponents with separate
+copyright notices and license terms. Your use of the source code for
+these subcomponents is subject to the terms and conditions of the
+subcomponent's license, as noted in the license.txt file.
\ No newline at end of file
diff --git 
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/interceptor/LoginHandlerInterceptor.java
 
b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/interceptor/LoginHandlerInterceptor.java
index af29cb6..cb7a8e6 100644
--- 
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/interceptor/LoginHandlerInterceptor.java
+++ 
b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/interceptor/LoginHandlerInterceptor.java
@@ -50,20 +50,10 @@ public class LoginHandlerInterceptor implements 
HandlerInterceptor {
 
   /**
    * Intercept the execution of a handler. Called after HandlerMapping 
determined
-   * an appropriate handler object, but before HandlerAdapter invokes the 
handler.
-   * <p>DispatcherServlet processes a handler in an execution chain, consisting
-   * of any number of interceptors, with the handler itself at the end.
-   * With this method, each interceptor can decide to abort the execution 
chain,
-   * typically sending a HTTP error or writing a custom response.
-   * <p><strong>Note:</strong> special considerations apply for asynchronous
-   * request processing. For more details see
-   * {@link org.springframework.web.servlet.AsyncHandlerInterceptor}.
-   * @param request current HTTP request
-   * @param response current HTTP response
-   * @param handler chosen handler to execute, for type and/or instance 
evaluation
-   * @return {@code true} if the execution chain should proceed with the
-   * next interceptor or the handler itself. Else, DispatcherServlet assumes
-   * that this interceptor has already dealt with the response itself.
+   * @param request   current HTTP request
+   * @param response  current HTTP response
+   * @param handler   chosen handler to execute, for type and/or instance 
evaluation
+   * @return boolean true or false
    */
   @Override
   public boolean preHandle(HttpServletRequest request, HttpServletResponse 
response, Object handler) {

Reply via email to