mirror of https://github.com/apache/druid.git
Fix unused format argument (#8345)
This commit is contained in:
parent
ffcbd1ecb8
commit
5e35500e0e
|
@ -112,7 +112,7 @@ public final class Rows
|
||||||
throw new ParseException(e, "Unable to parse value[%s] for field[%s]", inputValue, name);
|
throw new ParseException(e, "Unable to parse value[%s] for field[%s]", inputValue, name);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new ParseException("Unknown type[%s] for field", inputValue.getClass(), inputValue);
|
throw new ParseException("Unknown type[%s] for field[%s]", inputValue.getClass(), name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -117,7 +117,7 @@ public class JsonIterator<T> implements Iterator<T>, Closeable
|
||||||
}
|
}
|
||||||
final JsonToken nextToken = jp.nextToken();
|
final JsonToken nextToken = jp.nextToken();
|
||||||
if (nextToken != JsonToken.START_ARRAY) {
|
if (nextToken != JsonToken.START_ARRAY) {
|
||||||
throw new IAE("First token should be START_ARRAY", jp.getCurrentToken());
|
throw new IAE("First token should be START_ARRAY, but it is actually [%s]", jp.getCurrentToken());
|
||||||
} else {
|
} else {
|
||||||
jp.nextToken();
|
jp.nextToken();
|
||||||
objectCodec = jp.getCodec();
|
objectCodec = jp.getCodec();
|
||||||
|
|
Loading…
Reference in New Issue