[jira] [Created] (OFBIZ-4387) Generic class instantiations with incorrect type parameters

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-4387) Generic class instantiations with incorrect type parameters

Nicolas Malin (Jira)
Generic class instantiations with incorrect type parameters
-----------------------------------------------------------

                 Key: OFBIZ-4387
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4387
             Project: OFBiz
          Issue Type: Bug
          Components: product
    Affects Versions: SVN trunk
         Environment: rev 1163479
            Reporter: Paul Foxworthy
            Priority: Minor


Some variables are declared as Map<String, String> but assigned collections where not all values are strings. These statements will not compile with some Java compilers.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4387) Generic class instantiations with incorrect type parameters

Nicolas Malin (Jira)

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

Paul Foxworthy updated OFBIZ-4387:
----------------------------------

    Attachment: OFBIZ-4387_IncorrectTypeParams.patch

> Generic class instantiations with incorrect type parameters
> -----------------------------------------------------------
>
>                 Key: OFBIZ-4387
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4387
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: rev 1163479
>            Reporter: Paul Foxworthy
>            Priority: Minor
>         Attachments: OFBIZ-4387_IncorrectTypeParams.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Some variables are declared as Map<String, String> but assigned collections where not all values are strings. These statements will not compile with some Java compilers.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4387) Generic class instantiations with incorrect type parameters

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Paul Foxworthy updated OFBIZ-4387:
----------------------------------

    Attachment: OFBIZ-4387_IncorrectTypeParams.patch

> Generic class instantiations with incorrect type parameters
> -----------------------------------------------------------
>
>                 Key: OFBIZ-4387
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4387
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: rev 1163479
>            Reporter: Paul Foxworthy
>            Priority: Minor
>         Attachments: OFBIZ-4387_IncorrectTypeParams.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Some variables are declared as Map<String, String> but assigned collections where not all values are strings. These statements will not compile with some Java compilers.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4387) Generic class instantiations with incorrect type parameters

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Paul Foxworthy updated OFBIZ-4387:
----------------------------------

    Attachment:     (was: OFBIZ-4387_IncorrectTypeParams.patch)

> Generic class instantiations with incorrect type parameters
> -----------------------------------------------------------
>
>                 Key: OFBIZ-4387
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4387
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: rev 1163479
>            Reporter: Paul Foxworthy
>            Priority: Minor
>         Attachments: OFBIZ-4387_IncorrectTypeParams.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Some variables are declared as Map<String, String> but assigned collections where not all values are strings. These statements will not compile with some Java compilers.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4387) Generic class instantiations with incorrect type parameters

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Paul Foxworthy commented on OFBIZ-4387:
---------------------------------------

Minor fix to the patch

> Generic class instantiations with incorrect type parameters
> -----------------------------------------------------------
>
>                 Key: OFBIZ-4387
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4387
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: rev 1163479
>            Reporter: Paul Foxworthy
>            Priority: Minor
>         Attachments: OFBIZ-4387_IncorrectTypeParams.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Some variables are declared as Map<String, String> but assigned collections where not all values are strings. These statements will not compile with some Java compilers.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-4387) Generic class instantiations with incorrect type parameters

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux closed OFBIZ-4387.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
         Assignee: Jacques Le Roux

Thanks Paul,

Your patch is in trunk r1167116. As it's a trivial fix and not a known/general problem I did not backport


> Generic class instantiations with incorrect type parameters
> -----------------------------------------------------------
>
>                 Key: OFBIZ-4387
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4387
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: rev 1163479
>            Reporter: Paul Foxworthy
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-4387_IncorrectTypeParams.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Some variables are declared as Map<String, String> but assigned collections where not all values are strings. These statements will not compile with some Java compilers.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Issue Comment Edited] (OFBIZ-4387) Generic class instantiations with incorrect type parameters

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux edited comment on OFBIZ-4387 at 9/9/11 12:37 PM:
-----------------------------------------------------------------

Thanks Paul,

Your patch is in trunk r1167132. As it's a trivial fix and not a known/general problem I did not backport

EDIT: wrong rev #


      was (Author: jacques.le.roux):
    Thanks Paul,

Your patch is in trunk r1167116. As it's a trivial fix and not a known/general problem I did not backport

 

> Generic class instantiations with incorrect type parameters
> -----------------------------------------------------------
>
>                 Key: OFBIZ-4387
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4387
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: rev 1163479
>            Reporter: Paul Foxworthy
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-4387_IncorrectTypeParams.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Some variables are declared as Map<String, String> but assigned collections where not all values are strings. These statements will not compile with some Java compilers.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira