Skip to content

Commit

Permalink
using commons-lang3 ExceptionUtils instead of commons-lang and remove…
Browse files Browse the repository at this point in the history
… useless code
  • Loading branch information
ChengJie1053 committed Jan 26, 2024
1 parent e74f0ab commit 805ddbf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.linkis.rpc.conf;

import org.apache.commons.lang.exception.ExceptionUtils;
import org.apache.commons.lang3.exception.ExceptionUtils;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ class GatewaySpringConfiguration {
TokenAuthentication.setTokenService(tokenService)
}

// @Bean(Array("defaultGatewayParser"))
// @ConditionalOnMissingBean
// @Autowired(required = false)
// def createGatewayParser(gatewayParsers: Array[GatewayParser]): DefaultGatewayParser =
// new DefaultGatewayParser(gatewayParsers)
//
// @Bean(Array("defaultGatewayRouter"))
// @ConditionalOnMissingBean
// def createGatewayRouter(): DefaultGatewayParser = new DefaultGatewayRouter

@Bean(Array("userRestful"))
@ConditionalOnMissingBean
@Autowired(required = false)
Expand Down

0 comments on commit 805ddbf

Please sign in to comment.