mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-04 11:26:44 -04:00
Fix bad format in validator message.
(cherry picked from commit 6ddb799a95
)
This commit is contained in:
@@ -81,7 +81,7 @@ class IIOInputStreamAdapter extends InputStream {
|
|||||||
|
|
||||||
private IIOInputStreamAdapter(ImageInputStream pInput, long pLength, boolean pHasLength) {
|
private IIOInputStreamAdapter(ImageInputStream pInput, long pLength, boolean pHasLength) {
|
||||||
Validate.notNull(pInput, "stream");
|
Validate.notNull(pInput, "stream");
|
||||||
Validate.isTrue(!pHasLength || pLength >= 0, pLength, "length < 0: %f");
|
Validate.isTrue(!pHasLength || pLength >= 0, pLength, "length < 0: %d");
|
||||||
|
|
||||||
input = pInput;
|
input = pInput;
|
||||||
left = pLength;
|
left = pLength;
|
||||||
|
Reference in New Issue
Block a user