[JAVA-895] Fix-up org.bson.BasicBSONDecoder Created: 22/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   

org.bson.BasicBSONDecoder provides access for subclasses to its resources via protected fields and protected void _binary(String) method.

From my point of view this should be hidden, cause BSONDecoder already provides a mechanism of callbacks.

Things to be deprecated/removed in 3.0

  • field _callback
  • field _in
  • field _len
  • field _pos
  • method protected void _binary(java.lang.String)
  • class org.bson.BasicBSONDecoder.BSONInput

We need to add documentation about migration.



 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-895: deprecate protected members of org.bson.BasicBSONDecoder
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/4dab77fd262994c56f2c03b6c08e933c57fdf9ef

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