husofskyzy opened a new issue #1824:
URL: https://github.com/apache/incubator-linkis/issues/1824


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-linkis/issues) and found no 
similar feature requirement.
   
   
   ### Problem Description
   
   _No response_
   
   ### Description
   
   ### 1.1 general commons Lang methods can be directly upgraded to Commons 
lang3 methods. The main modification is to convert some passed parameters from 
string to charsequences
   
   ### 1.2 when the parameters of the Commons Lang method are string [] {"Tom", 
"Lucy", "Bob"} the parameters of the Commons lang3 method are charsequences 
("Tom", "Lucy", "Bob"), but in Scala, when the parameters of charsequences are 
passed, only one string parameter can be passed. If multiple parameters are 
passed, an error will be reported --- class (codeparser) charsequence 
searchStrings
   val closeBrackets = Array("}", ")", "]")
   Commons-lang3 parameter passing method stringutils endsWithAny(real, 
openBrackets)
   Commons Lang parameter passing method stringutils endsWithAny(real, 
openBrackets: _*)
   
   ### 1.3 org. apache. commons. lang3. exception. ExceptionUtils. 
Getstacktrace replaces org apache. commons. lang3. exception. ExceptionUtils. 
getFullStackTrace
   
   ### 1.4 org. apache. commons. lang.ClassUtils. When getClass (classname) 
uses the commons-lang3 package, you need to add strong conversion (class <? 
Extensions labelbuilderfactory >) classutils getClass(className);
   
   
   
   ### Use case
   
   _No response_
   
   ### solutions
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@linkis.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@linkis.apache.org
For additional commands, e-mail: dev-h...@linkis.apache.org

Reply via email to