All tags that reference to particular object are stored in a list within a map.
There is a if statement that inits empty list when there are not references
to the current object yet, but the boolean expression checks for the wrong value.
// skip non-annotated tags\r
continue;\r
}\r
- if (!tags.containsKey(tag.getObjectId().getName())) {\r
+ if (!tags.containsKey(tag.getReferencedObjectId().getName())) {\r
tags.put(tag.getReferencedObjectId().getName(), new ArrayList<String>());\r
}\r
tags.get(tag.getReferencedObjectId().getName()).add(tag.displayName);\r