Upgrade to Mockito 2.11
Includes fixes for invalid exception declarations in Mockito-based unit tests. Also includes FreeMarker 2.3.27, Commons Pool 2.4.3, JSON-P 1.1.2. Issue: SPR-16157
This commit is contained in:
@@ -48,7 +48,7 @@ public class ByteArrayResource extends AbstractResource {
|
||||
|
||||
|
||||
/**
|
||||
* Create a new ByteArrayResource.
|
||||
* Create a new {@code ByteArrayResource}.
|
||||
* @param byteArray the byte array to wrap
|
||||
*/
|
||||
public ByteArrayResource(byte[] byteArray) {
|
||||
@@ -56,7 +56,7 @@ public class ByteArrayResource extends AbstractResource {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new ByteArrayResource.
|
||||
* Create a new {@code ByteArrayResource} with a description.
|
||||
* @param byteArray the byte array to wrap
|
||||
* @param description where the byte array comes from
|
||||
*/
|
||||
@@ -66,6 +66,7 @@ public class ByteArrayResource extends AbstractResource {
|
||||
this.description = (description != null ? description : "");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return the underlying byte array.
|
||||
*/
|
||||
@@ -73,7 +74,6 @@ public class ByteArrayResource extends AbstractResource {
|
||||
return this.byteArray;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This implementation always returns {@code true}.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user