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

ASF GitHub Bot commented on GEARPUMP-141:
-----------------------------------------

Github user huafengw commented on the pull request:

    https://github.com/apache/incubator-gearpump/pull/20#issuecomment-219916439
  
    That's  overriding Java's default serialization implementation:
    
    ```
    There is, however, a strange yet crafty solution. By using a built-in 
feature of the serialization mechanism, developers can enhance the normal 
process by providing two methods inside their class files. Those methods are:
    
    private void writeObject(ObjectOutputStream out) throws IOException;
    private void readObject(ObjectInputStream in) throws IOException, 
ClassNotFoundException;
    ```
    
    From http://www.oracle.com/technetwork/articles/java/javaserial-1536170.html


> Remove useless method
> ---------------------
>
>                 Key: GEARPUMP-141
>                 URL: https://issues.apache.org/jira/browse/GEARPUMP-141
>             Project: Apache Gearpump
>          Issue Type: Improvement
>          Components: hbase 
>    Affects Versions: 0.8.0
>            Reporter: darion yaphet
>            Priority: Minor
>
> In external-hbase module , writeObject and readObject seems never used .  We 
> can remove this methods .



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to