cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAY-2544) Possible name clash of ivar and property name in generated class
Date Fri, 01 Mar 2019 06:52:00 GMT

     [ https://issues.apache.org/jira/browse/CAY-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikita Timofeev reassigned CAY-2544:
------------------------------------

    Assignee: Nikita Timofeev

> Possible name clash of ivar and property name in generated class
> ----------------------------------------------------------------
>
>                 Key: CAY-2544
>                 URL: https://issues.apache.org/jira/browse/CAY-2544
>             Project: Cayenne
>          Issue Type: Bug
>          Components: cgen
>    Affects Versions: 4.1.M2, 4.2.M1
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.1.M3, 4.2.M1
>
>
> We generate same name for ivar and property if attribute name is all upper-case letters.
> Generated code looks like this:
> {code}
> public static final Property<String> URL = Property.create("URL", String.class);
> protected String URL;
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message