mirror of https://github.com/apache/lucene.git
In ConfigSetProperties use unintentionally unused local (objectClass).
This commit is contained in:
parent
85603b0eca
commit
a84d9a5d69
|
@ -70,7 +70,7 @@ public class ConfigSetProperties {
|
|||
Object object = ObjectBuilder.getVal(jsonParser);
|
||||
if (!(object instanceof Map)) {
|
||||
final String objectClass = object == null ? "null" : object.getClass().getName();
|
||||
throw new SolrException(ErrorCode.SERVER_ERROR, "Invalid JSON type " + object.getClass().getName() + ", expected Map");
|
||||
throw new SolrException(ErrorCode.SERVER_ERROR, "Invalid JSON type " + objectClass + ", expected Map");
|
||||
}
|
||||
return new NamedList((Map)object);
|
||||
} catch (Exception ex) {
|
||||
|
|
Loading…
Reference in New Issue