1.Bug:DM_BOXED_PRIMITIVE_FOR_PARSING
"Boxing/unboxing to parse a primitive", A boxed primitive is created from a String, just to extract the unboxed primitive value. It is more efficient to just call the static parseXXX method
原因:裝箱和拆箱的問題,把一個字符串裝箱,解析獲取箱子中原始值。更有效率就是使用靜態方法,parseXXX 方法。
原始代碼:Integer.valueOf(okNums) == 0
修改后的代碼:Integer.parseInt(okNums) == 0