[
https://issues.apache.org/jira/browse/THRIFT-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284901#comment-13284901
]
Bryan Duxbury commented on THRIFT-1613:
---------------------------------------
Hm, I don't know if this is the correct resolution. If the file was empty, then
it was probably the result of a deletion patch getting applied. In which case,
the solution should be to delete ToStringTest.java, not add its contents back.
My memory is failing me at the moment, but I believe the functionality of that
test moved to another testcase. Someone should verify this.
> Add code back into empty source file ToStringTest.java
> ------------------------------------------------------
>
> Key: THRIFT-1613
> URL: https://issues.apache.org/jira/browse/THRIFT-1613
> Project: Thrift
> Issue Type: Test
> Components: Java - Library
> Environment: All java
> Reporter: Andrew Cox
> Priority: Minor
> Fix For: 0.9
>
> Attachments:
> 0001-restore-lib-java-test-org-apache-thrift-test-ToStrin.patch
>
>
> This test file was emptied but the file was not removed when java fields were
> converted to use ByteBuffer instead of byte[]. Having an empty file confuses
> some IDEs. The attached patch just restores the original code, with very
> slight changes to wrap the byte[] inputs in ByteBuffer to get it working.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira