gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-463) Missing assignment in CassandraSubColumn#getUnionSchema()
Date Sun, 28 Feb 2016 23:12:18 GMT

    [ https://issues.apache.org/jira/browse/GORA-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15171232#comment-15171232
] 

Hudson commented on GORA-463:
-----------------------------

FAILURE: Integrated in gora-trunk #1639 (See [https://builds.apache.org/job/gora-trunk/1639/])
GORA-463 Missing assignment in CassandraSubColumn#getUnionSchema() (lewis.j.mcgibbney: rev
e0009e6d6e42d2b2462f28bcff83648f2a1b77a5)
* gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSubColumn.java


> Missing assignment in CassandraSubColumn#getUnionSchema()
> ---------------------------------------------------------
>
>                 Key: GORA-463
>                 URL: https://issues.apache.org/jira/browse/GORA-463
>             Project: Apache Gora
>          Issue Type: Bug
>    Affects Versions: 0.6.1
>            Reporter: Ted Yu
>            Assignee: Lewis John McGibbney
>             Fix For: 0.7
>
>
> Here is related code:
> {code}
>     Schema unionSchema = pSchema.getTypes().get(pSchemaPos);
>     // default union element
>     if ( unionSchema == null )
>       pSchema.getTypes().get(CassandraStore.DEFAULT_UNION_SCHEMA);
> {code}
> The return value from pSchema.getTypes().get() should be assigned to unionSchema before
returning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message