Polishing

This commit is contained in:
Sam Brannen
2024-08-08 17:48:57 +03:00
parent cd7c650941
commit f6110dda06
3 changed files with 13 additions and 12 deletions

View File

@@ -288,9 +288,9 @@ public abstract class ObjectUtils {
}
/**
* Convert the given array (which may be a primitive array) to an
* object array (if necessary of primitive wrapper objects).
* <p>A {@code null} source value will be converted to an
* Convert the given array (which may be a primitive array) to an object array (if
* necessary, to an array of primitive wrapper objects).
* <p>A {@code null} source value or empty primitive array will be converted to an
* empty Object array.
* @param source the (potentially primitive) array
* @return the corresponding object array (never {@code null})