dungnn / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

JsonWriter should implement Flushable #446

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I propose an enhancement for the com.google.gson.stream.JsonWriter class, that 
it should implement Flushable as well as Closeable.  

The implemented flush() method would just be the existing flush() method.  With 
this enhancement it would be possible to use this class with Flushables from 
the guava api.

Original issue reported on code.google.com by forticul...@gmail.com on 17 May 2012 at 1:36

GoogleCodeExporter commented 9 years ago
Great idea. Done with r1155.

Original comment by limpbizkit on 30 Jun 2012 at 2:47