You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/08/19 19:41:18 UTC

[jira] [Commented] (THRIFT-2670) Android Parcelable Java generation option

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

ASF GitHub Bot commented on THRIFT-2670:
----------------------------------------

GitHub user kedzie opened a pull request:

    https://github.com/apache/thrift/pull/196

    THRIFT-2670 Android parcelable generator

    -add 'android' option to java compiler which will generate Parcelable structures for Android
    
    https://issues.apache.org/jira/browse/THRIFT-2670

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kedzie/thrift THRIFT-2670

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/196.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #196
    
----
commit 89e686c3fd776a0b538d9811284803a8b6b7d656
Author: kedzie <ma...@gmail.com>
Date:   2014-08-12T18:26:24Z

    THRIFT-2670 Android parcelable generator
    
    -add 'android' option to java compiler which will generate Parcelable structures for Android

----


> Android Parcelable Java generation option
> -----------------------------------------
>
>                 Key: THRIFT-2670
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2670
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Java - Compiler
>            Reporter: Marek Kedzierski
>              Labels: Android
>             Fix For: 1.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I added a java compiler option, for Android, to generate parcelable structures.  This means they implement android.os.Parcelable interface, and also define an inner static member called CREATOR.  All data types are supported except for Sets, because android parcel doesn't have a way to write/read sets.  
> I am making a github pull request for this.   



--
This message was sent by Atlassian JIRA
(v6.2#6252)