[
https://issues.apache.org/jira/browse/ATLAS-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14902022#comment-14902022
]
Shwetha G S commented on ATLAS-147:
-----------------------------------
[~ltfxyz], can you add a test for it - in TypeSystemTest?
> Fix a code issue when defineTypes
> ---------------------------------
>
> Key: ATLAS-147
> URL: https://issues.apache.org/jira/browse/ATLAS-147
> Project: Atlas
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: liutongfeng
> Assignee: liutongfeng
> Priority: Minor
> Labels: patch
> Fix For: trunk
>
> Attachments: ATLAS-147.patch
>
>
> file : org/apache/atlas/typesystem/types/TypeSystem.java
> for (StructTypeDefinition structDef : structDefs) {
> constructStructureType(structDef);
> typeCategoriesToTypeNamesMap.put(DataTypes.TypeCategory.CLASS,
> structDef.typeName);
> }
> The above TypeCategory.CLASS should be TypeCategory.STRUCT.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)