File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ comparables.add(3.1415);
2121comparables. add(" Lars" );
2222Comparable [] comparableArray = ArrayUtils . toArray(comparables);
2323```
24- <sup ><a href =' /approvaltests-util-tests/src/test/java/com/spun/util/ArrayUtilsTest.java#L43- L50 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-toarray ' title =' Start of snippet ' >anchor</a ></sup >
24+ <sup ><a href =' /approvaltests-util-tests/src/test/java/com/spun/util/ArrayUtilsTest.java#L50-L57 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-toarray ' title =' Start of snippet ' >anchor</a ></sup >
2525<!-- endSnippet -->
2626
2727This works in almost all cases with the notable exceptions of empty arrays, some common interfaces
@@ -32,7 +32,7 @@ In which case you can always use the overloaded method
3232``` java
3333Comparable [] array = ArrayUtils . toArray(comparables, Comparable . class);
3434```
35- <sup ><a href =' /approvaltests-util-tests/src/test/java/com/spun/util/ArrayUtilsTest.java#L51-L53 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-toarraywithclass ' title =' Start of snippet ' >anchor</a ></sup >
35+ <sup ><a href =' /approvaltests-util-tests/src/test/java/com/spun/util/ArrayUtilsTest.java#L58-L60 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-toarraywithclass ' title =' Start of snippet ' >anchor</a ></sup >
3636<!-- endSnippet -->
3737
3838
You can’t perform that action at this time.
0 commit comments