[JAVA-5039] Fix scala tests compilation Created: 23/Jun/23  Updated: 28/Oct/23  Resolved: 23/Jun/23

Status: Closed
Project: Java Driver
Component/s: Atlas Testing, Scala
Affects Version/s: None
Fix Version/s: 4.10.1

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

Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

> Task :driver-scala:compileTestScala
[Error] /home/rozza/Code/mongodb/mongo-java-driver/driver-scala/src/test/scala/org/mongodb/scala/model/AggregatesSpec.scala:412:90: org.mongodb.scala.model.ApproximateQuantileMethod does not take parameters
[Error] /home/rozza/Code/mongodb/mongo-java-driver/driver-scala/src/test/scala/org/mongodb/scala/model/AggregatesSpec.scala:413:65: org.mongodb.scala.model.ApproximateQuantileMethod does not take parameters
[Error] /home/rozza/Code/mongodb/mongo-java-driver/driver-scala/src/test/scala/org/mongodb/scala/model/AggregatesSpec.scala:455:37: org.mongodb.scala.model.ApproximateQuantileMethod does not take parameters
[Error] /home/rozza/Code/mongodb/mongo-java-driver/driver-scala/src/test/scala/org/mongodb/scala/model/AggregatesSpec.scala:458:89: org.mongodb.scala.model.ApproximateQuantileMethod does not take parameters
[Warn] /home/rozza/Code/mongodb/mongo-java-driver/driver-scala/src/test/scala/org/mongodb/scala/model/AggregatesSpec.scala:20:33: imported `QuantileMethod` is permanently hidden by definition of object QuantileMethod in package model
one warning found



 Comments   
Comment by Githook User [ 23/Jun/23 ]

Author:

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

Message: Scala: Fix tests (#1151)

Remove hidden import
Remove parentheses

JAVA-5039
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/92b27f9f46eeab15317bac79840f03faffb4ec8b

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