Skip to content

Commit 14a786d

Browse files
committed
fixed bug in docs
1 parent 8c8db07 commit 14a786d

File tree

1 file changed

+1
-1
lines changed
  • core-codemods/src/main/resources/io/codemodder/codemods/UseEmptyForToArrayCodemod

1 file changed

+1
-1
lines changed

core-codemods/src/main/resources/io/codemodder/codemods/UseEmptyForToArrayCodemod/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.
22

33
The point of the argument is provide an array to hold the objects and be returned, according to the documentation:
44

0 commit comments

Comments
 (0)