[JAVA-4312] Add standard Scala collection collect method to Observable Created: 26/Sep/21 Updated: 28/Oct/23 Resolved: 28/Sep/21 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Scala |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Scott Rice | Assignee: | Ross Lawley |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | external-user | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The current collect method on Observable has a different signature than the standard [collect|https://www.scala-lang.org/api/2.12.1/scala/collection/Iterable.html#collect[B](pf:PartialFunction[A,B]):Iterable[B]] method on Scala collections. The suggestion here is to add the standard collections collect method on Observable, in addition to the non-standard collect already there. |
| Comments |
| Comment by Githook User [ 21/Oct/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Scaladocs: Remove link ambiguity for collect Caused by the addition of a new collect method in
|
| Comment by Ross Lawley [ 28/Sep/21 ] |
|
Thank you scott.rice@rallyhealth.com this will be included in the 4.4.0 release. |
| Comment by Githook User [ 28/Sep/21 ] |
|
Author: {'name': 'Scott Rice', 'email': 'scottrice10@gmail.com', 'username': 'scottrice10'}Message: |
| Comment by Scott Rice [ 26/Sep/21 ] |
|
This should have Component/s: Scala - noticed that after creating this ticket. Cannot edit after the fact. |