在使用Arrays.copyof的時候發生如下錯誤
Usage of API documented as @since 1.6+ less... (Ctrl+F1)
This inspection finds all usages of methods that have @since tag in their documentation. This may be useful when development is performed under newer SDK version as the target platform for production.
工具:intellijidea java 1.8
查了一些資料發現是其他項目的java設置影響了編譯器的等級,參考如下博客,可以很完美的解決問題
參考博客:http://blog.csdn.net/u013174217/article/details/53642921