Skip to content

Change javadoc explanation for Mutable List #6314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

punitda
Copy link
Contributor

@punitda punitda commented Nov 19, 2018

As per this discussion, change javadoc for distinctUntilChanged() method for Mutable List.

@@ -8746,7 +8746,7 @@ public final Completable concatMapCompletableDelayError(Function<? super T, ? ex
* {@code CharSequence}s or {@code List}s where the objects will actually have the same
* references when they are modified and {@code distinctUntilChanged} will evaluate subsequent items as same.
* To avoid such situation, it is recommended that mutable data is converted to an immutable one,
* for example using `map(CharSequence::toString)` or `map(Collections::unmodifiableList)`.
* for example using `map(CharSequence::toString)` or `map(list -> Collections.unmodifiableList(new ArrayList<>(list))`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need one more ).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops! Added.

@punitda punitda force-pushed the javadocs-distinct-until-changed-method branch from 593ef1c to 992f119 Compare November 19, 2018 10:38
@codecov
Copy link

codecov bot commented Nov 19, 2018

Codecov Report

Merging #6314 into 2.x will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##                2.x    #6314   +/-   ##
=========================================
  Coverage     98.24%   98.24%           
+ Complexity     6286     6281    -5     
=========================================
  Files           672      672           
  Lines         44992    44992           
  Branches       6223     6223           
=========================================
  Hits          44201    44201           
- Misses          244      250    +6     
+ Partials        547      541    -6
Impacted Files Coverage Δ Complexity Δ
src/main/java/io/reactivex/Flowable.java 100% <ø> (ø) 567 <0> (ø) ⬇️
src/main/java/io/reactivex/Observable.java 100% <ø> (ø) 542 <0> (ø) ⬇️
...ernal/operators/flowable/FlowableFlatMapMaybe.java 90.33% <0%> (-4.84%) 2% <0%> (ø)
.../operators/flowable/FlowableBlockingSubscribe.java 93.02% <0%> (-4.66%) 10% <0%> (-1%)
...tivex/internal/schedulers/TrampolineScheduler.java 96.1% <0%> (-2.6%) 6% <0%> (ø)
...activex/internal/observers/QueueDrainObserver.java 97.43% <0%> (-2.57%) 21% <0%> (-1%)
...a/io/reactivex/internal/util/QueueDrainHelper.java 95.83% <0%> (-2.09%) 55% <0%> (-1%)
...activex/internal/schedulers/ExecutorScheduler.java 97.97% <0%> (-2.03%) 9% <0%> (ø)
.../io/reactivex/disposables/CompositeDisposable.java 98.14% <0%> (-1.86%) 39% <0%> (-1%)
...x/internal/operators/flowable/FlowablePublish.java 97.02% <0%> (-1.28%) 11% <0%> (ø)
... and 22 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7058126...992f119. Read the comment docs.

@akarnokd akarnokd merged commit ac3b5b1 into ReactiveX:2.x Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants