Repository navigation
Conversation
github-actions
Bot
temporarily deployed
to
staging/pull/980/features
November 27, 2023 12:07
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/javadoc
November 27, 2023 12:07
Inactive
…n-serial-recovery-key
github-actions
Bot
temporarily deployed
to
staging/pull/980/features
November 28, 2023 12:53
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/javadoc
November 28, 2023 12:54
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/features
November 28, 2023 13:00
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/javadoc
November 28, 2023 13:01
Inactive
sacOO7
force-pushed
the
feature/no-connection-serial-recovery-key
branch
from
November 28, 2023 13:01
229617e to
1509938
Compare
github-actions
Bot
temporarily deployed
to
staging/pull/980/features
November 28, 2023 13:01
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/javadoc
November 28, 2023 13:02
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/features
November 28, 2023 16:48
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/javadoc
November 28, 2023 16:48
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/features
November 28, 2023 17:04
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/javadoc
November 28, 2023 17:04
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/features
November 28, 2023 17:29
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/javadoc
November 28, 2023 17:29
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/javadoc
November 29, 2023 12:26
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/features
November 29, 2023 12:45
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/javadoc
November 29, 2023 12:45
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/features
November 29, 2023 13:01
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/javadoc
November 29, 2023 13:01
Inactive
sacOO7
force-pushed
the
feature/no-connection-serial
branch
from
November 29, 2023 17:14
6461967 to
72992c9
Compare
sacOO7
marked this pull request as ready for review
November 29, 2023 17:20
github-actions
Bot
temporarily deployed
to
staging/pull/980/features
November 30, 2023 12:26
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/javadoc
November 30, 2023 12:27
Inactive
ttypic
reviewed
Nov 30, 2023
| public RecoveryKeyContext(String connectionKey, long msgSerial, Map<String, String> channelSerials) { | ||
| this.connectionKey = connectionKey; | ||
| this.msgSerial = msgSerial; | ||
| this.channelSerials.putAll(channelSerials); |
Contributor
There was a problem hiding this comment.
Out of curiosity, why do we copy channelSerials?
Contributor
Author
There was a problem hiding this comment.
General principal of immutability. We have marked channelSerials field as immutable, so it shouldn't get influenced by
changes in external channelserials and should only capture snapshot of serials at the time of creating the instance.
Contributor
There was a problem hiding this comment.
Got you! (one more point to rewrite lib in Kotlin) I personally prefer using analog of guava's ImmutableMap which just wraps around existing Map rather than make Map's copy. But it this particular code probably no harm to copy
github-actions
Bot
temporarily deployed
to
staging/pull/980/features
December 1, 2023 11:10
Inactive
github-actions
Bot
temporarily deployed
to
staging/pull/980/features
December 1, 2023 11:15
Inactive
ttypic
approved these changes
Dec 1, 2023
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related #974
Related #846
Related #976