In ConfigSetProperties use unintentionally unused local (objectClass).

This commit is contained in:
Christine Poerschke 2016-09-27 12:17:58 +01:00
parent 85603b0eca
commit a84d9a5d69
1 changed files with 1 additions and 1 deletions

View File

@ -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) {