File tree 4 files changed +4
-4
lines changed
src/main/java/org/springframework/data/domain
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ static Vector copy(double[] v) {
48
48
/**
49
49
* Copy the given numeric values and wrap within a Vector.
50
50
*/
51
- static Vector copy (Collection <Number > v ) {
51
+ static Vector copy (Collection <? extends Number > v ) {
52
52
53
53
double [] copy = new double [v .size ()];
54
54
int i = 0 ;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ static Vector copy(float[] v) {
48
48
/**
49
49
* Copy the given numeric values and wrap within a Vector.
50
50
*/
51
- static Vector copy (Collection <Number > v ) {
51
+ static Vector copy (Collection <? extends Number > v ) {
52
52
53
53
float [] copy = new float [v .size ()];
54
54
int i = 0 ;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ static Vector copy(Number[] v) {
48
48
/**
49
49
* Copy the given {@link Number} and wrap it within a Vector.
50
50
*/
51
- static Vector copy (Collection <Number > numbers ) {
51
+ static Vector copy (Collection <? extends Number > numbers ) {
52
52
53
53
Number [] copy = new Number [numbers .size ()];
54
54
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ static Vector of(double... values) {
72
72
* @param values number vector values.
73
73
* @return the {@link Vector} for the given vector values.
74
74
*/
75
- static Vector of (Collection <Number > values ) {
75
+ static Vector of (Collection <? extends Number > values ) {
76
76
77
77
Assert .notNull (values , "Vector values must not be null" );
78
78
You can’t perform that action at this time.
0 commit comments