可変長引数メソッドの呼び出しで、可変長引数パラメーターの位置にプリミティブの配列があるものを報告します。 Such a primitive-array argument may be confusing, as it will be wrapped in a single-element array argument, rather than each element being a separate argument, as may be expected.

例:


  String.format("%s", new int[]{1, 2, 3});

クイックフィックス適用後:


  String.format("%s", (Object) new int[]{1, 2, 3});