You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Suma Shivaprasad (JIRA)" <ji...@apache.org> on 2015/09/21 17:40:04 UTC
[jira] [Commented] (ATLAS-147) Fix a code issue when defineTypes
[ https://issues.apache.org/jira/browse/ATLAS-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14900841#comment-14900841 ]
Suma Shivaprasad commented on ATLAS-147:
----------------------------------------
+1.
> 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
> 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)