| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
38
|
15741
|
1490
-
1529
|
Literal
|
<nosymbol>
|
org.make.api.sessionhistory.sessionhistorycoordinatortest
|
"make-api.event-sourcing.users.journal"
|
|
39
|
12048
|
1563
-
1603
|
Literal
|
<nosymbol>
|
org.make.api.sessionhistory.sessionhistorycoordinatortest
|
"make-api.event-sourcing.users.snapshot"
|
|
40
|
10271
|
1641
-
1678
|
Literal
|
<nosymbol>
|
org.make.api.sessionhistory.sessionhistorycoordinatortest
|
"make-api.event-sourcing.users.query"
|
|
43
|
12661
|
1732
-
2292
|
Apply
|
akka.actor.typed.scaladsl.Behaviors.setup
|
org.make.api.sessionhistory.sessionhistorycoordinatortest
|
akka.actor.typed.scaladsl.Behaviors.setup[org.make.api.userhistory.UserHistoryCommand](((implicit context: akka.actor.typed.scaladsl.ActorContext[org.make.api.userhistory.UserHistoryCommand]) => akka.persistence.typed.scaladsl.EventSourcedBehavior.withEnforcedReplies[org.make.api.userhistory.UserHistoryCommand, org.make.api.userhistory.UserHistoryEvent[_], org.make.api.userhistory.UserVotesAndQualifications](akka.persistence.typed.PersistenceId.ofUniqueId(context.self.path.name), UserVotesAndQualifications.apply(scala.Predef.Map.empty[org.make.core.proposal.ProposalId, Nothing]), UserHistoryActor.this.commandHandler()(context), UserHistoryActor.this.eventHandler).withJournalPluginId(UserHistoryActor.this.JournalPluginId).withSnapshotPluginId(UserHistoryActor.this.SnapshotPluginId).withRetention(akka.persistence.typed.scaladsl.RetentionCriteria.snapshotEvery(10, 50))))
|
|
46
|
12760
|
1922
-
1970
|
Apply
|
akka.persistence.typed.PersistenceId.ofUniqueId
|
|
akka.persistence.typed.PersistenceId.ofUniqueId(context.self.path.name)
|
|
46
|
16255
|
1947
-
1969
|
Select
|
akka.actor.ActorPath.name
|
|
context.self.path.name
|
|
47
|
15062
|
1995
-
2032
|
Apply
|
org.make.api.userhistory.UserVotesAndQualifications.apply
|
|
UserVotesAndQualifications.apply(scala.Predef.Map.empty[org.make.core.proposal.ProposalId, Nothing])
|
|
47
|
8921
|
2022
-
2031
|
TypeApply
|
scala.collection.immutable.Map.empty
|
|
scala.Predef.Map.empty[org.make.core.proposal.ProposalId, Nothing]
|
|
48
|
13607
|
2044
-
2060
|
ApplyToImplicitArgs
|
org.make.api.userhistory.UserHistoryActor.commandHandler
|
|
UserHistoryActor.this.commandHandler()(context)
|
|
49
|
9675
|
2072
-
2084
|
Select
|
org.make.api.userhistory.UserHistoryActor.eventHandler
|
|
UserHistoryActor.this.eventHandler
|
|
51
|
15754
|
2124
-
2139
|
Select
|
org.make.api.userhistory.UserHistoryActor.JournalPluginId
|
|
UserHistoryActor.this.JournalPluginId
|
|
52
|
12064
|
2171
-
2187
|
Select
|
org.make.api.userhistory.UserHistoryActor.SnapshotPluginId
|
|
UserHistoryActor.this.SnapshotPluginId
|
|
53
|
10140
|
2212
-
2285
|
Apply
|
akka.persistence.typed.scaladsl.RetentionCriteria.snapshotEvery
|
|
akka.persistence.typed.scaladsl.RetentionCriteria.snapshotEvery(10, 50)
|
|
53
|
16567
|
1776
-
2286
|
Apply
|
akka.persistence.typed.scaladsl.EventSourcedBehavior.withRetention
|
|
akka.persistence.typed.scaladsl.EventSourcedBehavior.withEnforcedReplies[org.make.api.userhistory.UserHistoryCommand, org.make.api.userhistory.UserHistoryEvent[_], org.make.api.userhistory.UserVotesAndQualifications](akka.persistence.typed.PersistenceId.ofUniqueId(context.self.path.name), UserVotesAndQualifications.apply(scala.Predef.Map.empty[org.make.core.proposal.ProposalId, Nothing]), UserHistoryActor.this.commandHandler()(context), UserHistoryActor.this.eventHandler).withJournalPluginId(UserHistoryActor.this.JournalPluginId).withSnapshotPluginId(UserHistoryActor.this.SnapshotPluginId).withRetention(akka.persistence.typed.scaladsl.RetentionCriteria.snapshotEvery(10, 50))
|
|
61
|
13499
|
2471
-
2604
|
Apply
|
org.make.api.userhistory.UserHistoryResponse.apply
|
|
UserHistoryResponse.apply[scala.collection.immutable.Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](userHistory.votesAndQualifications.filter(((x0$1: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)) => x0$1 match {
case (_1: org.make.core.proposal.ProposalId, _2: org.make.core.history.HistoryActions.VoteAndQualifications): (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)((proposalId @ _), _) => proposalIds.contains[org.make.core.proposal.ProposalId](proposalId)
})))
|
|
61
|
15076
|
2491
-
2603
|
Apply
|
scala.collection.IterableOps.filter
|
|
userHistory.votesAndQualifications.filter(((x0$1: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)) => x0$1 match {
case (_1: org.make.core.proposal.ProposalId, _2: org.make.core.history.HistoryActions.VoteAndQualifications): (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)((proposalId @ _), _) => proposalIds.contains[org.make.core.proposal.ProposalId](proposalId)
}))
|
|
62
|
8934
|
2565
-
2597
|
Apply
|
scala.collection.SeqOps.contains
|
|
proposalIds.contains[org.make.core.proposal.ProposalId](proposalId)
|
|
76
|
10002
|
3081
-
3103
|
Apply
|
scala.collection.SeqOps.contains
|
|
x$1.contains[org.make.core.proposal.ProposalId](proposalId)
|
|
77
|
11946
|
3137
-
3179
|
Apply
|
scala.collection.SeqOps.contains
|
|
x$2.contains[org.make.core.proposal.VoteKey](votesAndQualifications.voteKey)
|
|
77
|
15534
|
3148
-
3178
|
Select
|
org.make.core.history.HistoryActions.VoteAndQualifications.voteKey
|
|
votesAndQualifications.voteKey
|
|
77
|
18372
|
3118
-
3180
|
Apply
|
scala.Option.forall
|
|
filterVotes.forall(((x$2: Seq[org.make.core.proposal.VoteKey]) => x$2.contains[org.make.core.proposal.VoteKey](votesAndQualifications.voteKey)))
|
|
78
|
8947
|
3194
-
3367
|
Apply
|
scala.Option.forall
|
|
filterQualifications.forall(((qualifications: Seq[org.make.core.proposal.QualificationKey]) => votesAndQualifications.qualificationKeys.exists(((x0$2: (org.make.core.proposal.QualificationKey, org.make.core.history.HistoryActions.VoteTrust)) => x0$2 match {
case (_1: org.make.core.proposal.QualificationKey, _2: org.make.core.history.HistoryActions.VoteTrust): (org.make.core.proposal.QualificationKey, org.make.core.history.HistoryActions.VoteTrust)((value @ _), _) => qualifications.contains[org.make.core.proposal.QualificationKey](value)
}))))
|
|
79
|
16450
|
3323
-
3353
|
Apply
|
scala.collection.SeqOps.contains
|
|
qualifications.contains[org.make.core.proposal.QualificationKey](value)
|
|
79
|
13007
|
3254
-
3355
|
Apply
|
scala.collection.IterableOnceOps.exists
|
|
votesAndQualifications.qualificationKeys.exists(((x0$2: (org.make.core.proposal.QualificationKey, org.make.core.history.HistoryActions.VoteTrust)) => x0$2 match {
case (_1: org.make.core.proposal.QualificationKey, _2: org.make.core.history.HistoryActions.VoteTrust): (org.make.core.proposal.QualificationKey, org.make.core.history.HistoryActions.VoteTrust)((value @ _), _) => qualifications.contains[org.make.core.proposal.QualificationKey](value)
}))
|
|
80
|
13512
|
3062
-
3409
|
Apply
|
scala.Boolean.&&
|
|
proposalIds.forall(((x$1: Seq[org.make.core.proposal.ProposalId]) => x$1.contains[org.make.core.proposal.ProposalId](proposalId))).&&(filterVotes.forall(((x$2: Seq[org.make.core.proposal.VoteKey]) => x$2.contains[org.make.core.proposal.VoteKey](votesAndQualifications.voteKey)))).&&(filterQualifications.forall(((qualifications: Seq[org.make.core.proposal.QualificationKey]) => votesAndQualifications.qualificationKeys.exists(((x0$2: (org.make.core.proposal.QualificationKey, org.make.core.history.HistoryActions.VoteTrust)) => x0$2 match {
case (_1: org.make.core.proposal.QualificationKey, _2: org.make.core.history.HistoryActions.VoteTrust): (org.make.core.proposal.QualificationKey, org.make.core.history.HistoryActions.VoteTrust)((value @ _), _) => qualifications.contains[org.make.core.proposal.QualificationKey](value)
}))))).&&(votesAndQualifications.trust.isTrusted)
|
|
80
|
14947
|
3371
-
3409
|
Select
|
org.make.core.history.HistoryActions.VoteTrust.isTrusted
|
|
votesAndQualifications.trust.isTrusted
|
|
81
|
11962
|
3429
-
3429
|
ApplyToImplicitArgs
|
scala.math.LowPriorityOrderingImplicits.ordered
|
|
math.this.Ordering.ordered[java.time.ZonedDateTime](scala.Predef.$conforms[java.time.ZonedDateTime])
|
|
81
|
9873
|
3467
-
3494
|
Select
|
org.make.core.history.HistoryActions.VoteAndQualifications.date
|
|
votesAndQualifications.date
|
|
81
|
15734
|
3429
-
3429
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[java.time.ZonedDateTime]
|
|
83
|
16466
|
3595
-
3611
|
Select
|
org.make.core.technical.Pagination.extractInt
|
|
limit.extractInt
|
|
83
|
18272
|
3556
-
3573
|
Select
|
org.make.core.technical.Pagination.extractInt
|
|
offset.extractInt
|
|
83
|
9168
|
2959
-
3612
|
Apply
|
scala.collection.IterableOps.slice
|
|
userHistory.votesAndQualifications.filter(((x0$1: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)) => x0$1 match {
case (_1: org.make.core.proposal.ProposalId, _2: org.make.core.history.HistoryActions.VoteAndQualifications): (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)((proposalId @ _), (votesAndQualifications @ _)) => proposalIds.forall(((x$1: Seq[org.make.core.proposal.ProposalId]) => x$1.contains[org.make.core.proposal.ProposalId](proposalId))).&&(filterVotes.forall(((x$2: Seq[org.make.core.proposal.VoteKey]) => x$2.contains[org.make.core.proposal.VoteKey](votesAndQualifications.voteKey)))).&&(filterQualifications.forall(((qualifications: Seq[org.make.core.proposal.QualificationKey]) => votesAndQualifications.qualificationKeys.exists(((x0$2: (org.make.core.proposal.QualificationKey, org.make.core.history.HistoryActions.VoteTrust)) => x0$2 match {
case (_1: org.make.core.proposal.QualificationKey, _2: org.make.core.history.HistoryActions.VoteTrust): (org.make.core.proposal.QualificationKey, org.make.core.history.HistoryActions.VoteTrust)((value @ _), _) => qualifications.contains[org.make.core.proposal.QualificationKey](value)
}))))).&&(votesAndQualifications.trust.isTrusted)
})).toSeq.sortBy[java.time.ZonedDateTime](((x0$3: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)) => x0$3 match {
case (_1: org.make.core.proposal.ProposalId, _2: org.make.core.history.HistoryActions.VoteAndQualifications): (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)(_, (votesAndQualifications @ _)) => votesAndQualifications.date
}))(math.this.Ordering.ordered[java.time.ZonedDateTime](scala.Predef.$conforms[java.time.ZonedDateTime])).map[org.make.core.proposal.ProposalId](((x0$4: (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)) => x0$4 match {
case (_1: org.make.core.proposal.ProposalId, _2: org.make.core.history.HistoryActions.VoteAndQualifications): (org.make.core.proposal.ProposalId, org.make.core.history.HistoryActions.VoteAndQualifications)((proposalId @ _), _) => proposalId
})).slice(offset.extractInt, offset.extractInt.+(limit.extractInt))
|
|
83
|
12756
|
3575
-
3611
|
Apply
|
scala.Int.+
|
|
offset.extractInt.+(limit.extractInt)
|
|
84
|
14968
|
3617
-
3646
|
Apply
|
org.make.api.userhistory.UserHistoryResponse.apply
|
|
UserHistoryResponse.apply[Seq[org.make.core.proposal.ProposalId]](response)
|
|
93
|
13417
|
3916
-
3930
|
Select
|
org.make.api.userhistory.InjectSessionEvents.events
|
|
command.events
|
|
94
|
15748
|
3993
-
4014
|
Select
|
org.make.api.userhistory.UserHistoryResponse.SessionEventsInjected
|
|
org.make.api.userhistory.UserHistoryResponse.SessionEventsInjected
|
|
94
|
18290
|
3892
-
4016
|
Apply
|
akka.persistence.typed.scaladsl.EffectBuilder.thenReply
|
|
akka.persistence.typed.scaladsl.Effect.persist[org.make.api.userhistory.UserHistoryEvent[_], org.make.api.userhistory.UserVotesAndQualifications](command.events).thenReply[org.make.api.userhistory.UserHistoryResponse[org.make.api.userhistory.UserHistoryResponse.SessionEventsInjected.type]](command.replyTo)(((x$3: org.make.api.userhistory.UserVotesAndQualifications) => UserHistoryResponse.apply[org.make.api.userhistory.UserHistoryResponse.SessionEventsInjected.type](org.make.api.userhistory.UserHistoryResponse.SessionEventsInjected)))
|
|
94
|
9895
|
3951
-
3966
|
Select
|
org.make.api.userhistory.InjectSessionEvents.replyTo
|
|
command.replyTo
|
|
94
|
12190
|
3973
-
4015
|
Apply
|
org.make.api.userhistory.UserHistoryResponse.apply
|
|
UserHistoryResponse.apply[org.make.api.userhistory.UserHistoryResponse.SessionEventsInjected.type](org.make.api.userhistory.UserHistoryResponse.SessionEventsInjected)
|
|
95
|
16363
|
4076
-
4120
|
Apply
|
org.make.api.userhistory.UserHistoryActor.onRetrieveVoteValues
|
|
UserHistoryActor.this.onRetrieveVoteValues(state, values, replyTo)
|
|
100
|
12654
|
4284
-
4392
|
Apply
|
org.make.api.userhistory.UserHistoryActor.onRetrieveUserVotedProposals
|
|
UserHistoryActor.this.onRetrieveUserVotedProposals(state, filterVotes, filterQualifications, proposalsIds, limit, offset, replyTo)
|
|
103
|
9185
|
4502
-
4581
|
Apply
|
akka.persistence.typed.scaladsl.Effect.persist
|
|
akka.persistence.typed.scaladsl.Effect.persist[org.make.api.userhistory.UserHistoryEvent[_], org.make.api.userhistory.UserVotesAndQualifications](event)
|
|
105
|
9685
|
4502
-
4668
|
Apply
|
akka.persistence.typed.scaladsl.EffectBuilder.thenReply
|
|
org.make.api.technical.EffectBuilderHelper.PublishOps[org.make.api.userhistory.UserHistoryEvent[_], org.make.api.userhistory.UserVotesAndQualifications](akka.persistence.typed.scaladsl.Effect.persist[org.make.api.userhistory.UserHistoryEvent[_], org.make.api.userhistory.UserVotesAndQualifications](event)).thenPublish(event)(context).thenReply[org.make.api.userhistory.UserHistoryResponse[org.make.api.sessionhistory.Ack.type]](replyTo)(((x$4: org.make.api.userhistory.UserVotesAndQualifications) => UserHistoryResponse.apply[org.make.api.sessionhistory.Ack.type](org.make.api.sessionhistory.Ack)))
|
|
105
|
14924
|
4663
-
4666
|
Select
|
org.make.api.sessionhistory.Ack
|
|
org.make.api.sessionhistory.Ack
|
|
105
|
11726
|
4643
-
4667
|
Apply
|
org.make.api.userhistory.UserHistoryResponse.apply
|
|
UserHistoryResponse.apply[org.make.api.sessionhistory.Ack.type](org.make.api.sessionhistory.Ack)
|
|
110
|
15637
|
4743
-
4873
|
Apply
|
akka.persistence.typed.scaladsl.EffectBuilder.thenNoReply
|
|
org.make.api.technical.EffectBuilderHelper.PublishOps[org.make.api.userhistory.UserHistoryEvent[_], org.make.api.userhistory.UserVotesAndQualifications](akka.persistence.typed.scaladsl.Effect.persist[org.make.api.userhistory.UserHistoryEvent[_], org.make.api.userhistory.UserVotesAndQualifications](event)).thenPublish(event)(context).thenNoReply()
|
|
111
|
17895
|
4966
-
4966
|
Literal
|
<nosymbol>
|
|
()
|
|
111
|
12209
|
4966
-
4969
|
Select
|
org.make.api.sessionhistory.Ack
|
|
org.make.api.sessionhistory.Ack
|
|
111
|
12666
|
4908
-
4971
|
Apply
|
akka.persistence.typed.scaladsl.EffectBuilder.thenReply
|
|
akka.persistence.typed.scaladsl.Effect.stop[Nothing, org.make.api.userhistory.UserVotesAndQualifications]().thenReply[org.make.api.userhistory.UserHistoryResponse[Unit]](replyTo)(((x$5: org.make.api.userhistory.UserVotesAndQualifications) => UserHistoryResponse.apply[Unit]({
org.make.api.sessionhistory.Ack;
()
})))
|
|
111
|
16377
|
4946
-
4970
|
Apply
|
org.make.api.userhistory.UserHistoryResponse.apply
|
|
UserHistoryResponse.apply[Unit]({
org.make.api.sessionhistory.Ack;
()
})
|
|
116
|
9062
|
5194
-
5253
|
Apply
|
org.make.api.userhistory.UserHistoryActor.applyVoteEvent
|
|
UserHistoryActor.this.applyVoteEvent(state, proposalId, voteKey, date, voteTrust)
|
|
118
|
14941
|
5360
-
5404
|
Apply
|
org.make.api.userhistory.UserHistoryActor.applyUnvoteEvent
|
|
UserHistoryActor.this.applyUnvoteEvent(state, proposalId, voteKey)
|
|
123
|
11484
|
5568
-
5639
|
Apply
|
org.make.api.userhistory.UserHistoryActor.applyQualificationEvent
|
|
UserHistoryActor.this.applyQualificationEvent(state, proposalId, qualificationKey, voteTrust)
|
|
128
|
9582
|
5799
-
5861
|
Apply
|
org.make.api.userhistory.UserHistoryActor.applyUnqualificationEvent
|
|
UserHistoryActor.this.applyUnqualificationEvent(state, proposalId, qualificationKey)
|
|
137
|
12443
|
6154
-
6211
|
Apply
|
akka.persistence.typed.scaladsl.Effect.reply
|
|
akka.persistence.typed.scaladsl.Effect.reply[org.make.api.userhistory.UserHistoryResponse[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]], Nothing, org.make.api.userhistory.UserVotesAndQualifications](replyTo)(UserHistoryActor.this.getVotesValues(state, proposalIds))
|
|
137
|
15649
|
6176
-
6210
|
Apply
|
org.make.api.userhistory.UserHistoryActor.getVotesValues
|
|
UserHistoryActor.this.getVotesValues(state, proposalIds)
|
|
149
|
17916
|
6646
-
6733
|
Apply
|
org.make.api.userhistory.UserHistoryActor.getVotedProposals
|
|
UserHistoryActor.this.getVotedProposals(state, filterVotes, filterQualifications, proposalIds, limit, offset)
|
|
149
|
16463
|
6624
-
6734
|
Apply
|
akka.persistence.typed.scaladsl.Effect.reply
|
|
akka.persistence.typed.scaladsl.Effect.reply[org.make.api.userhistory.UserHistoryResponse[Seq[org.make.core.proposal.ProposalId]], Nothing, org.make.api.userhistory.UserVotesAndQualifications](replyTo)(UserHistoryActor.this.getVotedProposals(state, filterVotes, filterQualifications, proposalIds, limit, offset))
|
|
159
|
12571
|
6945
-
6989
|
Apply
|
scala.collection.MapOps.get
|
|
state.votesAndQualifications.get(proposalId)
|
|
160
|
9079
|
7040
-
7080
|
Apply
|
java.lang.Object.==
|
|
voteAndQualifications.voteKey.==(voteKey)
|
|
162
|
11369
|
7196
-
7308
|
Apply
|
org.make.core.history.HistoryActions.VoteAndQualifications.apply
|
|
org.make.core.history.HistoryActions.VoteAndQualifications.apply(voteKey, scala.Predef.Map.empty[org.make.core.proposal.QualificationKey, Nothing], voteDate, voteTrust)
|
|
162
|
12453
|
7114
-
7319
|
Apply
|
org.make.api.userhistory.UserVotesAndQualifications.copy
|
|
state.copy(state.votesAndQualifications.+[org.make.core.history.HistoryActions.VoteAndQualifications](scala.Predef.ArrowAssoc[org.make.core.proposal.ProposalId](proposalId).->[org.make.core.history.HistoryActions.VoteAndQualifications](org.make.core.history.HistoryActions.VoteAndQualifications.apply(voteKey, scala.Predef.Map.empty[org.make.core.proposal.QualificationKey, Nothing], voteDate, voteTrust))))
|
|
162
|
15551
|
7150
-
7309
|
Apply
|
scala.collection.immutable.MapOps.+
|
|
state.votesAndQualifications.+[org.make.core.history.HistoryActions.VoteAndQualifications](scala.Predef.ArrowAssoc[org.make.core.proposal.ProposalId](proposalId).->[org.make.core.history.HistoryActions.VoteAndQualifications](org.make.core.history.HistoryActions.VoteAndQualifications.apply(voteKey, scala.Predef.Map.empty[org.make.core.proposal.QualificationKey, Nothing], voteDate, voteTrust)))
|
|
162
|
9890
|
7182
-
7308
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[org.make.core.proposal.ProposalId](proposalId).->[org.make.core.history.HistoryActions.VoteAndQualifications](org.make.core.history.HistoryActions.VoteAndQualifications.apply(voteKey, scala.Predef.Map.empty[org.make.core.proposal.QualificationKey, Nothing], voteDate, voteTrust))
|
|
164
|
15427
|
7248
-
7257
|
TypeApply
|
scala.collection.immutable.Map.empty
|
|
scala.Predef.Map.empty[org.make.core.proposal.QualificationKey, Nothing]
|
|
178
|
17933
|
7534
-
7578
|
Apply
|
scala.collection.MapOps.get
|
|
state.votesAndQualifications.get(proposalId)
|
|
182
|
12898
|
7774
-
7847
|
Apply
|
scala.collection.immutable.MapOps.+
|
|
voteAndQualifications.qualificationKeys.+[org.make.core.history.HistoryActions.VoteTrust](scala.Predef.ArrowAssoc[org.make.core.proposal.QualificationKey](qualificationKey).->[org.make.core.history.HistoryActions.VoteTrust](voteTrust))
|
|
182
|
14683
|
7817
-
7846
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[org.make.core.proposal.QualificationKey](qualificationKey).->[org.make.core.history.HistoryActions.VoteTrust](voteTrust)
|
|
182
|
15439
|
7749
-
7749
|
Select
|
org.make.core.history.HistoryActions.VoteAndQualifications.copy$default$3
|
|
voteAndQualifications.copy$default$3
|
|
182
|
9353
|
7749
-
7749
|
Select
|
org.make.core.history.HistoryActions.VoteAndQualifications.copy$default$1
|
|
voteAndQualifications.copy$default$1
|
|
182
|
9780
|
7716
-
7848
|
Apply
|
org.make.core.history.HistoryActions.VoteAndQualifications.copy
|
|
voteAndQualifications.copy(x$2, x$1, x$3, x$4)
|
|
182
|
11718
|
7749
-
7749
|
Select
|
org.make.core.history.HistoryActions.VoteAndQualifications.copy$default$4
|
|
voteAndQualifications.copy$default$4
|
|
184
|
18408
|
7857
-
7976
|
Apply
|
org.make.api.userhistory.UserVotesAndQualifications.copy
|
|
state.copy(state.votesAndQualifications.+[org.make.core.history.HistoryActions.VoteAndQualifications](scala.Predef.ArrowAssoc[org.make.core.proposal.ProposalId](proposalId).->[org.make.core.history.HistoryActions.VoteAndQualifications](newVoteAndQualifications)))
|
|
184
|
11867
|
7904
-
7975
|
Apply
|
scala.collection.immutable.MapOps.+
|
|
state.votesAndQualifications.+[org.make.core.history.HistoryActions.VoteAndQualifications](scala.Predef.ArrowAssoc[org.make.core.proposal.ProposalId](proposalId).->[org.make.core.history.HistoryActions.VoteAndQualifications](newVoteAndQualifications))
|
|
184
|
15898
|
7936
-
7974
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[org.make.core.proposal.ProposalId](proposalId).->[org.make.core.history.HistoryActions.VoteAndQualifications](newVoteAndQualifications)
|
|
193
|
14700
|
8167
-
8211
|
Apply
|
scala.collection.MapOps.get
|
|
state.votesAndQualifications.get(proposalId)
|
|
198
|
9055
|
8396
-
8513
|
Apply
|
scala.collection.IterableOps.filter
|
|
voteAndQualifications.qualificationKeys.filter(((x0$1: (org.make.core.proposal.QualificationKey, org.make.core.history.HistoryActions.VoteTrust)) => x0$1 match {
case (_1: org.make.core.proposal.QualificationKey, _2: org.make.core.history.HistoryActions.VoteTrust): (org.make.core.proposal.QualificationKey, org.make.core.history.HistoryActions.VoteTrust)((key @ _), _) => key.!=(qualificationKey)
}))
|
|
198
|
15533
|
8336
-
8514
|
Apply
|
org.make.core.history.HistoryActions.VoteAndQualifications.copy
|
|
voteAndQualifications.copy(x$2, x$1, x$3, x$4)
|
|
198
|
17662
|
8371
-
8371
|
Select
|
org.make.core.history.HistoryActions.VoteAndQualifications.copy$default$4
|
|
voteAndQualifications.copy$default$4
|
|
198
|
11624
|
8371
-
8371
|
Select
|
org.make.core.history.HistoryActions.VoteAndQualifications.copy$default$3
|
|
voteAndQualifications.copy$default$3
|
|
198
|
14862
|
8371
-
8371
|
Select
|
org.make.core.history.HistoryActions.VoteAndQualifications.copy$default$1
|
|
voteAndQualifications.copy$default$1
|
|
199
|
12774
|
8476
-
8499
|
Apply
|
java.lang.Object.!=
|
|
key.!=(qualificationKey)
|
|
202
|
14592
|
8523
-
8642
|
Apply
|
org.make.api.userhistory.UserVotesAndQualifications.copy
|
|
state.copy(state.votesAndQualifications.+[org.make.core.history.HistoryActions.VoteAndQualifications](scala.Predef.ArrowAssoc[org.make.core.proposal.ProposalId](proposalId).->[org.make.core.history.HistoryActions.VoteAndQualifications](newVoteAndQualifications)))
|
|
202
|
12079
|
8602
-
8640
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[org.make.core.proposal.ProposalId](proposalId).->[org.make.core.history.HistoryActions.VoteAndQualifications](newVoteAndQualifications)
|
|
202
|
18201
|
8570
-
8641
|
Apply
|
scala.collection.immutable.MapOps.+
|
|
state.votesAndQualifications.+[org.make.core.history.HistoryActions.VoteAndQualifications](scala.Predef.ArrowAssoc[org.make.core.proposal.ProposalId](proposalId).->[org.make.core.history.HistoryActions.VoteAndQualifications](newVoteAndQualifications))
|
|
211
|
9076
|
8810
-
8883
|
Apply
|
scala.Option.exists
|
|
state.votesAndQualifications.get(proposalId).exists(((x$6: org.make.core.history.HistoryActions.VoteAndQualifications) => x$6.voteKey.==(voteKey)))
|
|
211
|
12792
|
8862
-
8882
|
Apply
|
java.lang.Object.==
|
|
x$6.voteKey.==(voteKey)
|
|
212
|
15090
|
8929
-
8970
|
Apply
|
scala.collection.immutable.MapOps.-
|
|
state.votesAndQualifications.-(proposalId)
|
|
212
|
17535
|
8893
-
8971
|
Block
|
org.make.api.userhistory.UserVotesAndQualifications.copy
|
|
state.copy(state.votesAndQualifications.-(proposalId))
|
|
212
|
11637
|
8893
-
8971
|
Apply
|
org.make.api.userhistory.UserVotesAndQualifications.copy
|
|
state.copy(state.votesAndQualifications.-(proposalId))
|
|
214
|
15544
|
8991
-
8996
|
Ident
|
org.make.api.userhistory.UserHistoryActor.state
|
|
state
|