atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-147) Fix a code issue when defineTypes
Date Tue, 22 Sep 2015 06:20:04 GMT

    [ 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)

Mime
View raw message