sonar manages code quality

sonar manages code quality

 

-----------------------------------

1 The basic knowledge of JAVA is not solid, which violates some basic principles of coding

  replace new Intger(int) with Interger.ValueOf()

   Integer==int error, trigger unboxing of null pointer

    Inappropriate use of Equals

    There is a problem with null judgment

  stream is not closed

  。。。。。。。。。。。。。。

 

2 The function implementation is unreasonable and too complicated

 

3 Unsightly

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326789226&siteId=291194637