mirror of https://github.com/apache/lucene.git
SOLR-6924: messageformat requires strings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659860 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c6d2edf081
commit
02a391b284
|
@ -138,7 +138,7 @@ public class BlobHandler extends RequestHandlerBase implements PluginInfoInitia
|
|||
"size", payload.limit(),
|
||||
"blob", payload);
|
||||
verifyWithRealtimeGet(blobName, version, req, doc);
|
||||
log.info(MessageFormat.format("New blob inserting {0} ,size {1}, md5 {2}",doc.get("id"), payload.limit(),md5));
|
||||
log.info(MessageFormat.format("inserting new blob {0} ,size {1}, md5 {2}",doc.get("id"), String.valueOf(payload.limit()),md5));
|
||||
indexMap(req, rsp, doc);
|
||||
log.info(" Successfully Added and committed a blob with id {} and size {} ",id, payload.limit());
|
||||
|
||||
|
@ -184,7 +184,7 @@ public class BlobHandler extends RequestHandlerBase implements PluginInfoInitia
|
|||
|
||||
} else {
|
||||
throw new SolrException(SolrException.ErrorCode.NOT_FOUND,
|
||||
MessageFormat.format("Invalid combination of blobName {0} and version {1}", blobName,version));
|
||||
MessageFormat.format("Invalid combination of blobName {0} and version {1}", blobName,String.valueOf(version)));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue