cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4038) Remove org.apache.cordova.api in favour of org.apache.cordova
Date Tue, 02 Jul 2013 12:52:20 GMT

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

Andrew Grieve commented on CB-4038:
-----------------------------------

The biggest change on the Java side is removing Plugin.java in favour of CordovaPlugin.java.


If we delete the .api versions, then the only change would be to update the import paths.
We could even write a script to do this for them.

If we leave as-is now, with a .api version extending the non-one, then there's no change necessary
whatsoever.
                
> Remove org.apache.cordova.api in favour of org.apache.cordova
> -------------------------------------------------------------
>
>                 Key: CB-4038
>                 URL: https://issues.apache.org/jira/browse/CB-4038
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>
> Having two different packages hurts our ability to use package-private visibility, and
therefore forces us to make non-API symbols public.
> We should get move classes that are in .api into the main package so that internal symbols
can be made package-private.
> For the deprecation period, we'll leave classes in .api that extend the moved copies.

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

Mime
View raw message