You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core-codemods/src/main/resources/io/codemodder/codemods/UseEmptyForToArrayCodemod/description.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
This change updates new array creation with [https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html#toArray-T:A-](Collection#toArray(T[])) to use an empty array argument, which is better for performance.
1
+
This change updates new array creation with [Collection#toArray(T[])](https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html#toArray-T:A-) to use an empty array argument, which is better for performance.
2
2
3
3
The point of the argument is provide an array to hold the objects and be returned, according to the documentation:
0 commit comments