[JAVA-4795] Clean up internal packages Created: 27/Oct/22  Updated: 28/Oct/23  Resolved: 11/Nov/22

Status: Closed
Project: Java Driver
Component/s: Internal
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Improvement Priority: Unknown
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed

 Description   
  • Ensure that every public type has Javadoc indicating it's not part of the public API
  • Remove boilerplate Javadoc
  • Remove some unused methods
  • Encapsulate concrete operations in SyncOperations/AsyncOperations
  • Move legacy write operations to driver-legacy


 Comments   
Comment by Githook User [ 11/Nov/22 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Update driver-legacy test dependencies

Add driver-core's testRuntimeOnly dependencies so that
driver-legacy can also test using openssl.

JAVA-4795
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/7b5c8a67824fe50ca8a1640cc1469ce79183cfbc

Comment by Githook User [ 11/Nov/22 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Move legacy write operations into driver-legacy (#1030)

JAVA-4795
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/e94ae723c4505d3c4fda6e044993f5e38d87f5be

Comment by Githook User [ 11/Nov/22 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Encapsulate operations used by MongoDatabase (#1028)

JAVA-4795
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/9b9239bd1d462ca0d94e436232217adff28d72a9

Comment by Githook User [ 10/Nov/22 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Encapsulate ChangeStreamOperation (#1029)

JAVA-4795
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/1b3123acb851fa1346b8c6d71e8f514b045f0695

Comment by Githook User [ 28/Oct/22 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Add AsyncOperations to match SyncOperations (#1027)

JAVA-4795
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/86aa822943f7af1e4770d9f79bd4cb17cc5d8474

Comment by Githook User [ 28/Oct/22 ]

Author:

{'name': 'jyemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Document that Assertions class is not part of the API

JAVA-4795
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/8745b38279f08483e558e5ffe51e80fdead9b51a

Comment by Githook User [ 28/Oct/22 ]

Author:

{'name': 'jyemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Move logging package into internal

  • All the public types were already documented as not part of the API

JAVA-4795
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/b60f8723b453d88ab14df69d1e2cfc18f09b9887

Comment by Githook User [ 28/Oct/22 ]

Author:

{'name': 'jyemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Remove unnecessary javadoc

JAVA-4795
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/a723647bb79f5a549c2418a599e09216374fbacb

Comment by Githook User [ 28/Oct/22 ]

Author:

{'name': 'jyemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Remove unnecessary javadoc

JAVA-4795
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/8648e68fca601e840b63058f609e4995ac6ffd83

Comment by Githook User [ 28/Oct/22 ]

Author:

{'name': 'jyemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Remove toString methods in internal packages

JAVA-4795
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/068218f77c43f6730b5f7a08379b1c37be77b7c0

Generated at Thu Feb 08 09:02:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.