You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2012/11/12 15:39:13 UTC

[jira] [Created] (PROTON-127) Rename the org.apache.qpid.proton.type package for nicer Scala support

Hiram Chirino created PROTON-127:
------------------------------------

             Summary: Rename the org.apache.qpid.proton.type package for nicer Scala support
                 Key: PROTON-127
                 URL: https://issues.apache.org/jira/browse/PROTON-127
             Project: Qpid Proton
          Issue Type: Bug
            Reporter: Hiram Chirino
            Priority: Minor


'type' is a reserved word in Scala. So when using proton from scala, you end up doing imports like:

import org.apache.qpid.proton.`type`.messaging.Accepted

Which is kinda ugly.   Would be nice if that package was renamed so something else.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PROTON-127) Rename the org.apache.qpid.proton.type package for nicer Scala support

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PROTON-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino updated PROTON-127:
---------------------------------

    Component/s: proton-j
    
> Rename the org.apache.qpid.proton.type package for nicer Scala support
> ----------------------------------------------------------------------
>
>                 Key: PROTON-127
>                 URL: https://issues.apache.org/jira/browse/PROTON-127
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>            Reporter: Hiram Chirino
>            Priority: Minor
>
> 'type' is a reserved word in Scala. So when using proton from scala, you end up doing imports like:
> import org.apache.qpid.proton.`type`.messaging.Accepted
> Which is kinda ugly.   Would be nice if that package was renamed so something else.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira