[JAVA-880] Fix up org.bson.io.{OutputBuffer, BasicOutputBuffer} Created: 16/Jul/13  Updated: 03/Apr/14  Resolved: 16/Aug/13

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 2.12.0

Type: Task Priority: Major - P3
Reporter: Uladzimir Mihura Assignee: Unassigned
Resolution: Done Votes: 0
Labels: 2to3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Methods to be deprecated:

  • public java.lang.String asString()
  • public java.lang.String asString(java.lang.String)
  • public int pipe(java.io.DataOutput)
  • public void seekEnd()
  • public void seekStart()
  • public void setPosition(int)
  • public String md5()
  • public String hex()
  • public void writeInt(int, int)
  • public void writeIntBE(int)


 Comments   
Comment by auto [ 15/Aug/13 ]

Author:

{u'username': u'trnl', u'name': u'Uladzimir Mihura', u'email': u'trnl.me@gmail.com'}

Message: JAVA-880: deprecate several methods in o.b.i.OutputBuffer
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/420b0302b1b3a54d921348a2295bd68f69a7191a

Comment by Uladzimir Mihura [ 14/Aug/13 ]

Potential breaking change in 3.x:

ERROR(7013): Abstract method 'public void backpatchSize(int)' has been added
ERROR(7013): Abstract method 'protected void backpatchSize(int, int)' has been added
ERROR(7013): Abstract method 'public java.util.List getByteBuffers()' has been added
ERROR(7013): Abstract method 'public void truncateToPosition(int)' has been added

-vova

Generated at Thu Feb 08 08:53:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.