Skip to content
Snippets Groups Projects
Commit 2df0e08e authored by Rustam Lotsmanenko (EPAM)'s avatar Rustam Lotsmanenko (EPAM)
Browse files

class cast bugfix

parent 3372a074
No related branches found
No related tags found
1 merge request!142Array of Objects support by Indexer (GONRG-2028)
......@@ -102,7 +102,7 @@ public class TypeMapper {
if(isMap(indexerType)){
Map<String,Object> type = (Map<String, Object>) indexerType;
HashMap<String, Object> propertiesMap = (HashMap<String, Object>) type.get(Constants.PROPERTIES);
Map<String, Object> propertiesMap = (Map<String, Object>) type.get(Constants.PROPERTIES);
for (Map.Entry<String,Object> entry : propertiesMap.entrySet()){
entry.setValue(Records.Type.builder().type(entry.getValue().toString()).build());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment