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:41:07 UTC

[jira] [Comment Edited] (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 edited comment on ATLAS-147 at 9/21/15 3:41 PM:
-----------------------------------------------------------------

+1.  Thanks [~ltfxyz] . Will be committed tmrw


was (Author: suma.shivaprasad):
+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)