Code specification, guidance from Senior Brother Li

  1 Standard interface: The methods in the interface are public by default, so there is no need to write public, and it is not wrong to write it.

  2 Standard test code: The test code is uninstalled in the test package and tested by unit testing instead of the main function.

  3 Canonical print test text: use

private  static Logger logger = LogManager.getLogger(MergeRunnable.class ); logger.info
("Test content text");)

instead of

system.out.println()

 

  

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324737563&siteId=291194637