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:
Juergen Hoeller
2017-11-04 01:06:59 +01:00
parent a37fce854f
commit 996d747aed
8 changed files with 27 additions and 24 deletions

View File

@@ -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}.
*/