1.Avoid unused constructor parameters such as “XXX”:
某某参数无效,可以删掉,最速改法:选种方法,右键,refactor,change method signature,选中不需要的参数,remove;
2.Avoid using implementation types like 'ArrayList'; use the interface instead:
把arraylist改成list;
1.Avoid unused constructor parameters such as “XXX”:
某某参数无效,可以删掉,最速改法:选种方法,右键,refactor,change method signature,选中不需要的参数,remove;
2.Avoid using implementation types like 'ArrayList'; use the interface instead:
把arraylist改成list;