[JAVA-901] Cleanup org.bson.Lazy* Created: 26/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   

Classes to be deprecated

  • org.bson.KeyCachingLazyBSONObject
  • org.bson.LazyBSONObject$LazyBSONKeySet

Methods to be deprecated

  • org.bson.LazyBSONObject
    • protected int getElementBSONSize(int)
    • protected byte getElementType(int)
    • protected java.lang.Object getElementValue(org.bson.LazyBSONObject$ElementRecord)
    • protected boolean isElementEmpty(int)
    • protected int sizeCString(int)
  • org.bson.LazyBSONCallback
    • public void setRootObject(java.lang.Object)

Fields to be deprecated

  • org.bson.LazyBSONObject
    • org.bson.LazyBSONObject#_callback
    • org.bson.LazyBSONObject#_doc_start_offset
    • org.bson.LazyBSONObject#_input


 Comments   
Comment by auto [ 22/Aug/13 ]

Author:

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

Message: feat(driver-compat) JAVA-901: add protected getBytes() as a replacement for _input field access
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/29453a1cece773c3c4282b2a2f76e68e68f09a35

Comment by auto [ 22/Aug/13 ]

Author:

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

Message: JAVA-901: add protected getBytes() as a replacement for _input field access
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/eb02f87398b6b709b0e87104f6a35c02627d66dc

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-901: cleanup org.bson.Lazy*
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/0ffc7b00fb94f36f72df1ad4faeeb3f2da65fe88

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