{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"MergeSubscriber.drainLoop (cyclomatic 43): MergeSubscriber.drainLoop has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ab8c29af6b53e6a18d4bbb547a09c9302a07a618560c380a39574100088a15"}},{"ruleId":"D1","level":"warning","message":{"text":"MulticastProcessor.drain (cyclomatic 36): MulticastProcessor.drain has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bf78f55bb0dccb532b265213c8858b8b956a69bca6297692e6f77d50c0ce84"}},{"ruleId":"D1","level":"warning","message":{"text":"ZipCoordinator.drain (cyclomatic 33): ZipCoordinator.drain has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce5e2e467bd80f5f7a157f418a7c58ac87351cc689243cc45e3fc68e666b41a"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchMapSubscriber.drain (cyclomatic 32): SwitchMapSubscriber.drain has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"33165eaced30aaefbe39a55109fbce071bd450808e2c8334d55c70b69cd39f95"}},{"ruleId":"D1","level":"warning","message":{"text":"MergeObserver.drainLoop (cyclomatic 30): MergeObserver.drainLoop has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMap.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"45734948642e435a1bd6e47ea02a84d0b1a25f703e6b30beba5e4e1c8a4eec16"}},{"ruleId":"D1","level":"warning","message":{"text":"MulticastProcessor.drain (cyclomatic 30): MulticastProcessor.drain has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/MulticastProcessor.java"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6443a6c48138bcd0f68ffeb63a7f242c9211190f13cf4e9255344e1b9929ad"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatMapEagerDelayErrorSubscriber.drain (cyclomatic 29): ConcatMapEagerDelayErrorSubscriber.drain has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapEager.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80b6e9b1c90bd0f61c0ff5ae682640b618770403fa49efe38befe53fe876428"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatMapEagerMainObserver.drain (cyclomatic 29): ConcatMapEagerMainObserver.drain has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapEager.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7e7d6fe214124cbe0fb0378b98d09e2f236d394e248a75efd7bd1c290fefd3"}},{"ruleId":"D1","level":"warning","message":{"text":"JoinSubscription.drain (cyclomatic 25): JoinSubscription.drain has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b24b4a9092a6eeb886c6f5a75ce1257ba421d9ae52bca1a6c95151e81c4e802"}},{"ruleId":"D1","level":"warning","message":{"text":"SwitchMapObserver.drain (cyclomatic 24): SwitchMapObserver.drain has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSwitchMap.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb867fb6fee3dde137f8779d97a62524fbf853d74e40c00c2d421a9afeca94a2"}},{"ruleId":"D1","level":"warning","message":{"text":"FlattenIterableSubscriber.drain (cyclomatic 23): FlattenIterableSubscriber.drain has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlattenIterable.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b999ce45aac57cdc5a6247c0ffce4e5832588bb85ce69cc50ad0e198616940"}},{"ruleId":"D1","level":"warning","message":{"text":"GroupJoinSubscription.drain (cyclomatic 23): GroupJoinSubscription.drain has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cd97322390f340b43bd1bf17ec1563bdbad5d313f7c4216bbe52d11d88d596"}},{"ruleId":"D1","level":"warning","message":{"text":"EqualCoordinator.drain (cyclomatic 23): EqualCoordinator.drain has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b748d32d67d2d43ba9c4e7dd8d05df00e90ae106fb1296576c409f3871cec27"}},{"ruleId":"D1","level":"warning","message":{"text":"EqualCoordinator.drain (cyclomatic 23): EqualCoordinator.drain has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqualSingle.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0b4cc4d91eff40642834e2689083ca99163815120acff4806c6e82fc941d6e"}},{"ruleId":"D1","level":"warning","message":{"text":"FlatMapStreamSubscriber.drain (cyclomatic 22): FlatMapStreamSubscriber.drain has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFlatMapStream.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d96001f327a5bd7def3437e12bc117bf8341467ebe295bc1e5962d65533f09"}},{"ruleId":"D1","level":"warning","message":{"text":"ThrottleLatestSubscriber.drain (cyclomatic 22): ThrottleLatestSubscriber.drain has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"968c5018afa08bf12e3522ad6a759287620a3940c685cbb2dc87a70627a41e77"}},{"ruleId":"D1","level":"warning","message":{"text":"GroupJoinDisposable.drain (cyclomatic 22): GroupJoinDisposable.drain has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0644b11abc3f8f34fba61f8f26c41a2d6f4a8092b161c728be74a5ad666b20a"}},{"ruleId":"D1","level":"warning","message":{"text":"EqualCoordinator.drain (cyclomatic 22): EqualCoordinator.drain has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b673cd1f939f2325db05a70602af995e6e46a50c69ac742659abbaef36ad98b"}},{"ruleId":"D1","level":"warning","message":{"text":"EqualCoordinator.drain (cyclomatic 22): EqualCoordinator.drain has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c240c890ccf5c6b96f281419c474b36b2db9ef1e66c25ae035be4ca4c3b725a5"}},{"ruleId":"D1","level":"warning","message":{"text":"JoinSubscription.drainLoop (cyclomatic 22): JoinSubscription.drainLoop has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce72e87f9212c9b40f5c5c31a078d2b8d5f6265283b81a3279cc3ca1474795c9"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatMapDelayed.drain (cyclomatic 21): ConcatMapDelayed.drain has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe18c0046d67af08f82a610dcd2348c71745f1db5e73c46a6091387d2a8bf7d0"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatMapDelayed.run (cyclomatic 21): ConcatMapDelayed.run has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f3f513029514778aa1b2b5858cc77e6718b38bc3368c124cefdaceb1121b79"}},{"ruleId":"D1","level":"warning","message":{"text":"JoinDisposable.drain (cyclomatic 21): JoinDisposable.drain has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b72acbe9ca29ebbaeb49b82a5e7731c1fd89d69af1cd84ab7608f5a667b30d9"}},{"ruleId":"D1","level":"warning","message":{"text":"ParallelDispatcher.drainAsync (cyclomatic 21): ParallelDispatcher.drainAsync has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c71b5d0c76f44b9b7403cc90c7500a2b83b5a688774ec5328fff08e06a08904"}},{"ruleId":"D1","level":"warning","message":{"text":"FlatMapMaybeSubscriber.drainLoop (cyclomatic 20): FlatMapMaybeSubscriber.drainLoop has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc57cbad08b80073040562330fd0d260b27c2af7929bd66488fdc01a54b6f2a0"}},{"ruleId":"D1","level":"warning","message":{"text":"FlatMapSingleSubscriber.drainLoop (cyclomatic 20): FlatMapSingleSubscriber.drainLoop has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbd87f1f0ccacc3755270229bbf4e64f182857141e8d7383b8e2a16fec4d958"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBoundaryMainSubscriber.drain (cyclomatic 20): WindowBoundaryMainSubscriber.drain has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundary.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ed0780b32b0829aad802ff286720e309ac22cb5b1703774d9417be1b0561e8"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatMapMaybeSubscriber.drain (cyclomatic 20): ConcatMapMaybeSubscriber.drain has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aeb4ac55554bcd2b5af229f5a60094e5376bc1cb28e58918339de97be13f898"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatMapSingleSubscriber.drain (cyclomatic 20): ConcatMapSingleSubscriber.drain has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae95052d595342d24c8aa44ee1191d8ce06662dc66c5d425b5b26a01a851b91"}},{"ruleId":"D1","level":"warning","message":{"text":"ThrottleLatestObserver.drain (cyclomatic 20): ThrottleLatestObserver.drain has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleLatest.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7dbdc820e4b4fc59d18514394a0d19edf2ad24642c3cade07078cd81c554f9"}},{"ruleId":"D1","level":"warning","message":{"text":"JoinSubscriptionDelayError.drainLoop (cyclomatic 20): JoinSubscriptionDelayError.drainLoop has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8f58fb7ab69694b2a14bb9a6fe036c57c4bf47872452991a89acc93488c896"}},{"ruleId":"D1","level":"warning","message":{"text":"SortedJoinSubscription.drain (cyclomatic 20): SortedJoinSubscription.drain has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelSortedJoin.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e861b2f9ab4f39e3e2febdfd310983c9522ed587fc7d0032ed31e33d299df4c"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatMapImmediate.run (cyclomatic 19): ConcatMapImmediate.run has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8036e811dbf76b7c9c7b6cfad94c70a98c3b4b6093ae66b64b49ff62917078eb"}},{"ruleId":"D1","level":"warning","message":{"text":"PublishConnection.drain (cyclomatic 19): PublishConnection.drain has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c704f81e2464c519c14661faf1d931d71f29f42e545075ccecfb862fb0213a"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowSkipSubscriber.drain (cyclomatic 19): WindowSkipSubscriber.drain has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfefc1104cae8c8ea4f344b7532348bc32a61027a62a5d5a8493eb01ab1b454a"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBoundaryMainObserver.drain (cyclomatic 19): WindowBoundaryMainObserver.drain has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundary.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2b4c6d6667f23b1ad1e6fb20f4e355a4932627fa52441ea6ebd64b221d9998"}},{"ruleId":"D1","level":"warning","message":{"text":"RunOnSubscriber.run (cyclomatic 19): RunOnSubscriber.run has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16166911890bd0251018d75dc186954143a12991ab6e28bbca7770ae6616feb"}},{"ruleId":"D1","level":"warning","message":{"text":"SubscriptionArbiter.drainLoop (cyclomatic 19): SubscriptionArbiter.drainLoop has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscriptions/SubscriptionArbiter.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e96b6162009e22cb47be75e4536012f3535696a4d3f91b6864844b89448a37"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatMapImmediate.drain (cyclomatic 18): ConcatMapImmediate.drain has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b10e473b9c04a15c01ae0f299b7fc11f195e7ebe54308a3f7abfcefe8892fe6"}},{"ruleId":"D1","level":"warning","message":{"text":"MergeWithObserver.drainLoop (cyclomatic 18): MergeWithObserver.drainLoop has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7994378ca3f80b441c6ec47602d911f4cc4b3e4fd13138e6441854383dabf5d5"}},{"ruleId":"D1","level":"warning","message":{"text":"MergeWithObserver.drainLoop (cyclomatic 18): MergeWithObserver.drainLoop has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"198a9a423c08f9e544630567fb7716328459fb891775e6343d0730b77bcce9d6"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBoundaryMainSubscriber.drain (cyclomatic 18): WindowBoundaryMainSubscriber.drain has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2e8cd077df709d52b7acce2c3afe3d6696cda7b82635128879b0f2e357314b"}},{"ruleId":"D1","level":"warning","message":{"text":"RunOnConditionalSubscriber.run (cyclomatic 18): RunOnConditionalSubscriber.run has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"9683ba5617e51c438bb463d0716b0520dcb31148f603e92930415028dba62401"}},{"ruleId":"D1","level":"warning","message":{"text":"ScanSeedSubscriber.drain (cyclomatic 17): ScanSeedSubscriber.drain has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0faa663235f7a8a1b2a945b38b7f34f769c267055fda0e1f45fb94548d96e00"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowExactUnboundedSubscriber.drain (cyclomatic 17): WindowExactUnboundedSubscriber.drain has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"182d02377f4b7d4b21249c934cf1220505b4cfacc9811de527d8f88742fd07be"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatMapMaybeMainObserver.drain (cyclomatic 17): ConcatMapMaybeMainObserver.drain has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec40189d8b190568afee0bed08009eeb6a8afa4b22beec4de7077adf86f5bd8"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatMapSingleMainObserver.drain (cyclomatic 17): ConcatMapSingleMainObserver.drain has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapSingle.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56e0f5715a2a6cf14fb2a895a0a519e6a438e82b571a7e87756558aada4f686"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatMapDelayErrorObserver.drain (cyclomatic 17): ConcatMapDelayErrorObserver.drain has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"27263d335a3675731c34454dd3d33ba26b0f348a9e8f194b0123bead731f8137"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBoundaryMainObserver.drain (cyclomatic 17): WindowBoundaryMainObserver.drain has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a83a00e84b234d5d4d6b1998d85a80317cfb9ee2b916706ee58dad86afeec7"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowSkipObserver.drain (cyclomatic 17): WindowSkipObserver.drain has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc52b742af524e3454276f82a485cb4ab4d11d6dc05c02d4e8d5122b9fc2dba"}},{"ruleId":"D1","level":"warning","message":{"text":"FlattenStreamMultiObserver.drain (cyclomatic 16): FlattenStreamMultiObserver.drain has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc9086201c59c7dd246a0f3cdcff420550348079f97a1d0631052950df2a6e7"}},{"ruleId":"D1","level":"warning","message":{"text":"BufferBoundarySubscriber.drain (cyclomatic 16): BufferBoundarySubscriber.drain has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9465c8cc81ad0ace34401efab9038bf201c3b8bf8ca305d94af58f96a10f96bd"}},{"ruleId":"D1","level":"warning","message":{"text":"BufferAsyncEmitter.drain (cyclomatic 16): BufferAsyncEmitter.drain has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (LatestAsyncEmitter.drain) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d5456423707fb5683fe1c3647dc95f1e528483cc9331872ae23f0fe4945264"}},{"ruleId":"D1","level":"warning","message":{"text":"LatestAsyncEmitter.drain (cyclomatic 16): LatestAsyncEmitter.drain has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (BufferAsyncEmitter.drain) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"450c478e331149b63234250ec1674bf2a05b51b27c7cc3c4f2393e170fcf60a7"}},{"ruleId":"D1","level":"warning","message":{"text":"OnBackpressureBufferStrategySubscriber.drain (cyclomatic 16): OnBackpressureBufferStrategySubscriber.drain has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBufferStrategy.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e057fbd83b512807333325900b7d40bb920d9cd4230a38d01fa69222c371a14c"}},{"ruleId":"D1","level":"warning","message":{"text":"BoundedReplayBuffer.replay (cyclomatic 16): BoundedReplayBuffer.replay has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80b4f20571ee2f9b8f17518fb6ae571e024e8ca95af0528f9de8a4160c1f9ec"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowOverlapSubscriber.drain (cyclomatic 16): WindowOverlapSubscriber.drain has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6862d5847b361f93114f5f3453867ab2a0087c4eb97085145bff536bc5d14f"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowExactBoundedSubscriber.drain (cyclomatic 16): WindowExactBoundedSubscriber.drain has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"1758729bf7c5dc3ad2d5925c83847e4c628d5af28760a9320430308bd9dc78d8"}},{"ruleId":"D1","level":"warning","message":{"text":"FlatMapIterableObserver.drain (cyclomatic 16): FlatMapIterableObserver.drain has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff47900d5fa7cf189d9c9006dbd9c6c2906528eed9226440b708d71d30a05a0"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatMapCompletableObserver.drain (cyclomatic 16): ConcatMapCompletableObserver.drain has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapCompletable.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df2eb9cefb9daf261a2ad58fc132646e519b0915f5f191a9622261ff91f43ac"}},{"ruleId":"D1","level":"warning","message":{"text":"ConcatMapDelayErrorObserver.run (cyclomatic 16): ConcatMapDelayErrorObserver.run has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"519b631716fe8d65e322598586fd13a5b59aa5b48e1842c1096fcf3a5f7f9558"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowExactUnboundedObserver.drain (cyclomatic 16): WindowExactUnboundedObserver.drain has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"7094415a1fb52fc4f54fb6c5ec21a32e0dbc81883bac6e15435395efd216651c"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowExactBoundedObserver.drain (cyclomatic 16): WindowExactBoundedObserver.drain has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6a4d4436dc4fab0afd83d7d707098210477b92867b8c0fdc0c6f6f961f7516"}},{"ruleId":"D1","level":"warning","message":{"text":"ParallelDispatcher.drainSync (cyclomatic 16): ParallelDispatcher.drainSync has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e425c27a93be736e7111b1422e31caff39f67eb04cff121cbc314ba473e2da"}},{"ruleId":"D1","level":"warning","message":{"text":"FlatMapIterableObserver.drain (cyclomatic 16): FlatMapIterableObserver.drain has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f563bb4415ef12bf448c419b5bbe4a85ca3ee0c76a9810a5bf9363c197d8919"}},{"ruleId":"D1","level":"warning","message":{"text":"UnboundedReplayBuffer.replay (cyclomatic 16): UnboundedReplayBuffer.replay has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9dd5a29428f76dee550cf77de15d33ddc0c9bc3055f406b79dfba812df89a5"}},{"ruleId":"D1","level":"warning","message":{"text":"SizeBoundReplayBuffer.replay (cyclomatic 16): SizeBoundReplayBuffer.replay has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (SizeAndTimeBoundReplayBuffer.replay) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"014307bc7ab41508adca0301dfc45c4f844c7310615370b947b43bd1aeb82c65"}},{"ruleId":"D1","level":"warning","message":{"text":"SizeAndTimeBoundReplayBuffer.replay (cyclomatic 16): SizeAndTimeBoundReplayBuffer.replay has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (SizeBoundReplayBuffer.replay) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fb07cbdfceb5f10e37097928414ffd4263e8bfdd1a9fd7db9d7addef8939fc"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeSubscriber.drainLoop (cognitive 149): MergeSubscriber.drainLoop has cognitive complexity 149 (threshold 15). Drivers by points: if/else 30 (116 pts), loops 6 (20 pts), boolean chains 7, error handling 1 (6 pts) (nesting depth added 105). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac8c948b04dd5ba098d684e61f93280e425addefad8d2f586e1109321d93a88"}},{"ruleId":"D2","level":"warning","message":{"text":"MulticastProcessor.drain (cognitive 133): MulticastProcessor.drain has cognitive complexity 133 (threshold 15). Drivers by points: if/else 21 (84 pts), loops 8 (42 pts), error handling 1 (5 pts), boolean chains 2 (nesting depth added 101). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/MulticastProcessor.java"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"361c3351dd6b3341a70cb91598674e996bca91ceb1743d71c8fa3d2680a76ece"}},{"ruleId":"D2","level":"warning","message":{"text":"MulticastProcessor.drain (cognitive 115): MulticastProcessor.drain has cognitive complexity 115 (threshold 15). Drivers by points: if/else 27 (93 pts), loops 4 (11 pts), boolean chains 7, error handling 1 (4 pts) (nesting depth added 76). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbec03a2785d36a58ffd8b2e82c6695f637cab086a8542748b619e9b2f2bdcd0"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipCoordinator.drain (cognitive 105): ZipCoordinator.drain has cognitive complexity 105 (threshold 15). Drivers by points: if/else 19 (66 pts), error handling 3 (13 pts), loops 5 (12 pts), ternaries 2 (10 pts), boolean chains 4 (nesting depth added 72). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb8da42115a021708e5893132753de3564d1dbbc39455051b317102f745c687"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchMapSubscriber.drain (cognitive 96): SwitchMapSubscriber.drain has cognitive complexity 96 (threshold 15). Drivers by points: if/else 28 (86 pts), error handling 1 (4 pts), loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 64). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2319e330328d1834ed593bdb89f3decd995e5b8e8c73b38df802bec1d24a62c5"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeObserver.drainLoop (cognitive 94): MergeObserver.drainLoop has cognitive complexity 94 (threshold 15). Drivers by points: if/else 20 (72 pts), loops 4 (12 pts), error handling 1 (6 pts), boolean chains 4 (nesting depth added 65). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMap.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"423667622db1fbe5c87485b8a13dff7d404813044f46eb46fe0782d5b6ef2f70"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapEagerDelayErrorSubscriber.drain (cognitive 92): ConcatMapEagerDelayErrorSubscriber.drain has cognitive complexity 92 (threshold 15). Drivers by points: if/else 21 (78 pts), error handling 1 (5 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 64). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapEager.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"da72bcd75898349421c9a49e4f8cab03faad09ca5d1aacc212ab483d5ab54b98"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchMapObserver.drain (cognitive 87): SwitchMapObserver.drain has cognitive complexity 87 (threshold 15). Drivers by points: if/else 22 (76 pts), error handling 1 (5 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 61). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSwitchMap.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8427782e91024b7269ce620b1867fe6dadf8c280141dd62ff8924f1287f8b2aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapDelayed.drain (cognitive 84): ConcatMapDelayed.drain has cognitive complexity 84 (threshold 15). Drivers by points: if/else 17 (65 pts), error handling 3 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 61). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43aff8a4ed675948104f5ff851978005085b2887e6d1e7befdb8b8b3e8e7a3b"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapEagerMainObserver.drain (cognitive 81): ConcatMapEagerMainObserver.drain has cognitive complexity 81 (threshold 15). Drivers by points: if/else 22 (66 pts), error handling 2 (7 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapEager.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b680217af567ac34a323fbff79c46c8ebb5a635c12fe072461ddb5ed8c353d2d"}},{"ruleId":"D2","level":"warning","message":{"text":"ThrottleLatestSubscriber.drain (cognitive 80): ThrottleLatestSubscriber.drain has cognitive complexity 80 (threshold 15). Drivers by points: if/else 21 (62 pts), error handling 2 (13 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 53). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f0e5aee53aaf60c0ec7cd50ece12977ced3508a77491ac360568517b3a2481"}},{"ruleId":"D2","level":"warning","message":{"text":"JoinSubscription.drain (cognitive 79): JoinSubscription.drain has cognitive complexity 79 (threshold 15). Drivers by points: if/else 18 (49 pts), error handling 4 (18 pts), loops 4 (11 pts), boolean chains 1 (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"85710335710190c0f868cc35b9a6bafef17eae1cec9d28977c2d5c10a9cbc9a3"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapImmediate.drain (cognitive 74): ConcatMapImmediate.drain has cognitive complexity 74 (threshold 15). Drivers by points: if/else 15 (56 pts), error handling 3 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 54). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a94f4c2f2043bae741e9a333458adaa831700a1f2aae3ab048c6778f85c9106"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapStreamSubscriber.drain (cognitive 69): FlatMapStreamSubscriber.drain has cognitive complexity 69 (threshold 15). Drivers by points: if/else 15 (46 pts), error handling 4 (19 pts), boolean chains 3, loops 1 (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFlatMapStream.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"057bb551df10787a64c9787e2b2005a14998b64b9dcfa58f983192e78aadd88d"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowSkipSubscriber.drain (cognitive 69): WindowSkipSubscriber.drain has cognitive complexity 69 (threshold 15). Drivers by points: if/else 16 (45 pts), loops 5 (23 pts), boolean chains 1 (nesting depth added 47). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"8496c9dc1177f8ff45e328faedc2d3ac7ca9962fed04fcf8a4a3cb22031ba00a"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapDelayed.run (cognitive 67): ConcatMapDelayed.run has cognitive complexity 67 (threshold 15). Drivers by points: if/else 16 (51 pts), error handling 3 (12 pts), boolean chains 3, loops 1 (nesting depth added 44). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a8c5c5d50f4a88a027886ed6c380e38dc4fd7f7c9cf32cc6ed6c49cb6b26eb"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapImmediate.run (cognitive 66): ConcatMapImmediate.run has cognitive complexity 66 (threshold 15). Drivers by points: if/else 15 (51 pts), error handling 3 (12 pts), boolean chains 2, loops 1 (nesting depth added 45). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"080d29c7188b28f803d21d2f1af142741e9397a89342abc10253a38c1f98d68c"}},{"ruleId":"D2","level":"warning","message":{"text":"FlattenIterableSubscriber.drain (cognitive 66): FlattenIterableSubscriber.drain has cognitive complexity 66 (threshold 15). Drivers by points: if/else 15 (46 pts), error handling 4 (15 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlattenIterable.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"09072e31494f9fe1adcbee190214de308996efd6de8da97bc3897636f0902ad4"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupJoinSubscription.drain (cognitive 66): GroupJoinSubscription.drain has cognitive complexity 66 (threshold 15). Drivers by points: if/else 15 (38 pts), loops 5 (15 pts), error handling 3 (12 pts), boolean chains 1 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cefffc56b7688c12357b5edc4663c465e671202e5589d0a0305794383e3059"}},{"ruleId":"D2","level":"warning","message":{"text":"EqualCoordinator.drain (cognitive 66): EqualCoordinator.drain has cognitive complexity 66 (threshold 15). Drivers by points: if/else 14 (44 pts), error handling 3 (14 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e0c64fadca4d4e6ba690a871ad046363e2f8197afb1316498133b62ece84ad"}},{"ruleId":"D2","level":"warning","message":{"text":"EqualCoordinator.drain (cognitive 66): EqualCoordinator.drain has cognitive complexity 66 (threshold 15). Drivers by points: if/else 14 (44 pts), error handling 3 (14 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqualSingle.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14b1d8d5b681e983bf9590ce3df484c5e767bedb20a71db3612aace703f815c"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelDispatcher.drainAsync (cognitive 63): ParallelDispatcher.drainAsync has cognitive complexity 63 (threshold 15). Drivers by points: if/else 14 (40 pts), loops 5 (17 pts), error handling 1 (4 pts), boolean chains 2 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b16c1e6687d2864591c0df364d6dd47f890ec0fc7dff3ac34aeea5660b7e5d4"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupJoinDisposable.drain (cognitive 61): GroupJoinDisposable.drain has cognitive complexity 61 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 5 (15 pts), error handling 3 (12 pts), boolean chains 1 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b47fda564c7cbd8ea75c4b408baafdb23cf53750842f8a055eb05fd0845329c"}},{"ruleId":"D2","level":"warning","message":{"text":"ThrottleLatestObserver.drain (cognitive 60): ThrottleLatestObserver.drain has cognitive complexity 60 (threshold 15). Drivers by points: if/else 15 (43 pts), error handling 2 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleLatest.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"281f8b4c2f5a1890034204c4e888f963d599ab73cc283dcbcf7e7c93bcc9a924"}},{"ruleId":"D2","level":"warning","message":{"text":"SortedJoinSubscription.drain (cognitive 60): SortedJoinSubscription.drain has cognitive complexity 60 (threshold 15). Drivers by points: if/else 15 (46 pts), loops 4 (8 pts), error handling 1 (6 pts) (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelSortedJoin.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"315d227e3d510a2c6ee5a13f4696e62da700f9db5dbf90ba4e01e9b3c7a77bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"JoinDisposable.drain (cognitive 59): JoinDisposable.drain has cognitive complexity 59 (threshold 15). Drivers by points: if/else 12 (29 pts), error handling 4 (18 pts), loops 4 (11 pts), boolean chains 1 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"551d80e4821583ef2842870bbde2c5cfb58491a2d26191f2a983953c885c142d"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBoundaryMainSubscriber.drain (cognitive 58): WindowBoundaryMainSubscriber.drain has cognitive complexity 58 (threshold 15). Drivers by points: if/else 17 (53 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundary.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"611fae9f6b6525706f4be257a62b92609555dfdbc251670dc9f102261282284c"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBoundaryMainSubscriber.drain (cognitive 58): WindowBoundaryMainSubscriber.drain has cognitive complexity 58 (threshold 15). Drivers by points: if/else 16 (43 pts), error handling 1 (7 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4f723fe641a9f8c3d72d684d9addca68e24b7513ff546f154cac3af442c6de"}},{"ruleId":"D2","level":"warning","message":{"text":"JoinSubscription.drainLoop (cognitive 58): JoinSubscription.drainLoop has cognitive complexity 58 (threshold 15). Drivers by points: if/else 14 (46 pts), loops 4 (9 pts), boolean chains 3 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"85801ab6188d0764aa9d68c6df89f68117cda3eb0f7646d152a733f5a0f3ed7f"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapMaybeSubscriber.drain (cognitive 55): ConcatMapMaybeSubscriber.drain has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (41 pts), error handling 2 (8 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5451acfa2a0779456b8532ad41bcf8740496df64d8a275b938dbba9827404c53"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapSingleSubscriber.drain (cognitive 55): ConcatMapSingleSubscriber.drain has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (41 pts), error handling 2 (8 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e940e27c684cb40ebf35878ec960449d4b7a7dc0bc0dfc6db13a7807b8506a"}},{"ruleId":"D2","level":"warning","message":{"text":"PublishConnection.drain (cognitive 54): PublishConnection.drain has cognitive complexity 54 (threshold 15). Drivers by points: if/else 12 (38 pts), loops 4 (11 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec963d594bea17119072f489b3743ac513572c0a911dbf0cbddd3716406f6490"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowSkipObserver.drain (cognitive 54): WindowSkipObserver.drain has cognitive complexity 54 (threshold 15). Drivers by points: if/else 14 (37 pts), loops 4 (16 pts), boolean chains 1 (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"b037bee0986f8234a99ad11095e4b6f7f92454b745ba4186fe30bececbe3a7c5"}},{"ruleId":"D2","level":"warning","message":{"text":"EqualCoordinator.drain (cognitive 53): EqualCoordinator.drain has cognitive complexity 53 (threshold 15). Drivers by points: if/else 14 (42 pts), boolean chains 4, error handling 1 (4 pts), loops 2 (3 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c0f1071a923fbb753de0c69865e1ae4d7d12626f397fa16bff5749de952971"}},{"ruleId":"D2","level":"warning","message":{"text":"EqualCoordinator.drain (cognitive 53): EqualCoordinator.drain has cognitive complexity 53 (threshold 15). Drivers by points: if/else 14 (42 pts), boolean chains 4, error handling 1 (4 pts), loops 2 (3 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"942d5f01a8bd99556a48b3663cbe99c361d771690cd0cceaa25ef93b0f904682"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBoundaryMainObserver.drain (cognitive 52): WindowBoundaryMainObserver.drain has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (47 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundary.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d24c6458323f3092bcf20ea797757c6816ceed8d63dd061d5ea5c073398b2fc"}},{"ruleId":"D2","level":"warning","message":{"text":"JoinSubscriptionDelayError.drainLoop (cognitive 52): JoinSubscriptionDelayError.drainLoop has cognitive complexity 52 (threshold 15). Drivers by points: if/else 12 (40 pts), loops 4 (9 pts), boolean chains 3 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"08772ac4746bb3a7d4a39621c5809dc87ac5ca7566c43d0ced0afe7cc6b9b790"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowExactUnboundedSubscriber.drain (cognitive 50): WindowExactUnboundedSubscriber.drain has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (48 pts), boolean chains 1, loops 1 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3308b14a76532cd386167badcfa77a77096cfd1c24307e9c8e3ba8410bf15140"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBoundaryMainObserver.drain (cognitive 49): WindowBoundaryMainObserver.drain has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (35 pts), error handling 1 (6 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3ffd0a0e0be2bcb0039eaad7f37062aac70793135efeadc99b6fc914dc3012"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowExactUnboundedObserver.drain (cognitive 49): WindowExactUnboundedObserver.drain has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (47 pts), boolean chains 1, loops 1 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fb3e99da805d714e08198bfb2d55ecd712cea7f5e3c7a9d39db18b3d4a5c57"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelDispatcher.drainSync (cognitive 48): ParallelDispatcher.drainSync has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 5 (17 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfbdee42237dc254f6ac461a13151a602a43ba316b9363846daef7b04389dc9"}},{"ruleId":"D2","level":"warning","message":{"text":"RunOnSubscriber.run (cognitive 48): RunOnSubscriber.run has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (43 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e70d9586933d8b9224527c90c2e92be40a52626f27dff51bbaa0a70f84966c4"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscriptionArbiter.drainLoop (cognitive 48): SubscriptionArbiter.drainLoop has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (45 pts), boolean chains 2, loops 1 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscriptions/SubscriptionArbiter.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e263bb88a4ce698fa6f96204f37344fe6f3c65fc81fe03497ac6c92675962c9"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapMaybeSubscriber.drainLoop (cognitive 47): FlatMapMaybeSubscriber.drainLoop has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (38 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f105b3219edba49aa8f24275a0001eae4079c00dbe6bda28102db7121bb4f4e"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapSingleSubscriber.drainLoop (cognitive 47): FlatMapSingleSubscriber.drainLoop has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (38 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65b0533f9a3f40d8b1978248f73af1325a567a7de4fcb75d374a20cc534ad14"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapDelayErrorObserver.drain (cognitive 46): ConcatMapDelayErrorObserver.drain has cognitive complexity 46 (threshold 15). Drivers by points: if/else 11 (31 pts), error handling 3 (12 pts), boolean chains 2, loops 1 (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ed4583c86f1fa049369ffff045083ae1cf25a71781fab10ee5dd91b381cd1a"}},{"ruleId":"D2","level":"warning","message":{"text":"RunOnConditionalSubscriber.run (cognitive 46): RunOnConditionalSubscriber.run has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (42 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b79380b385bd18c6eefbe51208921cc124cee4c92caf4a7b0a0703a1120aa98"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapDelayErrorObserver.run (cognitive 45): ConcatMapDelayErrorObserver.run has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (30 pts), error handling 3 (12 pts), boolean chains 2, loops 1 (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb62e342770bb2b839fecad381934830d8fa678d65b2d59a2fa183d36b6be2ad"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowOverlapSubscriber.drain (cognitive 44): WindowOverlapSubscriber.drain has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (36 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee04562add8f1c48be1afffeeb49c09e58056ed15245412dab784c802a40232"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowExactBoundedSubscriber.drain (cognitive 44): WindowExactBoundedSubscriber.drain has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (41 pts), boolean chains 2, loops 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e593591a45b3802aa2ebbc82c80ff6d2fa09028295d140136ed4a3238c1ee18"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowExactBoundedObserver.drain (cognitive 44): WindowExactBoundedObserver.drain has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (41 pts), boolean chains 2, loops 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fa03d28040c2984d36a1339392dda6a969d3eae8d7723a9bcaa3dbdf62e602"}},{"ruleId":"D2","level":"warning","message":{"text":"SkipLastTimedObserver.drain (cognitive 42): SkipLastTimedObserver.drain has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (38 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSkipLastTimed.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccb9eaba32b45d15e704bb98b27fb98b223a7a5cdb5eabc2dac6ce6dbfc1cdc"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositeException.getCause (cognitive 41): CompositeException.getCause has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 3 (13 pts), boolean chains 1 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/exceptions/CompositeException.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"250ff8079684a2d2b4dc98c5f052b12314e48b119cfaf986ea7d8ce7a8a08581"}},{"ruleId":"D2","level":"warning","message":{"text":"OnBackpressureBufferStrategySubscriber.drain (cognitive 41): OnBackpressureBufferStrategySubscriber.drain has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (38 pts), loops 2 (3 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBufferStrategy.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d763c8cb1a35b05172eb9d6c8e2f5bc1c1e36aa6460b22dfcf0b1377370a566c"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanSeedSubscriber.drain (cognitive 41): ScanSeedSubscriber.drain has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (37 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76465410df718e5e9e296e5b8b889afd7b34b62a9fd3c5ff6cbb3aff4d45de8"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeWithObserver.drainLoop (cognitive 40): MergeWithObserver.drainLoop has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (31 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f99e4a47192256998d437d2dc5546f88d92e23af31d6b01affab5cab1378e9"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeWithObserver.drainLoop (cognitive 40): MergeWithObserver.drainLoop has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (31 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fea086c82cb63e849859213216117df6e6b110e91a407435aa6eaf23507af2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapMaybeMainObserver.drain (cognitive 40): ConcatMapMaybeMainObserver.drain has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (26 pts), error handling 2 (8 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b762ff971681ed9a6a283b4ae0a77620354fd6840750d55e2120d88370f0e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapSingleMainObserver.drain (cognitive 40): ConcatMapSingleMainObserver.drain has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (26 pts), error handling 2 (8 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapSingle.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4afc7a9a25f5d55a1ac40cf256a9e6a10e3de5d7d2e4ab0c0ed0011634779e9"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapIterableObserver.drain (cognitive 39): FlatMapIterableObserver.drain has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (26 pts), error handling 2 (8 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d489a1f9bf2ca6874cfe98eb7e88b538c0e92bd02a2c989f9cf58d4d19371f8"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapIterableObserver.drain (cognitive 39): FlatMapIterableObserver.drain has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (26 pts), error handling 2 (8 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6fe44a6731875cf545d18fea6caeb451a8040f8cb294d4c994a825cfa034b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatArraySubscriber.onComplete (cognitive 38): ConcatArraySubscriber.onComplete has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (36 pts), loops 1 (2 pts) (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatArray.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd4e26b3ba8e17afd8692525c381a9fbb25b0e2498a40e9b39906850dbe1040"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundedReplayBuffer.replay (cognitive 38): BoundedReplayBuffer.replay has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (29 pts), error handling 1 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fb5b8053a2993558db24c0a45dee0c69538e562b2fd0c350967e8ab0962986"}},{"ruleId":"D2","level":"warning","message":{"text":"BufferAsyncEmitter.drain (cognitive 37): BufferAsyncEmitter.drain has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (LatestAsyncEmitter.drain) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"18186c61d5c015fe54714db14126fcf44eb6b0d1af12712c2d9f9ce9a29c8b41"}},{"ruleId":"D2","level":"warning","message":{"text":"LatestAsyncEmitter.drain (cognitive 37): LatestAsyncEmitter.drain has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (BufferAsyncEmitter.drain) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04fbc3d1a69dce7e848da6a9bf992b1507e9b650fb2bfd6fd71aa588bdaaef2"}},{"ruleId":"D2","level":"warning","message":{"text":"IteratorConditionalSubscription.slowPath (cognitive 37): IteratorConditionalSubscription.slowPath has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (28 pts), error handling 2 (6 pts), loops 2 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c722db300ddc940f76e3c8ed2923405b6bedd965b99a0892e16fbcd3fa3f22"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapCompletableObserver.drain (cognitive 37): ConcatMapCompletableObserver.drain has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (26 pts), error handling 2 (7 pts), boolean chains 3, loops 1 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapCompletable.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f7cd0f537697527465a173241ef4fd2b21246df97da98952c53968c7252bf4"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipCoordinator.drain (cognitive 37): ZipCoordinator.drain has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 3 (6 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableZip.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9194fbdc63423b680a2637426b47d6c95196c04391ac15046479f526dc1a0801"}},{"ruleId":"D2","level":"warning","message":{"text":"UnboundedReplayBuffer.replay (cognitive 37): UnboundedReplayBuffer.replay has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (32 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c767edccc5e50f1c4dab3f7a0495d30558cb0820d273f4348eb18e82fc74a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatIteratorStreamer.next (cognitive 36): ConcatIteratorStreamer.next has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (30 pts), error handling 1 (4 pts), boolean chains 1, loops 1 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableConcatIterable.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92b5d619be686284b2093cb992c7460f77d1bd0efb6e0c27f3734da2cc37937"}},{"ruleId":"D2","level":"warning","message":{"text":"SizeBoundReplayBuffer.replay (cognitive 36): SizeBoundReplayBuffer.replay has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (31 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SizeAndTimeBoundReplayBuffer.replay) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e9b7a23693632df7eb3f3885ed7b4ff287f154e691ea961ef180e69a8ae9df"}},{"ruleId":"D2","level":"warning","message":{"text":"SizeAndTimeBoundReplayBuffer.replay (cognitive 36): SizeAndTimeBoundReplayBuffer.replay has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (31 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SizeBoundReplayBuffer.replay) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0afd348b9bf18eba23d96b434d2118d8458e96481aceed22dc911704a92b2bf"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMaybeObserver.drain (cognitive 35): ConcatMaybeObserver.drain has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (24 pts), error handling 2 (9 pts), boolean chains 1, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatIterable.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a58342fc5421bbe6061b54fb458a277e91e0454b0e9f4cc5851075729411e8e"}},{"ruleId":"D2","level":"warning","message":{"text":"IteratorSubscription.slowPath (cognitive 34): IteratorSubscription.slowPath has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (25 pts), error handling 2 (6 pts), loops 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74106fd6ecb77a0dd54bfeb1082169a1d036fe574b01d1659f26d288403c378"}},{"ruleId":"D2","level":"warning","message":{"text":"BackpressureBufferSubscriber.drain (cognitive 34): BackpressureBufferSubscriber.drain has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 2 (5 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBuffer.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8bfc2c38563256f44e1555f8c588b00c48527623f444a6555a879931f3484a"}},{"ruleId":"D2","level":"warning","message":{"text":"BufferBoundarySubscriber.drain (cognitive 33): BufferBoundarySubscriber.drain has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbaa6ab85a303ab71f88e4d72b4fcb331002021981b055ff51cdb90a46726b09"}},{"ruleId":"D2","level":"warning","message":{"text":"FlattenStreamMultiObserver.drain (cognitive 32): FlattenStreamMultiObserver.drain has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (24 pts), error handling 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"491e3c0278a366eb55232fb3dc1b8adcdf92949e6bc7c5db47a45e432390803f"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueDrainHelper.drainMaxLoop (cognitive 32): QueueDrainHelper.drainMaxLoop has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/QueueDrainHelper.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae22e6cc73957fa03557f62c788eb1b7fe31ef2db164ff53e5fd3d36b728f964"}},{"ruleId":"D2","level":"warning","message":{"text":"UnboundedReplayBuffer.replay (cognitive 31): UnboundedReplayBuffer.replay has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (21 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"684b6a4c2ceb8c21d161634cefdc65af453596a7aacba0d68fb1361167b6b113"}},{"ruleId":"D2","level":"warning","message":{"text":"TakeLastSubscriber.drain (cognitive 31): TakeLastSubscriber.drain has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (25 pts), loops 2 (6 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLast.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee823091668340cac753ccdc00b387dc87cd98b5e1403bea8eb76d7ee212a6aa"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeMaybeObserver.drainNormal (cognitive 31): MergeMaybeObserver.drainNormal has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 3 (6 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeMergeArray.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa8db851f118895df3793efcae43d19754c60d8d74c6365f1628beb07fe9960"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueDrainHelper.checkTerminated (cognitive 29): QueueDrainHelper.checkTerminated has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (29 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/QueueDrainHelper.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"19db05f07ebb3614168102520ea68822f5785fa6316556ec31d96f3f50113806"}},{"ruleId":"D2","level":"warning","message":{"text":"UnicastSubject.drainNormal (cognitive 29): UnicastSubject.drainNormal has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (25 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/UnicastSubject.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4e5e53452091ad888f40a94ad297e6306da254ea4f5b9841776b12c273eda7"}},{"ruleId":"D2","level":"warning","message":{"text":"ObserveOnSubscriber.runAsync (cognitive 28): ObserveOnSubscriber.runAsync has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (21 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c80650ffe824ee20edc17238a20b7650b280437ff9311128a81d9b1e12bac57"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamConditionalSubscription.run (cognitive 27): StreamConditionalSubscription.run has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 2 (6 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa8939a0c547f37aefb9390158311df9c216f007e44b9c0d9aab3f86a513b2c"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeSubscriber.tryEmitScalar (cognitive 27): MergeSubscriber.tryEmitScalar has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a70a4dad99d78bd971ce42e761615a76dd1eacb9bf16867c3ee42b52f2f3235"}},{"ruleId":"D2","level":"warning","message":{"text":"DeferredScalarSubscription.request (cognitive 27): DeferredScalarSubscription.request has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (25 pts), loops 1 (2 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscriptions/DeferredScalarSubscription.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f079d95ad0e91b2aed8f4695b75e5608642ce20e7dcb3afa7d84db1512962bc"}},{"ruleId":"D2","level":"warning","message":{"text":"FlattenStreamMultiObserver.drain (cognitive 26): FlattenStreamMultiObserver.drain has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 2 (6 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsObservable.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"132e1828db770211cde520770bff8af7d3d8cbb80cd33ca20fec9011fd1fa47f"}},{"ruleId":"D2","level":"warning","message":{"text":"State.drainFused (cognitive 26): State.drainFused has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f096b85807759cdd5b6f48d27feb0ec100a800407f50fe98c98871f85999c0c7"}},{"ruleId":"D2","level":"warning","message":{"text":"State.drainNormal (cognitive 26): State.drainNormal has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"08356bce7246b7af8ecc74767fd1d2fc4438f6dc55da4d85028ae6c378c6d696"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapCompletableObserver.drain (cognitive 26): ConcatMapCompletableObserver.drain has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapCompletable.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9423c1c6b7690b9d02a7847e09835163adcc97798076709b6e7c6822163a4e"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectStreamable.next (cognitive 26): CollectStreamable.next has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (7 pts), loops 2 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacb267cb52367d38898928db949705cd3f38e9c164d986f086a049bcae470ed"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectorStreamable.next (cognitive 26): CollectorStreamable.next has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (7 pts), loops 2 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e939552afceb79381cc4dc36d6573bba136e26db0f6bf38b8e6c9ae6701e310"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeSubscriber.tryEmit (cognitive 25): MergeSubscriber.tryEmit has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee0ef3bc0b1c454c55365af33aac457ddea03189122a21b0f7f0d6d0bd49a23"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayConditionalSubscription.slowPath (cognitive 25): ArrayConditionalSubscription.slowPath has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"771adf7eb55fea9f777df1587fa11eac80b504d634839ad46f83b604fc6c427d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMaybeObserver.drain (cognitive 25): ConcatMaybeObserver.drain has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArray.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2f0db807a4085416c5b47f8c0dc34e187f3557f5cc9dedb84bb802e508584e"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMaybeObserver.drain (cognitive 25): ConcatMaybeObserver.drain has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArrayDelayError.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a85a903276a2596cff893377ea52a40a2f9dcf25fd8209eca286df55ea18bf"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapMaybeObserver.drainLoop (cognitive 25): FlatMapMaybeObserver.drainLoop has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"b528f7ed4b252edc9771bbea18ac8dba243b72c35df441dd05fb43e4ea69afa0"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapSingleObserver.drainLoop (cognitive 25): FlatMapSingleObserver.drainLoop has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a00383e6313c5537fb88aeda99304921d5b74617b438c884d1e100476fd258"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectStreamable.drain (cognitive 25): CollectStreamable.drain has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), error handling 1 (5 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e9ecb343e98b32b1d0633975b54f9a0acb87120fbece59d9cfcb5b5f1daf18"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamSubscription.run (cognitive 24): StreamSubscription.run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 2 (6 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8908ee562eb86ef9934f337b7fb4f1fba0257af3ed4a46b7657db9eed487fe63"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchMapMaybeSubscriber.drain (cognitive 24): SwitchMapMaybeSubscriber.drain has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b0b8175b6ff11f1db50b0582a7b488796bc8292e4f1f7742287500c3052480"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchMapSingleSubscriber.drain (cognitive 24): SwitchMapSingleSubscriber.drain has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"3777679ff00b9f31539dc338b19315104d2fc99d43d34c455fc99dfe43a59453"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchMapMaybeMainObserver.drain (cognitive 24): SwitchMapMaybeMainObserver.drain has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"733de89070669d33239c3f0c13ba9c22a52f04c4a90f66ad52db528a6866cfe4"}},{"ruleId":"D2","level":"warning","message":{"text":"SwitchMapSingleMainObserver.drain (cognitive 24): SwitchMapSingleMainObserver.drain has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"346190721a497bc8e62bb2c4bac880e87d8134b7fb1f9153e9dbc5e6c48ab972"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeWithObserver.drainLoop (cognitive 24): MergeWithObserver.drainLoop has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"684d3f25579d63d5d97bd34abd981df5f3e584aff274f6dd7ae1b8f30b1e0448"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeWithObserver.drainLoop (cognitive 24): MergeWithObserver.drainLoop has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a160c3ce47f0975dfae69928977f03f6918678d2f830415b0f5b25aeea2575"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueDrainSubscriber.fastPathOrderedEmitMax (cognitive 24): QueueDrainSubscriber.fastPathOrderedEmitMax has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (24 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscribers/QueueDrainSubscriber.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"49891d035770840fd3aea0280967b0fdc81dcf28e2d6b56cdc61bf51acfa5fbd"}},{"ruleId":"D2","level":"warning","message":{"text":"MulticastProcessor.remove (cognitive 24): MulticastProcessor.remove has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/MulticastProcessor.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"095187199fe84212ddda5406da53f6eccf3818d829c7d3fa30859af2f364e0f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ObserveOnConditionalSubscriber.runAsync (cognitive 23): ObserveOnConditionalSubscriber.runAsync has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcfa208688507c634877733e0d02313a6f2120333dff2b7669121f9cc0dba7c"}},{"ruleId":"D2","level":"warning","message":{"text":"TakeLastTimedSubscriber.drain (cognitive 23): TakeLastTimedSubscriber.drain has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"4806ec95bac0f4f000b865ec3c5bf4eb66b3d4018e8a98378bd1e514c51e8dce"}},{"ruleId":"D2","level":"warning","message":{"text":"LatestCoordinator.drain (cognitive 23): LatestCoordinator.drain has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCombineLatest.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d5441b1157dfe633f63bd6f2f706dc675f1a2add74bab802df10aa02968e60"}},{"ruleId":"D2","level":"warning","message":{"text":"JoinSubscription.onNext (cognitive 23): JoinSubscription.onNext has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cc3380925fda7f391567f234e3c949e651661be9b0097346f3c7655d087709"}},{"ruleId":"D2","level":"warning","message":{"text":"TrampolineWorker.enqueue (cognitive 23): TrampolineWorker.enqueue has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (5 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/TrampolineScheduler.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c95c7f801f4b514ed66976b65cdd27e640f3b9fcc1a791f4c5c51eca22896a"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletableAmb.subscribeActual (cognitive 22): CompletableAmb.subscribeActual has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableAmb.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e9184631b10da2862c81c1115e6854a30cfa9768455e930bfb76124383d42a"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockingFlowableIterator.hasNext (cognitive 22): BlockingFlowableIterator.hasNext has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableIterable.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc92edc5b0a1939f2db366671c22bdf2154d1dc3a83469ae6d16387d815cc8d"}},{"ruleId":"D2","level":"warning","message":{"text":"CombineLatestCoordinator.drainAsync (cognitive 22): CombineLatestCoordinator.drainAsync has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"21342622fcbfd53a8bed08f3d708783f193d9c25f0833fd04c86627aace84369"}},{"ruleId":"D2","level":"warning","message":{"text":"MaybeAmb.subscribeActual (cognitive 22): MaybeAmb.subscribeActual has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeAmb.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4d3825db1f82280d738ccd81a232d68dd7119f605f01a66669c765214c004c"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockingObservableIterator.hasNext (cognitive 22): BlockingObservableIterator.hasNext has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableIterable.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f0c14734fa97cd2ffd52a73d897b71e54521b8252f991e42e1726218cb1467"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceObserver.drain (cognitive 22): SourceObserver.drain has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (7 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"abee059a8ea1c921bdd4414e21e0d598aee1c96fc297ac20309314d60357c42c"}},{"ruleId":"D2","level":"warning","message":{"text":"ArraySubscription.slowPath (cognitive 21): ArraySubscription.slowPath has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c71ab3d2c30e82b395352415f2b6563f703de16270c8864f704000bcd66546"}},{"ruleId":"D2","level":"warning","message":{"text":"ObserveOnConditionalSubscriber.runSync (cognitive 21): ObserveOnConditionalSubscriber.runSync has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"324ba754941617c9f4dc2cbc2e68fa89bd5735f2fdbe9932765fbdfe7d1ea957"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcatMapObserver.run (cognitive 21): ConcatMapObserver.run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 2 (7 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a8a94ad5fe741474c211084c0bd2262f4810cb19667c2d34bc08e5ec9e4ef6"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleAmb.subscribeActual (cognitive 21): SingleAmb.subscribeActual has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleAmb.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e37c76284c5179eef02e4bf2b793f35fc02f514c343b06f95dc86f16e4d6698"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapIterableObserver.onSuccess (cognitive 21): FlatMapIterableObserver.onSuccess has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 3 (7 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableObservable.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e0589a2cd65d6e374e989fcf9aa6586202fd1335d0c7a340899fe41100f932"}},{"ruleId":"D2","level":"warning","message":{"text":"MapOptionalStreamer.drain (cognitive 21): MapOptionalStreamer.drain has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 1 (4 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f7dee2479052e1de7e343a670bb4aab2742d461b50d74d20af5379dfcff0d7"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipStreamer.whenComplete (cognitive 21): ZipStreamer.whenComplete has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableZip.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"217367216b9be3de2778e02cffdea3e2194584ddb4530ce259b031aee0934dcb"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockingCurrentThreadScheduler.drainLoop (cognitive 21): BlockingCurrentThreadScheduler.drainLoop has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (7 pts), error handling 2 (6 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f95bcb9dbef4bbdd45cd5f61cbff87de1f5bacc01fc19b8f43d1ba0ec83713"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupBySubscriber.onNext (cognitive 20): GroupBySubscriber.onNext has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa4650fe92b60cf0ae8d4af21d7988fd90442be8d89bb4fa575be38200acc20"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeConditionalSubscription.slowPath (cognitive 20): RangeConditionalSubscription.slowPath has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ec234e50998ad954a1480430e18807223e34dc04b5dc7ee5de051ba5aed33b"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeConditionalSubscription.slowPath (cognitive 20): RangeConditionalSubscription.slowPath has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21a9f5bbab06777200f7b82b2cc690b4b621eb926075ae42fa769b1656dc020"}},{"ruleId":"D2","level":"warning","message":{"text":"BufferBoundaryObserver.drain (cognitive 20): BufferBoundaryObserver.drain has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c88621808db59242dbd2b0bf9fc68d46af51c4168deb77a58a4cbe80b836ee"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeObserver.subscribeInner (cognitive 20): MergeObserver.subscribeInner has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMap.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"046726ea5464c7aa2ae6fc66581b00deb58f5ead57839b82f304037b99511103"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectorStreamable.drain (cognitive 20): CollectorStreamable.drain has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"079f2891868de6aa27cccdcfec2f2a258117660a8ee6b28dfa81a9726b40045e"}},{"ruleId":"D2","level":"warning","message":{"text":"LastStreamer.drain (cognitive 20): LastStreamer.drain has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableLastAsSingle.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c687c749f61cf7d6de699deed5fe90d5f3d3035e2bb0b3d4678a79575a40517d"}},{"ruleId":"D2","level":"warning","message":{"text":"MergerBiFunction.apply (cognitive 20): MergerBiFunction.apply has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5 (6 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/MergerBiFunction.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f401cf082e235f4e294f2034dee9db6cc81068e2cb1ae61b8294ff49214ee48"}},{"ruleId":"D2","level":"warning","message":{"text":"Multicaster.replay (cognitive 19): Multicaster.replay has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"6633b8437ebc607b734ab6bc9982d091d95a37c7ea127bba1c41c8d264a08d8e"}},{"ruleId":"D2","level":"warning","message":{"text":"IteratorSubscription.fastPath (cognitive 19): IteratorSubscription.fastPath has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 2 (4 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (IteratorConditionalSubscription.fastPath) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebfb1953925ab799a8f8eb217849e274ce3f81efae15b204c541746b6457884"}},{"ruleId":"D2","level":"warning","message":{"text":"IteratorConditionalSubscription.fastPath (cognitive 19): IteratorConditionalSubscription.fastPath has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 2 (4 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (IteratorSubscription.fastPath) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef088a41e62f1889d47bfb6eb7cddc16a888f4b835f19ff7b3939988f5cdf5d8"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneratorSubscription.request (cognitive 19): GeneratorSubscription.request has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGenerate.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1bc720fb8ed72a8ae2c42c3d5caf5184b850e8d05991e25dfd7cf785bf5fc9"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeWithObserver.onNext (cognitive 19): MergeWithObserver.onNext has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cf2525828d4519b784d3d16728121ee2691533445c9d513f4f869743c1ead4"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeWithObserver.onNext (cognitive 19): MergeWithObserver.onNext has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b255c7aa31f88e49fe19d953505cd5f04d1911bd888ed2627506f1a44c6c401"}},{"ruleId":"D2","level":"warning","message":{"text":"State.drain (cognitive 19): State.drain has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupBy.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5403e5b861d2958d1b720037614ce5e46145bfd5f56ee47c21fb0bf172fe66"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundedReplayBuffer.replay (cognitive 19): BoundedReplayBuffer.replay has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cd2ecfe07dd3350d54c6948b44d75bafab9c7c6d5ab8eec740196ba24533c9"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipStreamer.accept (cognitive 19): ZipStreamer.accept has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableZip.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"223e42a506fd0212db4ef7fe92460f8c94e49dcedcbd66406b7254e02a71d9a4"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduledRunnable.dispose (cognitive 19): ScheduledRunnable.dispose has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, ternaries 1 (3 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/ScheduledRunnable.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7926ff133b15c5f10a05268c54c08cdf822aa6edd242f925d6b65688ea9890"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscriptionArbiter.request (cognitive 19): SubscriptionArbiter.request has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscriptions/SubscriptionArbiter.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a79b3d48a6ef94b952c9316d875e8e690bca893cf20e3fa36c8e496015fe69a"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutorVirtualTransformSubscriber.call (cognitive 19): ExecutorVirtualTransformSubscriber.call has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/virtual/FlowableVirtualTransformExecutor.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b406f2234cd5180a4ddb6bd734287698bff4ca06877cc5fb2922c702fc22cade"}},{"ruleId":"D2","level":"warning","message":{"text":"UnboundedReplayBuffer.replay (cognitive 19): UnboundedReplayBuffer.replay has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cc574d84f9f7adafa572f76cfe0f178bb8cc038e4177bbdda03413f76f7701"}},{"ruleId":"D2","level":"warning","message":{"text":"SizeBoundReplayBuffer.replay (cognitive 19): SizeBoundReplayBuffer.replay has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d49229c213e018c1fa606542217acd2c08c290f65550689152a1eadb411108d"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletableConcatSubscriber.drain (cognitive 18): CompletableConcatSubscriber.drain has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableConcat.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2881f916e82779d3dc729f9b5b4c02a2bc7942df01288b5d1f850a22fb02a512"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializedEmitter.drainLoop (cognitive 18): SerializedEmitter.drainLoop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"910121e83a31ffdd4008cb81706313413d5d95c218e21c0e88b0c6ba846b528a"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapSingleSubscriber.innerSuccess (cognitive 18): FlatMapSingleSubscriber.innerSuccess has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bade9309d672e1dfcca46ad83d1f69f36faef6b0a72a9fccff1ca80dc97110b"}},{"ruleId":"D2","level":"warning","message":{"text":"ObserveOnSubscriber.runSync (cognitive 18): ObserveOnSubscriber.runSync has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac920d122f993690084ece735ff60d23b2bddcc9a999db99b2e0593c970b9828"}},{"ruleId":"D2","level":"warning","message":{"text":"SkipLastTimedSubscriber.drain (cognitive 18): SkipLastTimedSubscriber.drain has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"300c9dc2e0175df991314b0dddca2e43041bfa7349d2cd26d7ead0892b596605"}},{"ruleId":"D2","level":"warning","message":{"text":"MaybeFromFuture.subscribeActual (cognitive 18): MaybeFromFuture.subscribeActual has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromFuture.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfd9408dcf9aaa4e1959a3d16f1596241ea2c45054d80821ed180fb840ab2a3"}},{"ruleId":"D2","level":"warning","message":{"text":"Multicaster.replay (cognitive 18): Multicaster.replay has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ace3a903806329b2075950b0c5d0469ba0ad0cad9471a81a0737584289ff4d"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializedEmitter.drainLoop (cognitive 18): SerializedEmitter.drainLoop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCreate.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4d7b7a338bdbcaa786af9bf9b84390464328da70527e94d37967c7dd83a54f"}},{"ruleId":"D2","level":"warning","message":{"text":"JoinSubscriptionDelayError.onNext (cognitive 18): JoinSubscriptionDelayError.onNext has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b539bd5e7fb5b580ab9d0a06578b6de3b315b83a74ff34bcd3b8a9a11c0436"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterStreamerBase.drain (cognitive 18): FilterStreamerBase.drain has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 1 (3 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"af816b653d4f17feaaa38b5d3e1eab262a4ca0888390dedc158b5ae7063e1134"}},{"ruleId":"D2","level":"warning","message":{"text":"LastStreamer.accept (cognitive 18): LastStreamer.accept has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableLastAsSingle.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1839cb87f8e62e573abe484f6f266f348d0886d0ea784ca319cb8ab7c680bdc"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueDrainHelper.postCompleteDrain (cognitive 18): QueueDrainHelper.postCompleteDrain has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/QueueDrainHelper.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd2066f97b8ebd879c5060bf13a8785c3726be34f33774f6a2f3c3c59d1083b"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractBackpressureThrottlingSubscriber.drain (cognitive 17): AbstractBackpressureThrottlingSubscriber.drain has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/AbstractBackpressureThrottlingSubscriber.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffd15904dd9045c2a0efa12340a2585e581beaaf102a7760fbd7a75c60c4c63"}},{"ruleId":"D2","level":"warning","message":{"text":"State.checkTerminated (cognitive 17): State.checkTerminated has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8b522dc0464e6e406fcba259343442405a1e223ee06258f842923ef2bd6827"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseObserveOnSubscriber.checkTerminated (cognitive 17): BaseObserveOnSubscriber.checkTerminated has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c676c2a45b382557137a409f1b6fe48dfa44dd098b12f1db5869f3dce329f11e"}},{"ruleId":"D2","level":"warning","message":{"text":"BackpressureBufferSubscriber.checkTerminated (cognitive 17): BackpressureBufferSubscriber.checkTerminated has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBuffer.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5c37b0c275a85f577bfd9d43675c07ad4e25ab0942d327acba018b2cfb3acf"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSubscription.slowPath (cognitive 17): RangeSubscription.slowPath has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57efacfd77a56265360826710c309d1d6dd2a8295e413ca5a9c829ac2178422"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSubscription.slowPath (cognitive 17): RangeSubscription.slowPath has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdda43208aee6b8374f84a84cb640bb26f387fb3f238b3a4605191fb91835580"}},{"ruleId":"D2","level":"warning","message":{"text":"SkipLastTimedSubscriber.checkTerminated (cognitive 17): SkipLastTimedSubscriber.checkTerminated has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dcf5c6721a77902e487e3525e1c846101d6b7a90fff6afbce934116f54bae7"}},{"ruleId":"D2","level":"warning","message":{"text":"State.checkTerminated (cognitive 17): State.checkTerminated has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupBy.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7bdfc45bd5f2f994453cd044f8ee16d9671571352bf64a7533bbff28519d4d"}},{"ruleId":"D2","level":"warning","message":{"text":"TakeLastTimedObserver.drain (cognitive 17): TakeLastTimedObserver.drain has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeLastTimed.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fedbcf21b32d7afdc332d3b332a592822ebd8424a596f7d52ff923c0935c75"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipCoordinator.checkTerminated (cognitive 17): ZipCoordinator.checkTerminated has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableZip.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d4904584b63d494c650c2fae9965a799dc3247eaf5673e819ef9ba27203706"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelFilterSubscriber.tryOnNext (cognitive 17): ParallelFilterSubscriber.tryOnNext has cognitive complexity 17 (threshold 15). Drivers by points: error handling 2 (7 pts), if/else 2 (4 pts), match/switch 1 (4 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilterTry.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"60aa462b7979774c79d13a4d31f45ffd3f0a87ba0f1561608473ba09bff40dd5"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupByStreamer.accept (cognitive 17): GroupByStreamer.accept has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 3 (7 pts), error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableGroupBy.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"60026bb28eb5e19b1e0dcfccf0fe771e83201e6be3cdd971ec3b98c0e3d1399d"}},{"ruleId":"D2","level":"warning","message":{"text":"RepeatStreamer.accept (cognitive 17): RepeatStreamer.accept has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), error handling 1 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb36f82c99c9034365bf627028e4bc81a5b7d199a2ce7f821b53690f445cd0f5"}},{"ruleId":"D2","level":"warning","message":{"text":"SkipStreamer.drain (cognitive 17): SkipStreamer.drain has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableSkip.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d603b48ae326c17cae938f1463821bfc97e8522579e9169797f84bb4e2111a"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelScheduler.createWorkers (cognitive 17): ParallelScheduler.createWorkers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/ParallelScheduler.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a15480efcd9fc9a7e8998acf09edb5ac0f1f6d71c6fa099faa0c6fff07ed34"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelScheduler.start (cognitive 17): ParallelScheduler.start has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (8 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/ParallelScheduler.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea85baf02cd5e80174d899f1f3182372fa51083b038d007394a0d21634fe6350"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueDrainSubscriber.fastPathEmitMax (cognitive 17): QueueDrainSubscriber.fastPathEmitMax has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (17 pts) (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscribers/QueueDrainSubscriber.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"309a01cd52baebb4bad7ead546f75827bf5a83dae8aa0b667ba9b3b956f69713"}},{"ruleId":"D2","level":"warning","message":{"text":"DeferredScalarSubscription.complete (cognitive 17): DeferredScalarSubscription.complete has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscriptions/DeferredScalarSubscription.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9216b1a9d3d9b706834feb2918893782ff2d25d3f85dd2b57fde01eb8ea667d"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueDrainHelper.checkTerminated (cognitive 17): QueueDrainHelper.checkTerminated has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/QueueDrainHelper.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3d9bab5a12df563e2fb8b0b92106bda66c09063bf56257c9672aaff31b3eca"}},{"ruleId":"D2","level":"warning","message":{"text":"UnicastProcessor.drainRegular (cognitive 17): UnicastProcessor.drainRegular has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af719c492fd50656e42e14c2704b1af697b93ca9c1995988b390f2719fa484c"}},{"ruleId":"D2","level":"warning","message":{"text":"SizeAndTimeBoundReplayBuffer.replay (cognitive 17): SizeAndTimeBoundReplayBuffer.replay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dc2cb89c1fb23e74d304f5a46042771ead66b37ebe4e027cc7a149e75d3351"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapMaybeSubscriber.innerSuccess (cognitive 16): FlatMapMaybeSubscriber.innerSuccess has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f2711dcf62f294f341a058c3c589b9050477903688b51150d6eab929d5c7aa"}},{"ruleId":"D2","level":"warning","message":{"text":"FlowableScalarXMap.tryScalarXMapSubscribe (cognitive 16): FlowableScalarXMap.tryScalarXMapSubscribe has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScalarXMap.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"403d1dbeac254c5be6fae68ccb2e5db482ccbe9407e9c76c044041e9630de0c0"}},{"ruleId":"D2","level":"warning","message":{"text":"MaybeCache.subscribeActual (cognitive 16): MaybeCache.subscribeActual has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (16 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"070a73a2b96ea3d0512b3149076ec3a890b47a9e0bcd59203247c74295b7eda0"}},{"ruleId":"D2","level":"warning","message":{"text":"ObserveOnObserver.drainNormal (cognitive 16): ObserveOnObserver.drainNormal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableObserveOn.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d4524aef06ef29158d895ab4f91f3fa6a6eda2a67fa88f20cb704d053d63eb"}},{"ruleId":"D2","level":"warning","message":{"text":"UnboundedReplayBuffer.replay (cognitive 16): UnboundedReplayBuffer.replay has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"50390759668ec41ffa4639fac7e53f3833f9e0fa2d2e4e930336e6f718bd350b"}},{"ruleId":"D2","level":"warning","message":{"text":"ObservableScalarXMap.tryScalarXMapSubscribe (cognitive 16): ObservableScalarXMap.tryScalarXMapSubscribe has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableScalarXMap.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2705330f6925b56efcbfff637684917fd9d9fe68b4390db1c8c3b98a42d30ef2"}},{"ruleId":"D2","level":"warning","message":{"text":"PublishProcessor.remove (cognitive 16): PublishProcessor.remove has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"db63540f845af0fc0379220fbdeea0f441d993bb269cc6c46562ee3ce97368f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplayProcessor.remove (cognitive 16): ReplayProcessor.remove has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e0c27c3604631ddcaaa8a8ab22005a43eaec7d6d22577d673b436f3df2a732"}},{"ruleId":"D2","level":"warning","message":{"text":"PublishSubject.remove (cognitive 16): PublishSubject.remove has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c75009524559b117082c06645825bd4b3845e7acd109065b0e420e1b837d315"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplaySubject.remove (cognitive 16): ReplaySubject.remove has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7842977cd0c5bd6da8fad0fd698e74ad8d9060f7ea0f3821acb2caf879955f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Flowable: TooManyMethods \u2014 471 methods. The bar is 30 methods; this is 441 over it, 15.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7a4b39a78046a540ee46e01b64a9b1323add827c5f4826a6874b7a0259f371"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Observable: TooManyMethods \u2014 433 methods. The bar is 30 methods; this is 403 over it, 14.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Observable.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea271778b649d92419f39d9b398fe5df495c3bc140edce0bc27530463293d57"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Flowable: ClassTooLong \u2014 3806 significant lines (blank, comment-only and punctuation-only lines excluded), 471 methods. The bar is 400 significant lines; this is 3406 over it, 9.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a519370bbbb33eed0d7dd4865de339142c04e6ae617274889d047c9d17336f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/Flowable.java: FileTooLong \u2014 3833 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Flowable (157-18152). The bar is 500 significant lines; this is 3333 over it, 7.67\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c60b49a0defd3e357bbfd2a238d8920e13d76c4869dd5fa1add110e532369e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/Observable.java: FileTooLong \u2014 3159 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2659 over it, 6.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Observable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3f37912ea3b7ce90a3a40655f22536737387bdb70f0ef3105ef702e45edabe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Maybe: TooManyMethods \u2014 184 methods. The bar is 30 methods; this is 154 over it, 6.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8a33ac28c45837414e009580add160b1607748dbd2a4df4229d10cdc187b71"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Single: TooManyMethods \u2014 174 methods. The bar is 30 methods; this is 144 over it, 5.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Single.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"963fa76ac60625082278c426998f60c4116b873ef823875595c9675be1a8ba50"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Completable: TooManyMethods \u2014 125 methods. The bar is 30 methods; this is 95 over it, 4.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e89a9df16f70b9902024527db139effcebbbe675b6d017e7b1a80a4090774fc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RxJavaPlugins: TooManyMethods \u2014 103 methods. The bar is 30 methods; this is 73 over it, 3.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/plugins/RxJavaPlugins.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a88df2ea3c5a4ee9ae972890fefa1db0d9b6fc379299c4f9278c02e34587f0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Maybe: ClassTooLong \u2014 1293 significant lines (blank, comment-only and punctuation-only lines excluded), 184 methods. The bar is 400 significant lines; this is 893 over it, 3.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c60cdeb80a3b38d544a8888aef0a459cb144274bbbed0b23339d67150027bdb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Single: ClassTooLong \u2014 1177 significant lines (blank, comment-only and punctuation-only lines excluded), 174 methods. The bar is 400 significant lines; this is 777 over it, 2.94\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Single.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b01e5b5f853200a50ba9f3be185e4eb94b14853ffab21ce680746ea53ce3402"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/Maybe.java: FileTooLong \u2014 1315 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Maybe (113-5697). The bar is 500 significant lines; this is 815 over it, 2.63\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e513f78d0d4f3a6aafc38d2af5c8ef7660204bb5e044f7d11c97050e95170076"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/Single.java: FileTooLong \u2014 1201 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Single (116-5226). The bar is 500 significant lines; this is 701 over it, 2.40\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Single.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7a1cb5c00975ffedd89a4d39190297627dd190ebba96adc06ece9a371c28ef"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Completable: ClassTooLong \u2014 823 significant lines (blank, comment-only and punctuation-only lines excluded), 125 methods. The bar is 400 significant lines; this is 423 over it, 2.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac39ba0810c69c92528d179b0b168aee07768e7404c6a63ed688dc55c0192e95"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ParallelFlowable: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf172f0fbc19b7deec2e1d37a6467520e460307d4718e217d6ed273624bbefd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/Completable.java: FileTooLong \u2014 844 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Completable (108-3387). The bar is 500 significant lines; this is 344 over it, 1.69\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"248d41adbc39414c78ccb3465d8fea99a2781559244db81a9c887e8ae6d8bd5a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReplayProcessor: ClassTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 268 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3933d221da6ea5482cd300244f571d1cecd13b9314f3b474c26f1c9b5a43bf6a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReplaySubject: ClassTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 246 over it, 1.62\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce9d0deb0245736cab7f60438ba9b23b1bf8f09101ca157787c2491603fce0c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlowableReplay: ClassTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 230 over it, 1.58\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13f200feb4b6392f1d50b5964c02c3fa0ff933d1feb212ff7c942a8ba85fe61"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RxJavaPlugins: ClassTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), 103 methods. The bar is 400 significant lines; this is 198 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/plugins/RxJavaPlugins.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2813a81fbde5f956cd7d40fd9d245ad1ef1a7a5f8c4e450eda62bf3d1635e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseTestConsumer: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/BaseTestConsumer.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"810ce531e4fcc44ac10be5d91d958b13d15e0f1bba00877a03ea6f88e4444e03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processors/ReplayProcessor.java: FileTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: ReplayProcessor (145-1372). The bar is 500 significant lines; this is 181 over it, 1.36\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03aca888a1acfee0501980468f562eb951e8f1ec6222df9082d757bf091d3fec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: subjects/ReplaySubject.java: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: ReplaySubject (135-1341). The bar is 500 significant lines; this is 159 over it, 1.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec904ffef16317129a8d264414e8635027cd95d83d6485b1c82fdb4c2e5ecc2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ObservableReplay: ClassTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 122 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6915ca207177396069432a6dd14c9bfd487b796091b85c5ad4b9fb09c5809dda"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flowable/FlowableReplay.java: FileTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: FlowableReplay (33-1254). The bar is 500 significant lines; this is 146 over it, 1.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a3bffa296e58556b7d4b30d7557aef3511bd1b385403dcd4d42e7df03a5c6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/RxJavaPlugins.java: FileTooLong \u2014 611 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: RxJavaPlugins (32-1540). The bar is 500 significant lines; this is 111 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/plugins/RxJavaPlugins.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29d60e10623705344f0094d96ae104e73cb039f16ee1cd7007e2dc6e240d995"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Streamable: ClassTooLong \u2014 485 significant lines (blank, comment-only and punctuation-only lines excluded), 83 methods. The bar is 400 significant lines; this is 85 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Streamable.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"86beae5b37186bd4aec4ac8967468ed2e4cc9fa35dbf80d15a0b8b89366ae490"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JoinSubscription.drain: MethodTooLong \u2014 drain runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f6239cc8009f77479a168b0e6470f81c4ea1be9f105797ac124ecc75ad7523"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ParallelFlowable: ClassTooLong \u2014 469 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 69 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bea1d464821e97cb8a799d114ea2aff7d70087e605fff1e5a9c2ef147ba8955"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MergeSubscriber.drainLoop: MethodTooLong \u2014 drainLoop runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0a236c323180a6e4644c47e02587a28f22d79a5d820a0a903b3c12833dff3e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Functions: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/functions/Functions.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8027a14bb48f617a83a949c29afbb3b445ffa9658cb35e067125be477999b5ff"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlowableWindowTimed: ClassTooLong \u2014 458 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 58 over it, 1.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b507b05a33318978dfe4358ac549ebf7e826934fe02fc57fe2a72827f9506eb1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConcatMapEagerMainObserver.drain: MethodTooLong \u2014 drain runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapEager.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac70cf258140017e92c3a3ce3265210f674fe3027e0af92a167a6a77a890ce75"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlowableObserveOn: ClassTooLong \u2014 441 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 41 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8675f093d0accbded591029bfe06bab64da1984b4bcf92cee88352db5a12e0e1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlowableFlatMap: ClassTooLong \u2014 435 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 35 over it, 1.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ddcfd79afeb8cbdb2db378ca3f13c4dbcafe85b156ab3dbb2a81e784a8f6c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: observable/ObservableReplay.java: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ObservableReplay (33-1080). The bar is 500 significant lines; this is 38 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba44f5c5a7fc908d4abccc973d7207f2efd9c573798f868827c6edda209006ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlowableCreate: ClassTooLong \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 19 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"821f209c63b1d2c10561c8338716e042cfcb1173134ea412435b14048a13ddd5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlowableGroupBy: ClassTooLong \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 19 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f7c71e42e44973e5ac8b5e69f594c2c864454a4de201ae6279a047ee3504bf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ObservableWindowTimed: ClassTooLong \u2014 409 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7227a03bd8dc5ff4fee5a5b385e68d558fa06bbac7f4e8d423d171c9e39124a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GroupJoinSubscription.drain: MethodTooLong \u2014 drain runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abb2ad7ba2c9ca7a283a33a438b671035b03c91a8a4cc9dbb15b0389871bcc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 23 shared lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java:138-171 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java:88-121 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:361-391 | src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java:179-212 | src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java:229-262 | src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java:198-231 \u2014 These 6 members are variants of one another: a block of 23 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef1892076298780aaa39234c3d7e950367555f76eae9a6ec6af0e5c57c87e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 22 shared lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:185-214 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java:259-290 | src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java:285-318 | src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:419-449 | src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java:272-305 \u2014 These 5 members are variants of one another: a block of 22 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d28ce0a7a4a6990f8ff3239ef374e32287766e763472405461aa3c4286abaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 39 shared lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:188-345 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:171-357 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:184-334 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:164-315 \u2014 These 4 members are variants of one another: a block of 39 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d957707bb5426e68c5adca383d7727771def50436ac07a6c6ebfa12c448d620"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (80 shared lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:115-236 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqualSingle.java:116-237 \u2014 These two members are variants of one another: 80 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6399364a5ea886885da53d2cb93f31be8fc3f27d4bffbca7d25993f2eae4377f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java:51-76 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java:89-112 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93220b9e9a12b0af34f153080fc7c09b3d056a26d9e9a8c8bd8d449e1fee944"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Maybe.java:2102-2115 | src/main/java/io/reactivex/rxjava4/core/Single.java:1942-1954 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":2102}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d1c0174a0465d5cd1ab5d1c44928ad310ef6d967ec7a4be9267bd346622fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Observable.java:773-786 | src/main/java/io/reactivex/rxjava4/core/Observable.java:850-866 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Observable.java"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c131fb4eae5ff2575525fa52d626cffbb9d7a9989c4d66c0b8bd625313d2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java:46-65 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java:52-71 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java:50-71 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilter.java:42-63 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilterTry.java:48-69 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMap.java:46-67 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMapTry.java:51-72 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelPeek.java:68-84 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b173b63e87018695b5221f98fb851628caa71afff170b8a46c83f2fffc6d8317"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java:125-172 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java:241-284 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java:124-166 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java:235-276 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilterTry.java:128-175 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilterTry.java:217-260 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMapTry.java:125-169 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMapTry.java:238-281 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a505cee3a1420f063e3ae1ceb69abefc69bdbeb9976705332d6f8d9f2d1a596c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/core/Flowable.java:6252-6264 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:8273-8285 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:13599-13611 | src/main/java/io/reactivex/rxjava4/core/Observable.java:5585-5597 | src/main/java/io/reactivex/rxjava4/core/Observable.java:7309-7321 | src/main/java/io/reactivex/rxjava4/core/Observable.java:11201-11213 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":6252}}}],"partialFingerprints":{"codehealthFindingId/v1":"14399512d5b59ee1fb9b971e23d9c142967a68572c92f3f3fa4a7124db8ee642"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/core/Observable.java:3561-3572 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3636-3648 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3714-3727 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3798-3813 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3887-3903 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3980-3997 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Observable.java"},"region":{"startLine":3561}}}],"partialFingerprints":{"codehealthFindingId/v1":"002a1ea3946abd911ed468d93463b673c2e92003389a27f2d3a9ee4f1103947d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromAction.java:39-61 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromRunnable.java:39-61 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromAction.java:36-58 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromRunnable.java:36-58 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromAction.java:37-59 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromRunnable.java:37-59 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromAction.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd466db9475f6a383bf076692fb554b93d49da0ed51a56c97cf15358bdcfd5f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:146-190 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:230-275 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java:141-177 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java:210-247 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java:143-179 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java:212-249 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b586e4f56c6069afc4a8472b2ed72edab111dbf52bf431a4f230a3dafe89c1b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:178-215 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java:175-206 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java:91-130 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableLastAsSingle.java:85-120 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java:75-115 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableSkip.java:71-100 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb9b5b11723ee45432ec793d721ca7ea2d1a3dc1bbad96c397dfcf5e4973cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/core/Flowable.java:4113-4124 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:4200-4212 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:4291-4304 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:4387-4402 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":4113}}}],"partialFingerprints":{"codehealthFindingId/v1":"961f3baca5de2744e23a993a24e23308fe5e0f2ff581b66ae796dddb96f52355"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/core/Flowable.java:16792-16799 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:16842-16850 | src/main/java/io/reactivex/rxjava4/core/Observable.java:14038-14045 | src/main/java/io/reactivex/rxjava4/core/Observable.java:14085-14093 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":16792}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a12130fcd9185108c1e4cf7c0fb890d4ccaf721f1978443284babc08267eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java:49-65 | src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java:56-72 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java:49-65 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollectorSingle.java:53-69 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba1eb59e99e8237a2d043ba479be34369119ba1b89d2b53151799315205d36d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java:129-148 | src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java:133-152 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java:127-146 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollectorSingle.java:128-147 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c17bd9e2d77b27db98a265054457746ebf556857cc349c3c2b82c64501e3260"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelFlatMapStream.java:53-68 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelConcatMap.java:58-75 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFlatMap.java:60-77 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFlatMapIterable.java:53-70 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelFlatMapStream.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc1dabace4a89e71748ca2a9ad7a235aff0140424ad1839ea4ee421eb290994"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromAction.java:31-50 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromCallable.java:32-49 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromRunnable.java:30-49 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromSupplier.java:35-52 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromAction.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c244867f0019ca29003722dd583e8ec602d9eb75dd2ce9cef14b11529ecb1ae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableOnErrorComplete.java:55-71 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnErrorComplete.java:74-90 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeOnErrorComplete.java:72-88 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableOnErrorComplete.java:73-89 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableOnErrorComplete.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0042b9fbc277a10b2a882ff973ce2c5cd3fe4a19dfb206dccc0648c3fcd17fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:109-143 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:111-145 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:195-221 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java:116-152 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfe3dbfe64fe1d1e6f9fdd47bee0d3d9b3b74537cd7ba636821d7125e5ff01b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:233-327 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:425-529 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:265-366 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:442-549 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"954c2dceefb0996f8940dbad841f713f7e4fc7ae49cfe87aff4207a52a37ec8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:282-363 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:250-331 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:241-285 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:222-266 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12d90ce89ba5c364ce8b0f26d4b1966f89386aaf64f585c00e50eec5c881cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:162-212 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:215-282 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:299-349 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:352-422 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49916f52445788b84c2eebe3b3186a2525574c9b22822e6394a84e48effb66d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:130-142 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:117-129 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:129-140 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:114-125 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d475777b504b2c07d9851804bcf04bbecedb12f8d3cf366c1c72ee11d861a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableInterval.java:45-59 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableIntervalRange.java:49-63 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableInterval.java:40-54 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableIntervalRange.java:44-58 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableInterval.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8953e936d7adaf571c2caf841650c441e9db69cb16bb9ac56dead4b5374ebac"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java:228-321 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java:223-316 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java:179-230 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java:174-225 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"6deefa2ebee085b6789bfdd722e2191059c28ff6f6bd475e7408fe6da4733d99"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeat.java:91-111 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeatUntil.java:97-119 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryBiPredicate.java:101-123 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryPredicate.java:112-134 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeat.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"844ec8d36bc887491f98d43308bcc5b05a311b91151c17ee16d85e464f568148"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:234-319 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:421-488 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:218-295 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:387-454 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb25b9b8a21cb32cc4c7de67901dc9486fb4d8b1cd67b21256a736897cad5e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java:63-96 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java:37-80 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java:64-97 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipIterable.java:36-79 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b5385bb25970ae270e10ae9fcae8ac5bf2c436b9e373bcc24327bad2d93771"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java:141-178 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableObservable.java:82-146 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java:218-255 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableObservable.java:86-147 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eda9daac964e24b2b4ab31b19ce63ab0b867791a5c5a5920a311a47809a0370"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java:39-65 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java:37-80 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipArray.java:39-66 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipIterable.java:36-79 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78aee07f0d36952cdcb1bc6de81aab3c5c49db1673d933c66472783bbd521d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java:150-257 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java:145-252 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java:132-221 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapSingle.java:127-216 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05002b0de06e2b426cdfa5c099a52c6d48ea6b50da73b082e14c4043cf22072"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:203-255 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:197-249 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:195-242 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java:189-236 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74d00b4fcaab241730edeff144e30f703c399e5bab52a7e68ea42560ab9e279"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java:116-136 | src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java:201-220 | src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java:107-126 | src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java:190-209 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a3d6148f3e79883de3d99d023ec97ecfa8e285692b8c6b4f664befa5f87cd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java:195-228 | src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:550-580 | src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java:181-214 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:539-569 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5915392ddd02b379fa17ddc7674e77119523b8b97d9cc643bda06443adb35e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (96 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java:209-315 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java:205-300 \u2014 These two members are one piece of code written twice and then edited apart: 96 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b343cb764ee646fe835bae44aa05ac740af9cb09549f3977bcbf39d11848d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (101 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java:114-217 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java:121-221 \u2014 These two members are one piece of code written twice and then edited apart: 101 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf67a3061f44f654ad8787117ed3a6bf72b4a75570979a108f130631f757390"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:596-682 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:544-617 \u2014 These two members are one piece of code written twice and then edited apart: 74 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d37f6364d41990cebbc148c46b538e6d4d5d359d69749756f29001143b276c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (89 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundary.java:167-265 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundary.java:160-248 \u2014 These two members are one piece of code written twice and then edited apart: 89 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundary.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21e6a0c33cea7c13a34fadb8f7c03f96d51e9dfdd0de0c8104783ec29d4cd74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java:198-308 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleLatest.java:188-279 \u2014 These two members are one piece of code written twice and then edited apart: 92 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96fa5faaa12c683f51cdefe0e3009feece7c65718dab4a741912aca284bb24a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (94 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:389-482 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:413-506 \u2014 These two members are one piece of code written twice and then edited apart: 94 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fac807a009516b67f19979a67c58d7b1384f2d9e8b2d07483914ba60aee891"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/schedulers/SchedulerToExecutorService.java:200-251 | src/main/java/io/reactivex/rxjava4/internal/schedulers/SchedulerToExecutorService.java:280-331 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/SchedulerToExecutorService.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce537eb8fac62b325c82e3e8f20020982c63537b51634f8873215756d54ba7cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java:240-343 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java:345-428 \u2014 These two members are one piece of code written twice and then edited apart: 84 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a63fc2c697db8fe14f608ea661d35176d6a5b196a1c4574cfb5a4e0aea3a49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:215-310 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:385-466 \u2014 These two members are one piece of code written twice and then edited apart: 82 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3e74825158ae75a3573cfac60eff043f1d193c9a0ca0abcb938c00afafa970"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 80\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:734-817 | src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:976-1055 | src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1262-1341 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 80 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec83454c0146b78ec17b43885f576907caa529e3484a571e4d4f8a234544337"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java:180-261 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java:136-216 \u2014 These two members are one piece of code written twice and then edited apart: 81 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f047e68f9de3d5de057e94b155570d9282ac66a7a805ff19ef80131df6d584"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 79\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java:165-243 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:230-328 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:355-448 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 79 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8666fbbf474c8f03814fb06126876daa670b3066b526c0ce855193c903f058ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 52\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableAmb.java:34-89 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeAmb.java:40-95 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleAmb.java:35-86 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 52 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableAmb.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"858a2ee13eafef38a97e015023dfb8d67ef187a43c7c561965cf717d342e4e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:92-137 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java:87-134 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d9ad8dc480f438b493f4c5c66226b3444a8309babbaae299db04a2cf05e3d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 75\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:517-591 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:655-729 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBufferStrategy.java:198-284 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 75 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1207d4708e7254867681c6a94a450a7c3f00838c27e118f7bcfbd8fcf871604"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:234-309 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java:229-302 \u2014 These two members are one piece of code written twice and then edited apart: 74 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b9f95432253659d23edb2785d5f6b4c9eeef0c9c51e25615a2e52a6b60ffab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java:207-285 | src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsObservable.java:197-262 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3a8423f5c05471ccadc0958c158cece48acfad893b47779eb110fc697e65b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScalarXMap.java:48-98 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableScalarXMap.java:50-102 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScalarXMap.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39bbd4b867ed1d18ecae4d3c8ef2f0acfa2841f468ce8e6ceb098043439b1e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableMergeDelayErrorIterable.java:35-99 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableMergeIterable.java:34-96 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableMergeDelayErrorIterable.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a653eb21c1428f28badf21c2838324bab8b340b86487600c9a404ed297be67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 52\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArray.java:112-163 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArrayDelayError.java:120-171 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatIterable.java:124-192 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 52 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArray.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ef5616c8e17465993f7b31ef4f370042625ab9d842383450dc5a717596fa61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java:197-250 | src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java:266-321 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdd0498ee0cdd744a96be592ce65d50b7da2af8b3b62f341b10ca54e380cf64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java:94-138 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRetry.java:96-140 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"874790363cff240f659189d72b169a01f1165a90319bd9ee898882f908bff3e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 55\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:744-808 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:976-1034 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1262-1316 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 55 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"009f8c0506932f05d84426b88d20836bf6f7f0c442fc1c2be2215d9f8b94ad38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:170-207 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:170-207 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2afd2d56da930cc95f7b6c4b40659225587cebbca28d4f1f453c09969d456a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:177-233 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:189-244 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52cd7466f70243731ab900f8c1cc7d480573b415bf7a03da521388ebf9cd9c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:229-265 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:267-304 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"268d37237257f790e301a892c99cddde9f84b650f4b7552dc3f5463cb44591a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java:128-186 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java:156-210 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"904337d95f822d42ce8c199d19d4a7355837e1b2a9c8f4dc0e647f5526ff0a8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableForEach.java:35-69 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableForEach.java:75-111 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableForEach.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"72350a4124e174ee1ca4d2c0f1fc07d271c6f1ea42c855a380e5da5e34c02c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java:139-178 | src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java:129-168 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4671ef60c224ed95648b8b07b0c463d4aea32878f1fc4b54d0f53b023af99a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:146-186 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:323-360 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae05679afb33e2bc8f020595e7c3065d414864b9852685637ec3c0e0f3165b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 31\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java:37-75 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java:75-116 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java:36-74 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCombineLatest.java:48-78 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 31 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d0ca43a391b3ff6c5c860f3db5192ef8fa777b32c7636e212a7cb3dd307262"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableUsing.java:44-85 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeUsing.java:55-96 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleUsing.java:45-85 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableUsing.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edfe8edbda8cc334eb2ea3a8b6bbbe8b7741463724cb3a6a20f0d419a43fa59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 58\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:305-363 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:545-602 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:605-668 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 58 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d19df9c0c60e8327c61e8093e553312c1b32f48bac5fa85743cd44c297160ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBuffer.java:160-214 | src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java:286-328 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBuffer.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3706af747f8f1bd9cc11a629c118a4c0ca0b825bbcd76fc14a3713d6e1d403e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableCache.java:110-145 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:304-349 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableCache.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a230a3eacbad0c07444dfbf0b90d49f10b92e769a1a5f4de1cf7474a5a734e3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableIterable.java:78-115 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableIterable.java:67-107 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableIterable.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"47786a7e5737c7244ba8247c9036cba1732b0dfe4edf8a7d76b9968414cd21bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java:54-81 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableZip.java:50-74 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"254a4047e5e686dd13f29378384033b1d6d965f024f0ab9fb7b667980154d004"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:194-227 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java:189-222 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservablePublish.java:226-255 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e43a67b634fa5663ef5415e7359ff7bafdf587112e76332d5bdae53db88e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 42\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:396-440 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:316-360 | src/main/java/io/reactivex/rxjava4/processors/MulticastProcessor.java:412-453 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 42 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c1edd765465ae97d74940c7cb7f659f486d3fd4fa91b4853227d58e1bd0306"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/schedulers/NewThreadWorker.java:87-116 | src/main/java/io/reactivex/rxjava4/internal/schedulers/SingleScheduler.java:127-158 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/NewThreadWorker.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5d5c66e0957610416b077a90a9d6030c0aa9864ca9679c1c592a823188f348"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java:101-136 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSwitchMap.java:103-134 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be2acae43b355d48ba725f26868dbddac308c447229bef29409ada249753a74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 32\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:97-128 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:231-264 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:91-122 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:221-252 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 32 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"602d161f57d3905302bc234bc37cf4a32fb23b3543f152749be2f4aa3cbb5b95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java:45-75 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableUsing.java:44-74 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7aefbe7677e0c00230385fe802ac62d2d05c0e682e7a893647a17ff8da9346"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMap.java:187-213 | src/main/java/io/reactivex/rxjava4/processors/DispatchStreamProcessor.java:110-139 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMap.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5f7ad5b414630e119827bc3a45ab5d0146701fe385122cb972eec2fc1377d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:112-142 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:105-135 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6087fa6b6c3b4e73aa9988300df6e6b4c95b2d8dfd881e40398e6650f135251d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:112-142 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java:105-135 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"09028600f808ad359711f37836e6c264c7618203af08259da33db04cac1939a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java:159-190 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java:150-180 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d89983cac7722824fd1471b8f529af6508c6839875637c2a26124e6337a77e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDematerialize.java:64-93 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDematerialize.java:73-103 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDematerialize.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7302773a8294504cd611cb26ccd7ecb1f2c0422394437f0af7d53bb8879edab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableBlocking.java:41-71 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableBlocking.java:84-114 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableBlocking.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58cec080cd8f0e1a13fd77ab3d58e030d8d93edda3698f38ab525c7f8b04050"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:445-485 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:445-484 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"009901dd339a8bdb48a5a20183d21bf9bb92b2043a0617093653a399421651f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:155-181 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:157-183 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab7337a4b8b9f8f88b55b90cf7970874b761c13c3017486f091d75b801140a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:95-131 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservablePublish.java:85-116 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e887bf5e4410870b1d9436fdab22f8826f73d5d4f496fbf3d2b7cc4818b48a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java:79-114 | src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java:70-105 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"369336c4ad88ef41a015624e794fd5470bc5eed4ca5a6e1d856b865ea07e37cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/subscribers/QueueDrainSubscriber.java:70-97 | src/main/java/io/reactivex/rxjava4/internal/subscribers/QueueDrainSubscriber.java:99-131 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscribers/QueueDrainSubscriber.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f14d9d44497ec3ebca45fc7e21a0e0d9eb13fb031cce5cd9b8a90ef5e79b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScalarXMap.java:134-162 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableScalarXMap.java:139-169 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScalarXMap.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bd8bf6dfbed13b34ddcbd43f71d41af07be4eb7c17bb5a34c05ae46a873669"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:490-527 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:456-485 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"511dcf32dd8aff0919694861b2bafb5c2bec4ec54d4a203b02e4258caabe44c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1128-1157 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1112-1143 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09027b48da5e9c6fc9689d6782c8231b714ae5ca65a69c11052acd134571b5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeatWhen.java:39-66 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryWhen.java:39-65 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeatWhen.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9e7002ff2a077a7384b749bd71de09fecb2ff709a67cc0f2903e548e4db71b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZipIterable.java:94-132 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableZipIterable.java:104-145 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZipIterable.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f223d8b9fbb59fe8555dd30013cf9e3cfcbc131f615c13a0f8861dcaa8d1fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:63-92 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservablePublish.java:53-82 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:166-219 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ea2998086bed0abe8e011aa47b55aa1d909051bf27bcf2a134934e397d88fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java:63-91 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java:61-89 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea98b4c425e2a142e0b95580d46d80fcb9c6de7cadcfe52de5f214d07a21bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java:91-118 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDebounceTimed.java:82-108 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dade6cae5e215694b9ea3282eaf9aa3129ccd9643ce4ab39e747bfd5dfc84d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelCollect.java:50-77 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduce.java:49-76 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelCollect.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db8b64d5b0fe9e8de12bc3cc6cd885e54bc51bf17612f0e2ac103a89caa5eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFlatMapStream.java:57-80 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFlatMapStream.java:49-72 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFlatMapStream.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f8086968e1fc0f2ddb9d5b098312cb4da1d99394a747e55e2ff554f8517580"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 42\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:167-209 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:235-278 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCreate.java:228-269 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 42 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d067e7610fd22d22bd0b6a1ef6b56fee21c62f37d4a20b76c3082cf89bccb247"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounce.java:77-106 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDebounce.java:68-97 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounce.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae22843313ea25c896684cd3b63166839afc2d9072f4f1f2c291d1316fee904"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:190-227 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableObserveOn.java:263-298 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da2e79231c14b396e45781fe3aea977f57fecfd00f2a618db2defbdc6b0f43c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:1192-1245 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:1004-1048 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b294304b7e1af6a639266258104531c88f126b616adf6b03eccfebc1ad402bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:199-225 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:368-399 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0f3e5e462ba8104106bb2a2e6571a08300b10ad575246173bc20caea14fc26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java:92-120 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduceFull.java:82-110 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a86466544fa437fdff2f37444af807941c720a218bad365eb5399868660531"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2401-2417 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2088-2105 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2401}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0230452ba92acb008b61ca3fb33ccf1be4cf4b681d15f649843b197cd811ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableLatest.java:75-98 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableLatest.java:76-97 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableLatest.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b714b3ac83b6e45bb64d0e28047b6d77b955b6b17d57d4eb15ec3a9ac541c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ScalarXMapZHelper.java:51-75 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ScalarXMapZHelper.java:91-115 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ScalarXMapZHelper.java:131-155 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ScalarXMapZHelper.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"35aa1c573bbe41bd2fcd92546a3230cf1ff1ab9f7e525df1bb93be08c3f7d544"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java:262-301 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeMergeArray.java:252-286 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f153289b8fc63d579bdbb976e507cdf9e91e748003b517f0b6505e2502cf3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java:92-122 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java:213-248 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a409a7f8af134529c97493bf5a1d8a7abfc97d4eb477aafa14168bcfffc6de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java:180-206 | src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java:317-345 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7e134425562d684b26386139d4207f16accc2a0c8c4c20166b2d6c44a6e490"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:57-79 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:56-79 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8bbd3213b125d2af8cb184892ee0317acc38d5172929163589345348f3c146"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java:96-123 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapCompletable.java:94-121 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f093e35cd2650ee0d10ba236ae8bb980dee5e9b6de06aa6d9ce15b79813b9f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:139-164 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java:136-161 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e2f2e5c77d26279af26b11df298ec65b7a7058ae8b93acb5cb0a8ceda0e37b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFlatMapStream.java:137-172 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlattenIterable.java:141-177 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ConcatMapXMainSubscriber.java:66-97 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFlatMapStream.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e47ab849e43e8117c1fb6431281d24502e47343693f9bb59504bfaab18e5d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java:222-257 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java:372-416 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"39265e8871b374656e9e8e47f3a7b7521a1d0885f48633564ca6b4bf0d91cf5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromCallable.java:38-66 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromSupplier.java:37-65 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromCallable.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"55442b9a75dc9021acb138face63dcdd0f9be163257685a9a653409bd973df34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java:52-81 | src/main/java/io/reactivex/rxjava4/subjects/SerializedSubject.java:53-82 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"622cb1999d65d03a7dde0914fa892730a8f0b40b353a3e5f5113c0bd6162cab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java:67-97 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferExactBoundary.java:65-92 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8856e841fddb1546b300c4966a9c2c5146182158e2b000bd793992e9c967b50d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java:233-258 | src/main/java/io/reactivex/rxjava4/internal/disposables/ListCompositeDisposable.java:165-187 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4b853c19b5c92489610395cbf67fdb78a204a24564a2cb8554a71391306351"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java:140-174 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduceFull.java:130-161 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a4c29a3de6fa4fc602021535b5d6ad0d8ab511cf95534aeb8ed777290d507b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java:89-117 | src/main/java/io/reactivex/rxjava4/subscribers/SerializedSubscriber.java:78-106 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2d2f1f691ed99b041df797ec58d2df2afc835810028682adb760872f24301e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:251-278 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:239-263 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d99f6eca2d10c22836f3870d4b0d6805de466f72ab0abf882683dc164260daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:104-127 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCreate.java:165-188 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"29712b681d41a659ce1515700bf9d86d6944e4ccaabc71e2d5f8ed07989b8d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 31\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java:606-648 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBuffer.java:216-246 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java:188-218 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupBy.java:355-392 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableZip.java:220-257 | src/main/java/io/reactivex/rxjava4/internal/util/QueueDrainHelper.java:94-126 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 31 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee37d0ce5556ffc00dbfd1a6e43cf168a78cf213eac53df55f69d0ef3fe0528"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java:133-159 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java:118-145 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"3291495392f63d4aa0b74c1afbd4e898355d6e971d7b6e14fe0b39d81cefe814"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:506-538 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:442-474 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5d8cfbae78d22da78f4c9e4a6a69b0a7c512ce4e2046d008c17505d34d2fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ConcatMapXMainObserver.java:62-90 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapEager.java:107-139 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableObserveOn.java:83-112 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ConcatMapXMainObserver.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9730a24fb9d43cfbfc2760e077df2e4cbf6776a60189d2c89032a94e5a309a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMap.java:36-48 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableSkip.java:31-43 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableTake.java:29-41 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMap.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d683499f77c71879dded3df04bfbcea5d20d3b97206a4c2d76e875a1d1b2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScan.java:62-86 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableScan.java:71-95 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScan.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2090e1e3ad02afa499a3ab5c8ab6af5e8db3e59d98371ec79132a96236aa7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:122-143 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:206-227 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f17e1f54b1d6e1edbffb761ab61eac6b6d5f8a9cb9370202514f9b3b98878f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/schedulers/NewThreadWorker.java:128-155 | src/main/java/io/reactivex/rxjava4/internal/schedulers/SingleScheduler.java:175-201 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/NewThreadWorker.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7d600ddaa7158249fc75b4303389cf9cc159bb887af685b713759e7e1ee30f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:710-731 | src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1216-1242 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:946-972 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1232-1258 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55b8846767153d88522743e3fc8bf3101fde8052b015f0c147f1cee91247986"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatWhen.java:43-62 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryWhen.java:43-62 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatWhen.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"af337d21de64804551b8b8b44e04f28d694ca82799fdb4818f89ca36e81e7d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/util/OpenHashSet.java:57-83 | src/main/java/io/reactivex/rxjava4/internal/util/OpenHashSet.java:84-105 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/OpenHashSet.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d101b5431def4a242adb75e70a354212eae0d3e4d57ee7ac4c5d5a061102a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java:408-427 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupBy.java:270-289 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8846085064b6c4cfdbf231ad19efddb47964f54856617f164f29603fcf6bd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:218-245 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java:209-230 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c869f4fdc037bf2abdd32235c3a840620676a16c5862b3c7ab198ec414cb7bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1100-1126 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1084-1110 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ba746b211dd656e13381d3a8447124fc7a5be812bde761befa3da79456e00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:920-942 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1185-1212 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f44cbfe309182605a0a45e1251be0f205f60db688a16744aa7a4c86825ebfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZipIterable.java:40-67 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromIterable.java:32-60 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableZipIterable.java:40-67 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZipIterable.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"805ef1d5d1ec8b658d6eb98353aa61448fb3f050262e6148091476fe451778b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/observers/QueueDrainObserver.java:60-76 | src/main/java/io/reactivex/rxjava4/internal/observers/QueueDrainObserver.java:84-104 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/QueueDrainObserver.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff29c3174820f942027038488724cab36a916ebae131a46123ff1403a914b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java:88-101 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java:88-101 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ad7771f5ff1c0370e680a974bd6b56931aeb1ce4d6e705b258d72433edd54e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java:72-102 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java:163-192 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDistinctUntilChanged.java:57-86 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1520b4918369dc6bf93f4f770fd94d392e1a0555fc9b4d89155387eff94518d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnErrorNext.java:82-109 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableOnErrorNext.java:68-97 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnErrorNext.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"42460e3562307f327c8e1167c1486d3703d27e5ece4a284845474345d404e0fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java:45-57 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java:43-55 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"25784bda26465f03c0f9eb258fd39fc576aa2b4ee555cc06b932aabb48143455"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:168-183 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMap.java:170-185 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8a9884b0c54569703394377dd21135a2b057c3c32ef2d25c2db57225bac938"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:237-263 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:207-226 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f0fef7b23e2ec627329fedda8000f720f38a2e2592af3d239b4c4b99ae36eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 24\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/observers/InnerQueuedObserver.java:56-79 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:602-625 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java:354-380 | src/main/java/io/reactivex/rxjava4/internal/subscribers/InnerQueuedSubscriber.java:61-87 | src/main/java/io/reactivex/rxjava4/processors/MulticastProcessor.java:261-288 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/InnerQueuedObserver.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"96da2b03f7643bc7924d1f9c755f942c5edc398fed1bec8fae61d89b0d9ce91c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:317-337 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java:310-327 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a27d9c94392fb8b9073880b1e59c7e6cf3ecddb73d15e26340236a05092278"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureReduce.java:52-70 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureReduceWith.java:61-82 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureReduce.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9c329c12dcea7a7e219e468d83dc5e3eb68c2c60d97b502e7f49dd5551bc8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:726-735 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:796-807 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:871-883 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:952-966 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"280ecdc7707eee131a91fe28a157ddd6c42d7adff98aa3839aff015155598642"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java:89-105 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java:88-104 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableZip.java:99-114 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d6a25ca59f21012433a399d418568100215d00116b8cfe82af7bb4d0a57bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:105-133 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:417-442 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:105-129 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7361c169689e33c9f823f1e1537a008b9900e615e1c954efed095bff9eed14d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/io/reactivex/rxjava4/observers/BaseTestConsumer.java:389-405 | src/main/java/io/reactivex/rxjava4/observers/BaseTestConsumer.java:418-443 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/BaseTestConsumer.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"174670504068f718512d9099252853f5e5cfe6ffcb5d310de0819af65a23ad32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/main/java/io/reactivex/rxjava4/observers/TestObserver.java:87-107 | src/main/java/io/reactivex/rxjava4/subscribers/TestSubscriber.java:128-155 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/TestObserver.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe718ff1d6bc62ca14115c2900ad70b99a54fa3ec5848d861e6b261590ce01a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:343-358 | src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java:210-226 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:521-536 | src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java:179-195 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c57c647be73d5e5eefbc6dbf645d7694e0c605bd410892dea16b50dceb925e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:370-393 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:287-309 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c1a3432feb39a48b91efa085c4b3e39dbdf688f405b9348d69c29a00bd59b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:56-72 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:54-70 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f3e43795be9dd10cf69ca9095c8c2e0b246643dc16dc9f6374aa9bb80253d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java:371-396 | src/main/java/io/reactivex/rxjava4/subjects/UnicastSubject.java:453-479 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"382a31e3ee197d5470cc7f7f5f27500b59e3889cae9be2b8c154b1ba15e2e18e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java:120-134 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeLastTimed.java:87-106 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf364fa1d022e2e2693c63b37b1c2949df848faef72a15ea8a2bb809ed12a687"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java:47-66 | src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java:48-67 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"254d94ef5feafc84b3a4b17b846facc96396c1e1dc4253bab735874d51c55b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java:383-416 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java:212-240 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e392b2a7025b6d8faed37805a7cc516e273c03b385f38f18a5cc52ce2e4651"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:241-258 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:217-234 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"4353d3e010a80e65a0ae4a13ef6c97f45fdde8a27dbc0ebbaca6cd3434b03f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java:57-79 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFromStream.java:51-71 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb75da234b5d91f227c961f1cc037934245f4179c8ea69c679f0cf98f97cf9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:170-187 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java:165-182 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservablePublish.java:208-223 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84fcb47886ba63adbfdc95fa5d240ef1f96df081528b5192f6f7b2e9b96e68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:334-357 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:321-344 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a72dadd900484f5c613501241b1083008a99926dbdf5eecfd9df5624d6f5c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java:152-166 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java:121-133 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6796bb992ebd4541beb4c10314efdb3ed1191f3cbe50c371da6bfe7bf75538"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java:341-367 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMap.java:500-520 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSwitchMap.java:330-351 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4c59489049a4e84977ebbaae64b590f0846c8eaa149c290ffbb5b52a949db0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:3188-3202 | src/main/java/io/reactivex/rxjava4/core/Streamable.java:506-520 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":3188}}}],"partialFingerprints":{"codehealthFindingId/v1":"229d40d153e49517fb523e1317fb7efa6d4ef3d1d06a2e165f48006efe70babe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Streamable.java:419-432 | src/main/java/io/reactivex/rxjava4/core/Streamable.java:457-469 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Streamable.java"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf473dbcc8c4e9b00bbb5d29207be9236ab58ecec1bbcdb413ec51403af8fcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java:122-137 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java:106-121 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cc74b7bdbc542bbf68892fe2362a9f2cfb2890d1e8a5c5338d4724907a3afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinct.java:71-95 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDistinct.java:68-90 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinct.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba5e1d8b3c5f0d8d7eac5b134832e717cc5381a1f358b13cd10eefb83110408"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/schedulers/NewThreadWorker.java:61-76 | src/main/java/io/reactivex/rxjava4/internal/schedulers/SingleScheduler.java:108-123 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/NewThreadWorker.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dba7603bc8f894f4ebfcbf49f73045773ab3ff8acab400edea7f3d2c9ac2443"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Maybe.java:273-284 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:309-324 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:1213-1224 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e82d75f61152c776a4e2d0757fc86fe55ba1a686fbb3ab92109406f11018d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromCallable.java:38-57 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromSupplier.java:37-56 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFromCallable.java:33-57 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFromSupplier.java:38-62 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromCallable.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"928cfa52fca5849088fbc70072791219050cafe509c1a4616e8484388db3c7ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Maybe.java:1905-1914 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:1967-1977 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:2033-2044 | src/main/java/io/reactivex/rxjava4/core/Single.java:1748-1757 | src/main/java/io/reactivex/rxjava4/core/Single.java:1808-1818 | src/main/java/io/reactivex/rxjava4/core/Single.java:1872-1883 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"edda47b15415ccfdf5200a5b01108949f710903aaeeb30cd0235666a67459657"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java:646-654 | src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java:701-712 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"f192fce12d960b518b43ceb8e659e95469c9a2e239cb89e2881c0706b4a56b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Observable.java:577-586 | src/main/java/io/reactivex/rxjava4/core/Observable.java:637-647 | src/main/java/io/reactivex/rxjava4/core/Observable.java:703-714 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Observable.java"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a2c23d728c769925c4accf4a22e10e5f4e17d8bc0b80ddfac90019bfb5027c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:218-236 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:209-227 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"198df81abfc3fbaf956e8ad608b5c02292362755819b2e48e5134fb812698f09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java:151-174 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:185-208 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f8a9d0a8a868d9999fae5b9c23a1bb232310ad59480aae4697fbef8b6f0ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java:335-354 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java:273-285 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java:520-535 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"956d63e0084bd7c2834d39c650af0b59e5b33aa6164af781ffa098384a33b8a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:82-95 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java:78-91 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb40f591f4bcb437d1abe066a53c728bed63c05d0a98e7480dae424e4570684"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java:55-73 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservablePublishSelector.java:43-61 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9a93ed1dfd7176542b05cb66660e4e39737fe529c70a5ac64e99b7f753e8a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:49-61 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:46-58 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec7633935c0466c251d3c8e4371e5371abaef3531437f0b95a6c87d1e2d9f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/observers/BlockingDisposableMultiObserver.java:81-102 | src/main/java/io/reactivex/rxjava4/internal/observers/BlockingDisposableMultiObserver.java:104-125 | src/main/java/io/reactivex/rxjava4/internal/observers/BlockingDisposableMultiObserver.java:127-153 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/BlockingDisposableMultiObserver.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e087328ac9013592eec22057fe8b419b9a2e5a16c46e3c07a852c4406d4930df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:57-71 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:57-71 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:56-70 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:54-69 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6ed36b73b3f7b09ae7e6ae2e2d99c529b94d9b86769b0d3dc111222868a7b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEach.java:105-125 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelPeek.java:170-191 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEach.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1448253a16a212ecaf2ef312e9b9f7f624584a8b173291346dd22deb8b8271ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:1879-1890 | src/main/java/io/reactivex/rxjava4/core/Observable.java:13129-13139 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"f436ccef3a33360ec36e8caa1538f9c8b9929783012039d87cdc0ecc6a6c7d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 11\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2689-2699 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:2740-2751 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:2794-2806 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:2852-2865 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2356-2366 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2405-2416 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2457-2469 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2514-2527 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2689}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3830446db0d4fc8533ee1d9bbb7b77dcdc7d4bef22103becc063e5429b0c075"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/disposables/ArrayCompositeDisposable.java:79-92 | src/main/java/io/reactivex/rxjava4/internal/subscriptions/ArrayCompositeSubscription.java:85-98 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/disposables/ArrayCompositeDisposable.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f24d16fac972ac7a1f990f692ecbec89b284fb3519ca4338f825104817e58b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java:129-146 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletableCompletable.java:137-154 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"13895fbe1f7a31743b0356bb6d8628e5f66347405d37ce7e63f8004af3012b95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java:271-290 | src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java:397-417 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4abec8c4f3672209c42c0fefac89da7cfc1f90e98e2cd22b834ebffd8012f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/util/NotificationLite.java:244-259 | src/main/java/io/reactivex/rxjava4/internal/util/NotificationLite.java:270-285 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/NotificationLite.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"912a6eca985daa8066535064c08acec8abdb7a70f54c949921d50f89f696a5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java:190-205 | src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java:178-193 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4998b31a3712c8afd8e0e8c61aba539eb1bf146f305d9597bd152d2d462a8f4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 22\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableUsing.java:151-172 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableUsing.java:176-198 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeUsing.java:162-184 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeUsing.java:188-209 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeUsing.java:213-235 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleUsing.java:138-161 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleUsing.java:165-187 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableUsing.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d489f7e8334d1da5cb5e97219af7ecfdadb66e68aab1fe6d2a531bfba96f681"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java:293-310 | src/main/java/io/reactivex/rxjava4/processors/MulticastProcessor.java:373-392 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"2159bc57e63a061487e19c7ee4b44d261ede7a3e98a1348d79d66efa910065ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/util/AppendOnlyLinkedArrayList.java:84-99 | src/main/java/io/reactivex/rxjava4/internal/util/AppendOnlyLinkedArrayList.java:164-182 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/AppendOnlyLinkedArrayList.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76c7f2c60a95794fac885e70a88d03a812b9802ca457bb3388d521bc5dbcc2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/util/BackpressureHelper.java:110-125 | src/main/java/io/reactivex/rxjava4/internal/util/BackpressureHelper.java:134-152 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/BackpressureHelper.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4551758defc974b8a083e2dcb31af4dc6bddc5d40692428f95b5a9956bdd91eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 20\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java:107-126 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:116-135 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:116-135 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:104-123 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:106-125 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb234f50275f62d4a84c7c64e13d49c26aa42d95911c9d3101efd42cd84e7a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRange.java:61-74 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRangeLong.java:58-71 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRange.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"519faae9ac01d21774ead1ec86e6d60d5479ee1c79dd7db8d1bf21976005bed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1037-1054 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1323-1339 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca88ab98a969cadc3274225a1057fdde218e1171ff34d74428eb3b94a9f9641b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:3229-3248 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2825-2839 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2864-2883 | src/main/java/io/reactivex/rxjava4/core/Streamable.java:531-549 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":3229}}}],"partialFingerprints":{"codehealthFindingId/v1":"365974ea56d0f390161ee6d9bdfd6b01d33001f111d1f7105d5981d8ce9f3332"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounce.java:115-130 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDebounce.java:106-121 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounce.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10c58f13ad5fbbcb0ca1a0a87a2fe0669763f07059d7995d0090f82d4004bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java:317-330 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java:302-315 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c41f38a5f2c37f638f9b4d1d9c3c09b0d9dcf48edc70fee3408dd27f807a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableOnErrorReturn.java:69-88 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleOnErrorReturn.java:50-73 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableOnErrorReturn.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"391b05c45300f396df59ff61b4733cd45585af84c0035b46c8f49169cbde34d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java:37-48 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java:38-47 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f035774eb73faefbc2af5d69544df268df13d906b7a1ff3191bbcbb64a200f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/DispatchStreamProcessor.java:67-78 | src/main/java/io/reactivex/rxjava4/processors/DispatchStreamProcessor.java:81-93 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/DispatchStreamProcessor.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6861c19a015cfbe38f1164e261549a836413f75b08c5f79545aba37a02b5b402"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:93-104 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:88-98 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f4bb5a74852355ed5375f1556256a4b3efc204e9b26422b848a9d1f3360de0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapBiSelector.java:85-100 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapBiSelector.java:88-103 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapBiSelector.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b76f993dd0f94ebc160848c555d8b0ac394183fac08c03f05fd64617dcd8b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java:99-116 | src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java:125-147 | src/main/java/io/reactivex/rxjava4/internal/disposables/ListCompositeDisposable.java:96-118 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd956417936c0d3a9a25bc708ddbbe54273c5cf391f9bd1f77cf010ba7a12335"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/functions/Functions.java:521-526 | src/main/java/io/reactivex/rxjava4/internal/functions/Functions.java:534-539 | src/main/java/io/reactivex/rxjava4/internal/functions/Functions.java:547-552 | src/main/java/io/reactivex/rxjava4/internal/functions/Functions.java:560-565 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/functions/Functions.java"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8b2ae41a8217592cb63ad4b5a776260a53ffeab963172adbdfcead1d1e445d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:548-571 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferExactBoundary.java:146-169 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:180-207 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:537-560 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"be369118c434b6485db62c0a27e68a5054753b682357319ad97b1499ef5c65f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java:81-91 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipArray.java:82-92 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c888714699509fa50db4957203a1f4b3bc9774245722bb541d867aa4ceef3b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Maybe.java:1849-1857 | src/main/java/io/reactivex/rxjava4/core/Single.java:1693-1701 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbd20b33deefd1565915328db0b256e93c34cc92fe809d2bb6a52be6d86997e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java:114-134 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java:198-214 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7022e33899b3c52da61528cbdd6f56ce05f5870ad662985a84df60a93a091706"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java:147-161 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableNext.java:147-161 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7897a9381ba4f2c475b5e7449010fca4376f12136ae02e6cb90af2b5ad4ad25f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromCallable.java:34-52 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromSupplier.java:40-58 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromFuture.java:35-51 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromCallable.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e97a18f79f77c9d1ea3cd25291b124a22319e01b230c6c3a6639ca9e9df85f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/schedulers/ParallelScheduler.java:356-370 | src/main/java/io/reactivex/rxjava4/internal/schedulers/ParallelScheduler.java:373-387 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/ParallelScheduler.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76ecc5f9d1a2041c336c11841415876e6b8fbf15b6c245d6281d64b2cef0e6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCombineLatest.java:241-261 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCombineLatest.java:263-280 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCombineLatest.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"140b0326e008e6f443615db854b9b76990e1218ba091b80339aede0243118d9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFrom.java:84-101 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFrom.java:73-87 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFrom.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0d6b5c514f06bef38ccd648cf3aa547b680c3e1449362ba09a9928c7f7e155"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundary.java:86-96 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundary.java:77-86 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundary.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf94975f886634f0fc82c75068a9ad3d4045d51d2c3067943148232f820d1ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java:131-140 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipArray.java:132-141 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3436ec096e52360071e1390e622d174283c6388ea2913537c0c0e598933420e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java:164-180 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapCompletable.java:162-178 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2f0c792bf04fc6cf01e8df2d0115f4b7c81e36d39826531c2dc683c176ca4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 16\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java:47-68 | src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java:146-163 | src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java:144-159 | src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java:188-208 | src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java:132-149 | src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java:162-177 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d4bb8c3be78d98f0707ac3877ebee5995f427b725b18afe709a9e84894efe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBlockingSubscribe.java:83-95 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBlockingSubscribe.java:78-90 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBlockingSubscribe.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bdfe454012736b55817dce3b7b7c10d673788041aa905d232631bf1709851a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableLift.java:41-62 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableLift.java:41-59 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableLift.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cae3c56922a616983863347553b10c2c26663525a60c2ed45056c46ac62c71d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapSingle.java:83-97 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapMaybe.java:76-90 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapSingle.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"58077669467da6e3847a6e8ec08f5ba9702643d52cd74718dd68578e9778b3d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1244-1258 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1214-1228 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2353e9daeb94bd142013137bb5671a4769dd5d08b7aa920a8910c4dc8587d74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Completable.java:2742-2760 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:13356-13378 | src/main/java/io/reactivex/rxjava4/core/Observable.java:11027-11049 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":2742}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dee5a8160bd3fd915e3039b66fd6d2521166986900d666af151b6b90adba5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2641-2650 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2310-2319 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2641}}}],"partialFingerprints":{"codehealthFindingId/v1":"427244f34bd16cba1ae7c8ebf0c02f2101d9e54574bde59d1d982dc039efaf00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:298-312 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:283-297 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b939f26dcca4cfa67610a908fceb81217a2fe91441dad2c0345331e7b6f1f8ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java:110-131 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableUsing.java:109-125 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7fa94ba5f4dfed2ca10191023a1af7a7d5c834be5634805727126a0bc23a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java:207-220 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java:235-248 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1a8a9dbb83a028568859e02f584c1b58f07765d8e58330ec51bd805f9571ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/observers/DisposableLambdaObserver.java:39-54 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletablePeek.java:65-79 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnLifecycle.java:61-76 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnLifecycle.java:66-81 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoOnLifecycle.java:68-83 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/DisposableLambdaObserver.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d0c14bdd9e21357bcbe7b7b72de6c2ef9ced156d1452aa0d09730f74a17d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/AbstractBackpressureThrottlingSubscriber.java:145-165 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlattenIterable.java:395-417 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/AbstractBackpressureThrottlingSubscriber.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdce834d6a5816c244e8b2d8f231e794e397da0908b3e3e52e08364149651088"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java:91-99 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java:91-99 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec681cfbe28d0efc2f3111bb37782411dc48a4879a1949802dd1d70ac6286689"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:47-59 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:52-59 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca7aca2d4795523641ce40a5f8a79c81e56589caef42f8c77d6af4c9b78d5cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableConcatIterable.java:34-49 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatIterable.java:44-59 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableConcatIterable.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9155e5955b8e3d7686d408cebbd47347a24afce5b64c9f46cf3cc71f184c8bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 19\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAll.java:65-83 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAllSingle.java:72-92 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAny.java:64-82 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAnySingle.java:71-91 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeUntilPredicate.java:55-73 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeWhile.java:58-80 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAll.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb67975e206851acee65e16a8f49672ff8ab5883ff8ae66d713851ce02d8c224"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/schedulers/ParallelScheduler.java:462-475 | src/main/java/io/reactivex/rxjava4/internal/schedulers/SharedScheduler.java:177-190 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/ParallelScheduler.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"321ed91512e731989f58cf7a3056d689e6c86ec18761b35fe3aaba2d3a765249"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:9438-9445 | src/main/java/io/reactivex/rxjava4/core/Observable.java:8127-8134 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":9438}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e9164ca9ed37384388ab0356c2dfcc0f00ebf3fdbc23fd4e5c1aa1758012fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableMapOptional.java:69-92 | src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableMapOptional.java:134-156 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableMapOptional.java:55-76 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMap.java:116-135 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableMapOptional.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ee21151884f1a090e6fefef4282998c6f660657563623fbfd1e92845b16254"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java:108-126 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableScanSeed.java:88-109 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1b2db55a9884d2ec15b1eccbfb8e9e99acc86da24f4a233544ccd87f19485a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/schedulers/ParallelScheduler.java:184-195 | src/main/java/io/reactivex/rxjava4/internal/schedulers/ParallelScheduler.java:198-212 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/ParallelScheduler.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5d6bb39b9b87bf444b59c59fa19dfd78570934dd4e3fca12eb19589918015d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/schedulers/ParallelScheduler.java:429-440 | src/main/java/io/reactivex/rxjava4/internal/schedulers/SharedScheduler.java:150-161 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/ParallelScheduler.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f4a2d2cdf234c0c4c2a7b31844634c7f76bdeec9e2258115c2a61541ce66cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:320-337 | src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java:287-302 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d86e2c73645c5e1e1cfaeaa098f9fe2d9e29f6ac75fdd96ce706ec69c6f8ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/observers/BlockingBaseObserver.java:68-84 | src/main/java/io/reactivex/rxjava4/internal/observers/BlockingMultiObserver.java:82-97 | src/main/java/io/reactivex/rxjava4/internal/observers/BlockingMultiObserver.java:105-121 | src/main/java/io/reactivex/rxjava4/internal/observers/BlockingMultiObserver.java:130-148 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/BlockingBaseObserver.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4235870e36e724f788ee05fc7a1874213b88d4143f28031fb041de6724e92aff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableLastSingle.java:98-113 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableLastSingle.java:94-108 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableLastSingle.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c41480d2ded980de8169ed7582514f6c6afb9642c6a751eff2c1f26b9cf294"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 15\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapNotification.java:103-117 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapNotification.java:120-134 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapNotification.java:137-151 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatten.java:86-100 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapNotification.java:98-112 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapNotification.java:115-129 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapNotification.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f9665647b945d7d151cdd5e07dc164ee50fde6fa781f899a66bc058aa37ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:284-294 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:258-268 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7e33334236c28808c9f684833fe166c2dfe0a2dd4395129a4fa31b6c720e28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java:479-492 | src/main/java/io/reactivex/rxjava4/subjects/UnicastSubject.java:285-297 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddb2718b4cde48f9f23dfe31e8c7d1e9b40d7168d0b7d10ef1dbb0ae25c73d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:350-358 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:14116-14124 | src/main/java/io/reactivex/rxjava4/core/Observable.java:11655-11663 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6383c638fa6f09e24bfb755b8a9cccaac64449e6d48510875daeabe58040ff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Maybe.java:1797-1804 | src/main/java/io/reactivex/rxjava4/core/Single.java:1642-1649 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c970923d6c0f9c7098a2185ba1b82afd845f7fad46795b3975a09024f0426e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java:173-189 | src/main/java/io/reactivex/rxjava4/internal/disposables/ListCompositeDisposable.java:130-146 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c4d9821286640b77446b9e8542f80ef8888ef459586777572c91bb0c13e8e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:145-159 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:137-151 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b63fe2532a2da3b52fab9023ba0060794f6270271af57d22f36b78b63bf5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java:252-268 | src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java:377-394 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f165c4f5b4a590d562242f299c46634dde5d3af0565ee3f8830b1a216bd2165"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:547-553 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:602-609 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:662-670 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad5628a4a0793937edc778dbe1c4227f2f4daa53988e86f0808d4d15594b02d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:3814-3820 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:3882-3889 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:3955-3963 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:4032-4041 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":3814}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c2bfa201750fa4b0d1f8666727d95f974ac324ee7042e7f753253c27c7363f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:4460-4468 | src/main/java/io/reactivex/rxjava4/core/Observable.java:4056-4064 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":4460}}}],"partialFingerprints":{"codehealthFindingId/v1":"c459fb52b1d3fa9f08e8ca6f3b5ce97b9522d8e33655cd62c4119de2e3368971"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:12805-12812 | src/main/java/io/reactivex/rxjava4/core/Observable.java:279-287 | src/main/java/io/reactivex/rxjava4/core/Observable.java:377-388 | src/main/java/io/reactivex/rxjava4/core/Observable.java:10589-10596 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":12805}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9b8d8ce1568f0db24a240d35caec964f436d20586f39b721b9a5a782b2a25e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:15603-15608 | src/main/java/io/reactivex/rxjava4/core/Observable.java:12964-12969 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":15603}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c1e35227d3aad454ef8f79e972d252a38e04acb058b7a5bf37314594842baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Observable.java:470-477 | src/main/java/io/reactivex/rxjava4/core/Observable.java:521-529 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Observable.java"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cb66cbb693334e519c0b5d07c96d7891ff419076f2801bcea999f8f02b10a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSampleTimed.java:48-55 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSampleTimed.java:49-56 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSampleTimed.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"596dce83badb09f84fd6c98beff258f840235d1155de08ad6fd39819a2231410"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSampleTimed.java:93-105 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSampleTimed.java:93-105 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSampleTimed.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b7898e6c139d9d28987e89c5bb153cda54373932066f9ceef4a159d8add042"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilter.java:118-137 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilter.java:177-195 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilter.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a1ef1fc0c6a37942345cfe367d77189b68f3caf8bc4e12c66ea52ba087e4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/virtual/FlowableVirtualCreateExecutor.java:57-72 | src/main/java/io/reactivex/rxjava4/internal/virtual/FlowableVirtualTransformExecutor.java:54-64 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/virtual/FlowableVirtualCreateExecutor.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0868b39d684eac06023eba1108aea66e1c2bfe0858de2b6e4569f04e12f01789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java:143-155 | src/main/java/io/reactivex/rxjava4/internal/subscribers/FutureSubscriber.java:144-156 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"725690af283a74fbe744dfd8737c363dae4f9bcfe297fe1816cd0b68e5cbdc10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCollect.java:39-50 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCollectSingle.java:43-54 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCollect.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4160b41efb188f66aabb95075cab7dc0edaed9c10ef1e1925bd48e7f17beb805"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybePeek.java:109-125 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybePeek.java:153-170 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybePeek.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"04110ab22f08e3333678ce615c46a6281d1383f871a3233b7f6bc9b1ce5cddb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 19\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAll.java:57-76 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAllSingle.java:65-83 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAny.java:58-77 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAnySingle.java:67-85 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSkipWhile.java:63-81 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeUntilPredicate.java:64-82 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeWhile.java:67-89 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAll.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc23ebe25ac1ace8ae8cfac03a6eba9f483568bfb050291a5db46b2d9282bb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:270-281 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:244-255 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"919761fd0d94d22602be3abc475a491fa9c7c796d797293f6171b65cf1c93359"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Observable.java:3427-3435 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3492-3500 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Observable.java"},"region":{"startLine":3427}}}],"partialFingerprints":{"codehealthFindingId/v1":"995193a13e0933e65110e5f36f6b8dc92673fa40b599e91344f9af042a27a54c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/disposables/ArrayCompositeDisposable.java:43-57 | src/main/java/io/reactivex/rxjava4/internal/subscriptions/ArrayCompositeSubscription.java:45-61 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/disposables/ArrayCompositeDisposable.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2674ecb07241dbad13deeaf98d1eeec3c1092934680c83a7ce36f7579b51e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java:136-153 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDebounceTimed.java:126-142 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00628de51618ad9fd1bf47210ce18344fb4b241c748269ca728a2f4a808fa78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFilter.java:59-78 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFilter.java:124-141 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFilter.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf18f86de14cee39e79d36e8bcf5335e3c20f0c6bb4186395e6ce07a9b346cf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java:42-54 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableScanSeed.java:36-48 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af0ffeba8cdeb5e24caa1d321e1a185490853abc305ec819e8fb0b86ba5ab7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java:148-161 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java:139-152 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e29333690291fd81684b925e2f56c5334141b1e40bc0621f743c29725030f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java:272-285 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java:287-300 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48192f0627e34075ad4eec8eb93c34b0a22bb7b46ea93f3e30457ea88b93210"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:389-404 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:371-388 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9af586da12a145f1468ea1c6ee4517074933004cd448ccc39ab8ff3eadbdf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:11334-11341 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:11388-11395 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":11334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f502435e70fb86386479c6813990345075fef3af611e8704086c2a1cbb4e0bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/functions/Functions.java:491-496 | src/main/java/io/reactivex/rxjava4/internal/functions/Functions.java:508-513 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/functions/Functions.java"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"333d49bedabbfeb1768ff42de9b2c6680eb421af5e343f3701cfcc1eb2637ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java:122-132 | src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java:165-175 | src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java:149-159 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e55e28d108b9e16182e2c32aec5db1ad72ddfa8144501fdc56e2a8f4bcc4f58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2597-2605 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2269-2277 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2597}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe428927bacc12418466ba251858a706c19dec1b57244372ef3e33460abbf6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:16746-16752 | src/main/java/io/reactivex/rxjava4/core/Observable.java:13995-14001 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":16746}}}],"partialFingerprints":{"codehealthFindingId/v1":"012361361fec3938873f981b219726c9e500a072204e4c05192b8ebae01ebe99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/observers/AbstractDisposableAutoRelease.java:72-85 | src/main/java/io/reactivex/rxjava4/internal/observers/LambdaObserver.java:75-87 | src/main/java/io/reactivex/rxjava4/internal/subscribers/BoundedSubscriber.java:90-102 | src/main/java/io/reactivex/rxjava4/internal/subscribers/DisposableAutoReleaseSubscriber.java:94-107 | src/main/java/io/reactivex/rxjava4/internal/subscribers/LambdaSubscriber.java:77-89 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/AbstractDisposableAutoRelease.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7d76611fca8db94cb1ea10884a099c9685e4f02f432ee28fc779c06e358acf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java:129-140 | src/main/java/io/reactivex/rxjava4/internal/subscribers/FutureSubscriber.java:130-141 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c071116d1fa5b59f66f70c2074cae0983716be34ea5b55975e6ada8914795907"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureLatest.java:52-64 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java:131-144 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleLatest.java:123-136 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureLatest.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"840c65325a5292bed5bfcea18f6ea459019a5d000c46a3342ee6267028bc6c09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java:212-225 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java:202-213 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be3599642bd6cbcea8b7ac38cc81c9b7c97dce1c878c59a7750f297774dab9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Completable.java:2858-2868 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:13291-13302 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:4696-4707 | src/main/java/io/reactivex/rxjava4/core/Observable.java:11012-11023 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":2858}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1b87c4e76932d6afb579449e324f777075e439bdd589712500fbda4e63b8d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:12231-12236 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:14665-14670 | src/main/java/io/reactivex/rxjava4/core/Observable.java:10090-10095 | src/main/java/io/reactivex/rxjava4/core/Observable.java:12133-12138 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":12231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7055d9efae15ce394f3fafde484932e5691a2f959bfa3065b770876d8434d4a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableMerge.java:83-93 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:109-121 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableMerge.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7c94dbe7f9ae49a5d8439376847254d35396559babf061b6885edc24c5b9ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDelay.java:40-51 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDelay.java:40-51 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDelay.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ba453280a43f10057e729a528070559cf1d732a59da6608fde4125eef18a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:470-482 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:705-717 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"280a98f228e7e93345794d65860074858d9f7231f763e56cb58e8405f8c0d47b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java:135-144 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java:133-142 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b2a7325138cca10f0b8b3bb9bcecbbfc8d8604d7aefb8616ecd0c8839a173b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/util/BackpressureHelper.java:67-78 | src/main/java/io/reactivex/rxjava4/internal/util/BackpressureHelper.java:88-102 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/BackpressureHelper.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"171e3f461ccfbe795b137de737a2e92414526025f47d138c87960b6cba25200e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java:175-186 | src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java:250-261 | src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java:163-174 | src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java:233-244 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc66fdb1d50e6239cfaa222231d91bf39a487cf56a52140b4b29feb18789763"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java:269-277 | src/main/java/io/reactivex/rxjava4/subjects/UnicastSubject.java:275-282 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"830ccf421fc41de8d56f1e08dcbae177aaf30a17d03c31a31b703271ed96d203"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Completable.java:295-303 | src/main/java/io/reactivex/rxjava4/core/Completable.java:322-330 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f37086db295aadbd92152a9be031f1a7f075318331217b3942308ab3c0cb0a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java:124-138 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java:193-207 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java:126-140 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java:195-209 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb97bd3ad6b6698994dfcdc5ac80430b29a41759f06cb93986077f9dd623aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduce.java:73-90 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduceMaybe.java:100-116 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduceSeedSingle.java:81-92 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReduceMaybe.java:74-90 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReduceSeedSingle.java:77-88 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduce.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e4515eb41e262d83968147361bc6795169700d25bba4b9475a030ea19fba5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeLift.java:38-50 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleLift.java:34-46 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeLift.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6736d7af95333d152aac77865cf17916a55a3da2f146376bb408830919e4122"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/schedulers/InstantPeriodicTask.java:81-92 | src/main/java/io/reactivex/rxjava4/internal/schedulers/InstantPeriodicTask.java:94-105 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/InstantPeriodicTask.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dca6aa0e8dd63f99340bfd0e4d8912001577085d5a0faed3557b163a217ff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/virtual/FlowableVirtualTransformExecutor.java:146-161 | src/main/java/io/reactivex/rxjava4/internal/virtual/FlowableVirtualCreateExecutor.java:148-161 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/virtual/FlowableVirtualTransformExecutor.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c9238acef7fe8f6a35f65ef59bc12acb61f13b78f1d95fcc74d6563a262b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/io/reactivex/rxjava4/schedulers/TestScheduler.java:210-221 | src/main/java/io/reactivex/rxjava4/schedulers/TestScheduler.java:225-235 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/schedulers/TestScheduler.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f3942c358a4ca4c9b2482f3217a95faccb08f401e6cd06dd45a58cf7f27e09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:236-246 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:1116-1125 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:1154-1164 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97233adf8bdcbc6c9c99b6cce5461d88964fa9e0b45f4936c85686aba8d23cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:1612-1621 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:157-168 | src/main/java/io/reactivex/rxjava4/core/Observable.java:1415-1424 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"a601e2a717726cda712072116847f40e45ed4cda206e34c464ddd8459a1b2cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:9141-9147 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:9263-9270 | src/main/java/io/reactivex/rxjava4/core/Observable.java:7968-7974 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":9141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e524614471a5531b00b3e99aea16ba60d1402218f5d9340a88c14b6aa7fe532f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/disposables/DisposableHelper.java:48-64 | src/main/java/io/reactivex/rxjava4/internal/disposables/DisposableHelper.java:97-110 | src/main/java/io/reactivex/rxjava4/internal/subscriptions/SubscriptionHelper.java:105-121 | src/main/java/io/reactivex/rxjava4/internal/subscriptions/SubscriptionHelper.java:152-165 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/disposables/DisposableHelper.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3765ad43efa511efdda24aefcc1352b0ce6f33914f2d2e0cad08940005adee96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDefer.java:32-43 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDefer.java:30-41 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDefer.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"496bb7983dd6ffaef6e8632f7ed7f0914db05ec3578499555eba569fbd219fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingle.java:96-115 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleSingle.java:101-118 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSingleSingle.java:98-114 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingle.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3341f4d310027f01e3427c4a14c329b6c6fdbe56171d0747019c8287d5747a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFrom.java:39-48 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFrom.java:38-47 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFrom.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc137c1560f34e500d27659aa9db224faed108c49b82c10e3f0f61c95e062a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:220-227 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:207-214 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"66da09c8bcbedfb34567bdea1aa85b8691a9ac5d8fa160080057ccb20f7cef81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/observers/BasicFuseableObserver.java:132-144 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoFinally.java:110-120 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/BasicFuseableObserver.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8f1db043c999a17ade93f2322b563b90cafe01d49cf3abd322de5e34c5bea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:137-150 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCreate.java:198-211 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2fcc35959165d01769003562e7e1277295dab43b76050488d19797a00024a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinct.java:44-56 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableToList.java:36-46 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableToListSingle.java:47-57 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDistinct.java:41-53 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinct.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0870fa33e8d232b8d1d4d0859e1113e729cb1fd0196334e4d3b0361fb066bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMapNotification.java:99-112 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMapNotification.java:84-96 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMapNotification.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9718d2e6ca61f2377898d0b622940ca64c17318995893e8e68e3878105bf327f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFromIterable.java:60-72 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFromIterable.java:101-113 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFromIterable.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e717322e0d21c8f5dea8317145ccbb14221b68a4d992869dc31bb76d924306af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:3313-3318 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2941-2946 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":3313}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b140b0c433e71f422b0816675dcc56eeec8359a4f379167291e800e927bcd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:102-111 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:99-107 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee63c15d62f9a07ae0d5b9f8c51c614a118c94702ae6335d0dc64ce01f0903e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleTakeUntil.java:98-110 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleTakeUntil.java:112-125 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleTakeUntil.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e340acffbb0e9eb5586a16e86dcb7cd15f1047bccfa1b78b1c40d2e441dd139e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGenerate.java:41-53 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGenerate.java:37-51 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGenerate.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdef9f91d0816754fa914347ac6b688ea22e57dcb3c3f5c6afa1c42701aaa8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java:192-202 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java:185-194 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"315f72161704b4bd30289322fe8c1710e392636d0633702586be5504bcd4995b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 13\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java:732-744 | src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java:823-835 | src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java:855-867 | src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java:887-899 | src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java:919-931 | src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java:951-963 | src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java:983-995 | src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java:1015-1027 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"be856947e9bcef2f526821b63256d043ba834dd3491285af99899b1b322b08fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:16169-16176 | src/main/java/io/reactivex/rxjava4/core/Observable.java:9296-9303 | src/main/java/io/reactivex/rxjava4/core/Observable.java:9345-9352 | src/main/java/io/reactivex/rxjava4/core/Observable.java:13488-13495 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":16169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5ab731879907e566329816a8d5609f64eae3c0e0481e2858b261f8f81945f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounce.java:145-156 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java:168-181 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureError.java:61-73 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounce.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"480899ff6254d9b9481d712b898d0361143d9ac4a4c9190ed8d983f454cfbd68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableInternalHelper.java:136-140 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableInternalHelper.java:134-138 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableInternalHelper.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e62d4dc4a63cd61598bcd806e157af610d8df368c3c6a2fbf6d0f293ed31f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMapNotification.java:68-81 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMapNotification.java:84-96 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMapNotification.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4e2c08f508a6e7f9acf5621c74d1b8c7e1125ba3e9fdc72dc00f95f7e60bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSamplePublisher.java:69-79 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSampleWithObservable.java:65-73 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSamplePublisher.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"616a2732f14a36fee5d2ac3abb80238493e5e2510fb5fe0914b877fd7476bafc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMapNotification.java:115-128 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMap.java:75-89 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapPublisher.java:88-100 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMapNotification.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77f18e3dfceb9bad9a2d479a92adc7d135906f98dff72faeef7f8e7a20e8bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java:244-255 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:288-297 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0831eff1052f7b4135113922448e66589cc84ec20985ef4e9c3dd3532ede90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:5669-5675 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:16491-16497 | src/main/java/io/reactivex/rxjava4/core/Observable.java:5063-5069 | src/main/java/io/reactivex/rxjava4/core/Observable.java:13767-13773 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBlockingSubscribe.java:123-130 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":5669}}}],"partialFingerprints":{"codehealthFindingId/v1":"06dddcfeacd32728585767c3e0e3e98b23f2d154b96f148de0fda8551d8b4179"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/observers/DisposableLambdaObserver.java:80-92 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnLifecycle.java:111-123 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/DisposableLambdaObserver.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"af016904146b0b4fa864e437ad59b6fb8cce55be18b326b01bbed7298ac275c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java:117-131 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:497-512 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferExactBoundary.java:112-126 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:152-166 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:496-512 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7b43a5c9f25f68212122c5ed720cc0fa522d637c327125a3808f91fe5f6922"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:307-322 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:565-576 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b99c5a616182768d1da55aee8ab68c79c0425f818eec7253fc6cd511a1ef75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDefer.java:32-44 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableDefer.java:32-44 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDefer.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fcd0305f92031ed05eea0ca17d99c0d69f12882dd4347e0b2ea154f099f4e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java:533-548 | src/main/java/io/reactivex/rxjava4/subjects/UnicastSubject.java:540-554 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba2771cc65eb11df9bce3d12d9d8d69e3c7d03465a63bd2bee6a833b44faab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeat.java:32-38 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeat.java:31-37 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeat.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"897e1ccbeac00c6fc4afffa3619c83012dade17212207358d88743f597782c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFlatMap.java:136-148 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableGroupBy.java:98-111 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableToObservable.java:65-78 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFlatMap.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc0399e9711037004d871cbd151089a027249dfb35ae2f621596760d6cf6445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCombineLatest.java:116-126 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java:183-192 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCombineLatest.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc7bddb39d4475e50f2c0ade231083b2c1ad81b5548bb3df2e5afc80ea302da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeat.java:86-101 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatUntil.java:92-104 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeat.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa47b17d598f91e642a589c7524ee65cb87a8a1197dbad17c8c94bfa17522a74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java:194-206 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java:176-187 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9715baa36f40732cd463bd09b487debfe33939fc0dede7549d4c900566610399"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java:121-133 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDebounceTimed.java:111-123 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"741666434dd1654a1a954da4e7d6878c3dbcdea55a029fcd8f016e77e757196f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAt.java:99-113 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableElementAt.java:104-117 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAt.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7506ef0eda103552379e6788b8c80eef5b002f9daa9b59722d6f40b84658b54a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java:85-94 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlattenIterable.java:131-138 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1518affeab238c1f3ad78038e6f24d5edaa84c59c076f9830e35ca05467fed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Maybe.java:1143-1147 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2689-2693 | src/main/java/io/reactivex/rxjava4/core/Single.java:1192-1196 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aca93eed022d3117dfe3d1ea9fe9bd2342c846eb72fa6e168d0284c83c70dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBlockingSubscribe.java:106-111 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBlockingSubscribe.java:101-106 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBlockingSubscribe.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eec75693f8658276062a4d02313c7ae218291861fc595367c1c4ab2960ae1cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java:110-119 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleLatest.java:104-112 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"12770c67059cdc3a7e43be5cf1d6757b3a739ea695fd8a3a59fe98217b71211c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:308-315 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:321-329 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c694ae9fcd0aad1368381e877987656084dc0ed3e01f3d6b9fb260904ecb8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/subscriptions/ArrayCompositeSubscription.java:69-82 | src/main/java/io/reactivex/rxjava4/internal/disposables/ArrayCompositeDisposable.java:65-76 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscriptions/ArrayCompositeSubscription.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b21f7112f888273e417dfff0c065816cf3cb3bb19ec22ebb0b97834ef8d249"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java:164-178 | src/main/java/io/reactivex/rxjava4/subjects/SerializedSubject.java:165-178 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f7a8bd4fed0580cc0375f4b4b0f13706bd0f276568e3980920ffa33ffeb07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:1229-1234 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:1296-1301 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:245-250 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c59098541b433b905de7acbaad15a66e9fb74e57f7f7d5d24af9c377a826b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:8371-8377 | src/main/java/io/reactivex/rxjava4/core/Observable.java:7392-7398 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":8371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37f98aea6de8a2ed4fc00a14f201904db26cf8612f25116576291c5dab718d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Maybe.java:2332-2339 | src/main/java/io/reactivex/rxjava4/core/Single.java:3151-3157 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":2332}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bce6b1cd9fc6e1212258e0fc01abe747e7a54689d1d9eb6368025da02a8690b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:100-106 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:101-108 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da4555f5f8d6f5a048900148a9a7284219827271a5cc852fafe547cca4690a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:81-88 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqualSingle.java:79-85 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd84ea924b85a720e1da2f1fd25df5200e9e619bf38da25cdbeb364949596673"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleMaybe.java:93-106 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSingleMaybe.java:90-102 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleMaybe.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccba110855508462702e7442f2b3410fac265f313cf486b071dc1127ae557c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableCreate.java:36-46 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCreate.java:37-47 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableCreate.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efbd0e3a2d1fde1d154b7f23945c8ecbb97a7b215a6cbb8afebe7a5ded8ae0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:168-179 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:154-165 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc4643f14273d5acfc4715edb5a03a8b62b5ffeb955e7d23c092607bf99cc15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtSingle.java:105-118 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableElementAtSingle.java:106-118 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtSingle.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"371b41ca056eeb1b0b453ae76dd8bcd57e409489bd7c6dd146eba50ab60722a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeMap.java:79-91 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMap.java:201-217 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleMap.java:47-58 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeMap.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd6ad1da0ada3f0b1f26bfb50ccfddcb8331706edd58ed2ca373af346a1726a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:81-88 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java:75-83 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"008295c0cf45592bc21c9918db83d8dc1a1dbca2aa731eeea24eb0f9d3ee77a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:16033-16038 | src/main/java/io/reactivex/rxjava4/core/Observable.java:13371-13376 | src/main/java/io/reactivex/rxjava4/parallel/ParallelFlowable.java:1260-1265 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":16033}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7ee2b62ebd76536e8318d44bfe7b93cd0a3acb822b4a36c706439dcde1156d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableError.java:31-40 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableError.java:29-38 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleError.java:31-42 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableError.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b0eb43e06924ae073d62fdaa8914cbe3d17a1ad39061101a505f3afe673c6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableInternalHelper.java:64-67 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableInternalHelper.java:62-65 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableInternalHelper.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d89c9deb44da785eeed1abea8baa5cad29a3931a3c2256835e85d0b48cdfd74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java:79-87 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java:75-82 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4f2b1d87828f0145cc05949c3d47932d1762d75fcdae4f511bb3047b82a3fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAt.java:74-86 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableElementAt.java:78-91 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAt.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"67afe9f0fb55163cb2fede7fe82918321ab6bbe11b050013f87d4de4c3ca3590"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:810-817 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:633-640 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0358bacc6ce9895ecd9bf714ecb51dfc54a9a6d49dc113e683c3d42c6c64f77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapCompletable.java:70-77 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapCompletableCompletable.java:82-90 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapCompletable.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f630456aa180c4d60310ef60c110e9df611c489cd4076384f01614c239c4e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:1924-1931 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:1629-1635 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab6d68d08290a68570fcb81e12ecfe2f1b847f3973aa99b90ef071fd827c168"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/observers/AbstractDisposableAutoRelease.java:87-98 | src/main/java/io/reactivex/rxjava4/internal/observers/LambdaObserver.java:90-100 | src/main/java/io/reactivex/rxjava4/internal/subscribers/DisposableAutoReleaseSubscriber.java:110-121 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/AbstractDisposableAutoRelease.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0391c575410611631522e7ab35828cd466d4d6b1b885d948ee9d90a74a5424d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatWithMaybe.java:89-99 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatWithMaybe.java:86-96 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatWithMaybe.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9829b5481e87c485ed245a010f307ee6b0ef1dc8991b6f50d1012e67d240cc15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduceMaybe.java:129-141 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReduceMaybe.java:104-116 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduceMaybe.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"becc2ea0d38a278f9644f93ae7c008a38674c3a4f53a15285a7559ba9056447e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java:164-173 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java:160-169 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2920ddc03748d92ed3a22d2eeb629481f346db34f3967a22cee605df6cb93e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnEvent.java:75-87 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoOnEvent.java:50-60 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnEvent.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec890bb6fd5b970677e21cafff1cdea8085596ed6762f58dd0f99fa861a4c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFromCompletionStage.java:52-60 | src/main/java/io/reactivex/rxjava4/internal/jdk8/SingleFromCompletionStage.java:52-60 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFromCompletionStage.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c8f56aa2df5911a9458ff41c01cf786f9a26a506d8ccd8eac4c2b0f285dd73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:96-105 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqualSingle.java:93-101 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06e551fc2f2619ba2238f1610efec48d8077e4299ad62bfd68293e4df7a45d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java:137-145 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java:132-140 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7adef0136b69630e796d7448dc0038a282afcd4737fd756c9cd5a38558dd30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnEvent.java:90-101 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoOnError.java:56-64 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoOnEvent.java:63-71 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnEvent.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"baef92fd53c2180c31f66a871d6ef4ec549c1c178204e117e8d08fa97c3b0f3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:3747-3752 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3367-3372 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":3747}}}],"partialFingerprints":{"codehealthFindingId/v1":"468bd5de15effa63ef7dd0154db4c095782939aa8e0e25bb256eeb200a7ccd1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableConcat.java:204-214 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlattenIterable.java:383-393 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableConcat.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e548dddb207f8c2ed516b820a61d7f6a973cdf8944804bf2f580d17091c8d7ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableDoOnEvent.java:56-65 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybePeek.java:137-150 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableDoOnEvent.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"522b073c523f2f77226a8a0cd8845bf7d00638e179db68582ca17be0b0212ce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryPredicate.java:38-44 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryPredicate.java:37-43 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryPredicate.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"727b260cbc27075344bb6e60e309680b9f2384feff9611659d6ce3a0d01ae350"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ConcatMapXMainObserver.java:119-128 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ConcatMapXMainSubscriber.java:129-138 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ConcatMapXMainObserver.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"59289096c480c9ca39620d078ab9478aca99fd014b60c07fd1d346450985c781"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableSubscribeOn.java:34-43 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleSubscribeOn.java:34-42 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableSubscribeOn.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b8a14b3f182fb45603fcdfe5d249005b1e8b614f79a620c9b677e07a29bacc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ConcatMapXMainSubscriber.java:100-110 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java:205-214 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ConcatMapXMainSubscriber.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9b0666d233ed20a5a4be2024f4fb8ca258232529090fa76feb18580d07b55a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Completable.java:3106-3111 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:3822-3827 | src/main/java/io/reactivex/rxjava4/core/Single.java:4851-4856 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":3106}}}],"partialFingerprints":{"codehealthFindingId/v1":"183758c47ac8c7a12c467ced6c96d2634ab90e3b36c78879d1bdeb6c2c3cce31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Completable.java:3151-3156 | src/main/java/io/reactivex/rxjava4/core/Single.java:4894-4899 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":3151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab4ec1aba6d4576e1f942cda8599c35638e0551d69157dde6440827c8cc5f26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Completable.java:3174-3179 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:3867-3872 | src/main/java/io/reactivex/rxjava4/core/Single.java:4915-4920 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":3174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc3d9cb8601e227e495616cff4a6cbf3d38be7785fc8e1ddda5c7c8fea0e629"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:12925-12928 | src/main/java/io/reactivex/rxjava4/core/Observable.java:10696-10699 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":12925}}}],"partialFingerprints":{"codehealthFindingId/v1":"968fd0f4acbebdb4c904aa3c380aed4aefc38556be4e188dd5bc197c792001a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java:209-220 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java:190-199 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"632b7890daddaf7728e95dad2354658b18c1387155053cb8eff8bfbd886ae198"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:152-164 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBuffer.java:149-158 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f925a9279a49b87191985c53bc55d384b8bcfffb17e5287ebf9a407a4c14e9ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:154-159 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:153-158 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3ca34a0974029f1cecfb880ef5400e063fe2bee8e4f3983d68a2037fcb742b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybePeek.java:72-82 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelPeek.java:118-126 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybePeek.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1463f266fcaa233988ca3666855eb580c9c141efdccab49c8846ca66c7044a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java:77-84 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutPublisher.java:80-87 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33dc7f457d582735a6244432bfc1e5fa31eb0206d2c3f510de01137f1a95bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeUntil.java:34-40 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleTakeUntil.java:46-53 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeUntil.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58b31a31600c86ae0199e286b4a3fe93b501754d51ab388f1a3dd68c7d7ffd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithCompletable.java:71-77 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithCompletable.java:66-71 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithCompletable.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9abf48136e5e6a6276b42a0371785b020d5a4dd8fca615c6130ff5fd16a46b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:777-784 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:661-668 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcbe6d32be44717d3f8669e49008b2757240fa2a98ca4e8af5e868c0fba016f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableAmb.java:117-125 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableConcat.java:216-223 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableTimeout.java:74-81 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableAmb.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda66e3af67d73a872ce48f63d686484346fb9c29a08fbaea690d2f1a80dd348"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableConcat.java:122-130 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:303-311 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableConcat.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0b9f0c60472ba254d258c7c7436e4bbcd301b9ce9c6814d7a345c2c1b0fafe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableMergeArray.java:79-86 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableMergeIterable.java:121-128 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableMergeArray.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b34a872dc48b21584cc0ebdf0543caf86cd54c0f6c3c9d04a94effcbf79754"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableTakeUntilCompletable.java:111-118 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:300-308 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableTakeUntilCompletable.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9742884e8f56a75041b498d88dfb3147eeb46c561974443dfbb0450201c85f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java:125-133 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindow.java:112-119 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62985a1a654763c2238107f5a06113a9a81ee76de88ea6a29ae5fcc095c48c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java:199-207 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java:195-203 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1b66f12d5f2bb91ff77c316db7c4c5d29bb122e11747a2014570caadf50528"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDistinct.java:119-127 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFilter.java:66-73 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDistinct.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"252ec154da33ed562c82fd0e91b32400266f30a70164d0bff5a4a902477abb87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java:135-141 | src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java:179-185 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdd89176b60e60347dcd70e668d20c10d4b39e71eb43e4f8a60f185e8a4b5b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:15570-15574 | src/main/java/io/reactivex/rxjava4/core/Observable.java:12933-12938 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":15570}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf5e112f4bdf411d3c88fdb9cfc30ff17c68ecac26e92a2100c9d7685558b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletablePeek.java:130-138 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnLifecycle.java:100-108 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletablePeek.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"692347f9966434dbf8982aeaa4b402864030b817e19ac8c90eed54659a280c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java:507-517 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:324-334 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java:394-404 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:512-520 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a11fbcf687e04019421a48da2d1834123d496bfa908cd0a31e74a4c14a58833"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java:325-328 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupBy.java:195-198 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d4a82baf8f8142180226ea07d295abfb92dd87e9764c71af5e3c7e91d504b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipUntil.java:60-66 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeUntil.java:56-61 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipUntil.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5703e73ba445d186e5df5049061c0e9849bcd7441a2f971136eeb54938a7e937"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java:104-114 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java:104-112 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cf848f3300f56c8f34580a1234cf3fcf53832c25413b02f13e38f9b606e09a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:168-175 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:170-179 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e289d01a614c31ff4d8df217dbeeca69416cb269d29ea4c88572938512bca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:396-399 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:338-341 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26434f1a131a381f209329dc9d17b719060de4c263451b3aab51c3cc2a9d49e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:8454-8459 | src/main/java/io/reactivex/rxjava4/core/Observable.java:7463-7467 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":8454}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95603604664032b976be1ab2da9a89c1b3bd30b8d272afa2fe926e5fee165c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:13900-13905 | src/main/java/io/reactivex/rxjava4/core/Observable.java:11463-11468 | src/main/java/io/reactivex/rxjava4/core/Streamable.java:1133-1138 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":13900}}}],"partialFingerprints":{"codehealthFindingId/v1":"1498b48cb45549b1d4351efdc95dd58b9e07038a5ed0691bbff03e2c63e933d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:83-89 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:78-83 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d986a5a22c2cd0b74fd7f5c2e61a6f89cb25cb3600826a891ec084013c94f808"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java:136-144 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindow.java:122-129 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec74024e1061600774c1ece35b7ac42024250c28808c54ddf0de55f167779f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:83-88 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:84-90 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1359b49ab6d446d3f3ac47e8b2cde656ee386d910ffc69296ecc00c43d0c809d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:8656-8660 | src/main/java/io/reactivex/rxjava4/core/Observable.java:7571-7575 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":8656}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33f2236602901ff408ff27475cea109d3e4df96bca4022e31e1c03f8f7cef29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:12896-12898 | src/main/java/io/reactivex/rxjava4/core/Observable.java:10671-10673 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":12896}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fbf7885d25b73d66ddf172e883d37d07f5f29ec0fcb53e211d03d7df8186ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableAmb.java:108-114 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeAmb.java:143-150 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableAmb.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b865030ae112d6d4b6965f7f087f9f5648609785b6477540783e2e6ec45f3ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:58-65 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:48-53 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5d2b634254d1955e8c575f65153e37821925bf9afa82a9ef07c7247d7d0b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlattenIterable.java:180-189 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:224-233 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlattenIterable.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a4f862761ef88a5d7571248fc49010193a5f7a1e8e2d55afd3fd0c6a1bb1d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java:93-101 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSkipLastTimed.java:83-91 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a974d3158b3f6f934fdac90794744d1874911b2e378fc17a84bd505718ef9b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeMergeArray.java:143-151 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:128-136 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSkipLastTimed.java:107-116 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:187-197 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeMergeArray.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b020a3901da6e35ba36d273a3e201e8a1639d9cf08b14d1642682299855c874"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRange.java:78-86 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRangeLong.java:75-83 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRange.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a044d629e2a8e762bfefc72f2072b400ca6dfec21f5a06348d8c2d5b0f68e8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:12981-12984 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:4457-4460 | src/main/java/io/reactivex/rxjava4/core/Single.java:4028-4031 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":12981}}}],"partialFingerprints":{"codehealthFindingId/v1":"253337e034a796ba1bbb42a096766c1c6efc4511ae8d10cb1e47a73d14c19bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableLatest.java:101-110 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableLatest.java:100-107 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableLatest.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"838d1b7ea39e9e79defee815cef0e59ee90b82995a408d50b09955e7a2ba827c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMap.java:79-82 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMap.java:73-76 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMap.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab044fe28b54f186a17961b57573d415ae0f55860f98e3f522e44c99d9d05b94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java:167-174 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleLatest.java:152-159 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"9296a95e6e8ba9dac31be542fcd50d5111d85140edea757fd546b44110d12e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java:180-187 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java:176-183 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d501a46a8778b614001f51641c084902c08a3725af58872824a0c9e1031f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:39-44 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:43-49 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9827a13699a183a1ba93ea899bac41d1792ac638a395039957d6732fd6f7e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableDelay.java:36-42 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDelay.java:30-36 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableDelay.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c4bae410cdce8ff979550526f13c6162a4eb7166543575668fcb6857d26838"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableDelay.java:104-112 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleObserveOn.java:78-85 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableDelay.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6de7c4895096ac9f843cc55da4ad0edc22d47bdfd213d56ff706d82daf82b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableDetach.java:80-87 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDetach.java:88-95 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableDetach.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a70d6d10c7d9576a91617b9e7c664c500048e366f34d730d15212059e9fa017"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:221-230 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:246-255 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b12eced7504ef0a570ad8198d9a39a1c8dcc67cc29737a2b2f4ce0c0c5284f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:413-422 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:423-432 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbe061501e235eb9211a31cc9f0a3864f65414e64c095fe70f9fc704dc7a535"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java:49-52 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleFirstTimed.java:53-58 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDebounceTimed.java:44-47 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleFirstTimed.java:48-53 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4d0504f18530902b13a17870da0e841641f121a96629a29b513c857e50ad1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java:39-46 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupBy.java:37-43 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d475d8147e3ba3715f5adecf8310a91a33614accf2db81530d27b5333a6eda0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryPredicate.java:60-66 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryPredicate.java:56-62 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryPredicate.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3330d60db21cbe8615b853a1810ab48047ab2b1951f115d0db4d6bc10da10084"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java:123-130 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java:121-128 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5850abf7555ca3a0e0b7d714cd6bb6d78fabd43d485ee7a5ff2df2ea771c7d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:103-113 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelSortedJoin.java:108-116 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94829a7a5a4f45917c522acf9b60dfba9c869e6f2d4b595fbe64c4196070bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRange.java:75-83 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRangeLong.java:75-83 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRange.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a085bacc21182dc0756a46ffeaf8dc2e1403574c1cb86295ba33bfa7f50453c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/schedulers/CachedScheduler.java:175-180 | src/main/java/io/reactivex/rxjava4/internal/schedulers/ComputationScheduler.java:167-172 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/CachedScheduler.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b3ec816a50a31eb7714ece95817d1525c61c7fe96f4ba4575f15ea0eb676ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Completable.java:2620-2623 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:13006-13009 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:4482-4485 | src/main/java/io/reactivex/rxjava4/core/Single.java:4053-4056 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":2620}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d54487a05905c58a4df36b83be7a499158837dce683925be369f8480084424"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Completable.java:2646-2649 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:13031-13034 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:4507-4510 | src/main/java/io/reactivex/rxjava4/core/Single.java:4078-4081 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"585d89302023b2dc08dc8bafb7edf27999f60415ec2da07dec714659859f0094"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDelaySubscriptionOther.java:127-134 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnLifecycle.java:84-90 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDelaySubscriptionOther.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d6388e55f778ebd63e8618527af815d176f68b49a8075f246d6fbd14b99b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFromCompletable.java:31-36 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableSingleFlattenAs.java:36-41 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFromCompletable.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8de77324bc21d368203724d601d16342a91913d87f44d0c4b509d88f8c1698"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): src/main/java/io/reactivex/rxjava4/core/Flowable.java:6173-6175 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:2439-2441 | src/main/java/io/reactivex/rxjava4/core/Observable.java:5519-5521 | src/main/java/io/reactivex/rxjava4/core/Single.java:2064-2066 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":6173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c250c1ceca3181cf9cf4672fdfe352390700e8a189096b534eef1901fb0ad2f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapEager.java:45-51 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapEagerPublisher.java:46-52 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapEager.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f715d4629b60e4436f1d4d83a659f0838625a3210049de379ecc541ed365d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:628-634 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMap.java:523-529 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"1019d0ae1bd1ac0913d71efea2820a64c982b7b31474ffe59bbe7ac6401b3d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (93 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java:229-321 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java:224-316 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad18274a654cbf96252407d21a6e7b300fc364b70af65d978d94b72947a1fe75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:309-363 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:277-331 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:309\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a2a232ca5966be775387757e0ab409623e93908d9dec5eb8febc603c0fe612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java:115-169 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java:122-176 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d327675781f4d2866593968465545b22538e476e5f84c5331c4d6335120df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java:208-261 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java:163-216 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 155 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java:208\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30265679cd119d58864ff2c87c82098c6005dc1328238ca1da5b6494e6efb46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java:180-230 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java:175-225 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacf52c79f7b998e585279090cc764e0a08d6fbbd102c55b11a16a074200f8d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundary.java:189-238 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundary.java:181-230 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundary.java:189\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundary.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"970566370a19eb9a51dce0c885f731284c4ecbcf9cbf083b8c357a0cbc685ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:129-176 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqualSingle.java:130-177 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqualSingle.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb26476ae03394a384085ed804c692667a28d8db77e7af25fff1c9a74f8d74c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1003-1047 | src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1289-1333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1003\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf511af091ea1425f33722f5787fb38162a60d4702512aabc00a08dec9b58e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java:153-193 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java:310-350 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35b4ab13e1562c0c94014a82ab9dbac8f4b8c933e5154e4fc36562b71155792"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:235-275 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:360-400 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:235\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c124c7d37693f525d9a94186547253ed5605383f2cb06aa8f9a5a43d3c4b41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:184-222 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:180-219 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:184\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"704646615f1c5a879bafc851560bbabd4b4b9814e9ee3d74339e6486413a6985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:449-488 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:415-454 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:449\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a586b331de5fec01881fdd62dfe22db2e9c9f259ed909f00114d69e7e28adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java:151-216 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java:146-211 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java:151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ed48acd0d4b7286e94381bf43b4309d2b71b42eba4cf6a5a6f58eca0af1764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java:220-257 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java:215-252 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java:220\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d242865e269cb8400e1dc59eb89a5bc0604d3c7cd3bc463acae95c6e4c598f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java:121-158 | src/main/java/io/reactivex/rxjava4/subscribers/SerializedSubscriber.java:110-147 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subscribers/SerializedSubscriber.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"99eed2b7221691f0763e4ecdbb08f8da73d5ff11cf89bdad13f7ad37b4520116"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java:142-178 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableObservable.java:110-146 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java:219-255 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableObservable.java:110-146 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 155 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableObservable.java:110\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f666a7461736c8e823e06b3fca2157d787bbcbededd20730cac274059285d42d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java:209-245 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleLatest.java:198-234 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleLatest.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java:209\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b5de915ddc32559ad32fc04862a558e6bc7e5c96732241e35081fc94617188"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java:92-128 | src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java:154-190 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82f7fea5599eec6b9b628583f246311435dc39b768d933bc5d1a96a80e118b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:267-302 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:507-542 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"098c5a8194f1f58d44c320ec69b52e1ece52652094f45b1d0a2afbbdd3bebd23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArray.java:113-147 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArrayDelayError.java:121-155 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatIterable.java:125-159 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArray.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArrayDelayError.java\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArray.java:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArray.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"622aecd2bf5294291d6460ed8152820c143e098b5f32c40f8536e532db9a4106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java:108-142 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java:108-142 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bab823057296bdc771dd8a91174f3f9c3453be57c9bd7f535106e9046d1de5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:189-222 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:182-215 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:189\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6562d6adcfc82fcc24c421e9542d360d835bd486ca8cf58b2bb9444c2a4b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java:133-166 | src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java:195-228 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22d759246c97b51417f287d8f38b42e2bddf9bcee7224ffc322b2ecf834b531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java:220-252 | src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java:276-308 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a5305b32934410f4633fa45e54daadae4302208b49d89470935b8180faee81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:174-205 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:232-263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:174\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdb5f791aed1cc0b1e1a7dbc74e1a82d7c0187c69cf44fa9232cc868e41ab54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:1017-1048 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:859-890 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"652b7217e2e2240617ff834ee3d1d02e741ea6ba5b1afb3238423c761c32ca95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:93-124 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:95-126 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 235 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:93\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e51d2edd46b7e3e50ac2ccd093ed19ccb7b3176bddd036f4e68d79956b443d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:320-351 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:334-365 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 235 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:320\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ceb82e06c3ac1d5900d74fc20101b3688f8d3a25601a74e5e28e4d3d6d51c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:275-306 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:250-281 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:275\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:272\u0060 calls \u0060onNext\u0060, \u0060values\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:248\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5033ecf0fe145e76b1cd1f979bc55d2b72c57945daaf9b63bd0ba1dd66cf3c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:309-339 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:549-578 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:309\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6db95d9bf08914f29e9e637b96209771407eb3152993c2b36acaf63a274818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:374-404 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:614-642 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:374\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"6209c789eb8452b8f544f4d195288d8ce5299ba9fb1c0f4c1930560581c49063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java:191-221 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapSingle.java:186-216 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java:191\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a5708a4832e4d03ae823caeedb69f0916c07e3c719326382e7b538e84899d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:281-311 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:406-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:281\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"b499ada0cf86be714d79719e230de7304a7b9838e2c0089e75ec2a3302ad0581"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/SchedulerToExecutorService.java:201-231 | src/main/java/io/reactivex/rxjava4/internal/schedulers/SchedulerToExecutorService.java:281-311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/SchedulerToExecutorService.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa2d7e2162eab4cdf58496ba3f270348f4e3749eea10bcabf800186850a05b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:281-309 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java:273-302 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:281\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060consumer\u0060 to \u0060CacheSubscription\u003CT\u003E\u0060 in one and \u0060CacheDisposable\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:313\u0060 calls \u0060request\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java:307\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c1414e274727d807df7596a220af064b8b305c5baf0d1d27b839e0e8cc7941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:291-320 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:479-508 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:291\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c897167e24a42ce3356d3a7e134395a99f7d800093747bc24b509a3c206015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:437-466 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:672-701 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65322624dbe6b65a0e60e3533261a106e87ed9303a571e7331bc6d4e23ede62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java:158-187 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapSingle.java:153-182 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java:158\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad33367fc875671766840aea44cc9cc81b1db1cdc59f0cd04129b2cb052400e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:453-482 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:477-506 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 235 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:453\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:476\u0060 calls \u0060dispose\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:452\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50a8c3b347f3d5c52fa47458d16ce44bcb4e76d3ead18e5553723f6c259dfe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 8): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java:136-164 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java:252-280 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java:133-161 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java:244-272 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilterTry.java:137-165 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilterTry.java:226-254 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMapTry.java:136-164 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMapTry.java:249-277 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java:136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83f0d88008b53da9b71eb8298227538e6ff3b11baf0c1841028e2fd821e413c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:244-272 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:431-459 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:228-256 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:397-425 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:244\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d8d91e1e15588f2224c16bf55e6a9ca7cc4b4c02afd52dd56710a181f14b28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:176-204 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCreate.java:237-264 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCreate.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06dfea181f96a7e2941eb46f895ed2e66e9ea02554f4e30acf85acf0066fae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:289-317 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:277-305 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:289\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21213b6dc15fec8705a87b215b9e3593faa4ccd3212439267376ec0e53ae236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java:194-222 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java:263-289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java:194\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"154762158abd58c71b25dd5914198c0e5ef73a1d04733ab29efd1105ab787236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java:109-137 | src/main/java/io/reactivex/rxjava4/subjects/SerializedSubject.java:110-138 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/SerializedSubject.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d6e7c0d83db07884f103350760582ffb1f8bd934b014ef438b3320a2e35da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java:151-178 | src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java:141-168 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java:151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee5892aa8002929921cf005f42d9221810dddc4aba5780b028c4e96d6fc194f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java:338-364 | src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java:394-420 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee327b02d96cbb9c595122ac8b66920cc2b41ba0bcbfe68167989e8fae398ec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:541-567 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:477-503 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d196db5389ab0e6720ddbfbba2dd5ad136c911ed4b761aa139e465ddbee134f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:251-276 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:312-337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:251\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed66955d48236db8bcd321b633a0bf1cfccd4040b5fbe3d4237cb2f8d815858"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java:168-191 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java:163-186 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java:147-171 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapSingle.java:142-166 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java:168\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd4821a8ecfe213ecc6a383411cee94a0122182295b6f3d370f975329614959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java:96-120 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduceFull.java:86-110 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduceFull.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java:96\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060A\u0060 in one and \u0060T\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f2c0c55a8c710bf2035e43fe5a04932a05be440ed17990e7a8355e4acf03ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:258-282 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:246-270 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3c49e547d3c092da982730c069fc8d036e8407a2b5d2a6c6765fff16ad704f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:180-204 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:180-204 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:180\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"be81d0c09de92a5a655ed58a5e8ef47c0592a63c9496fea2fd07ddfc8ccefe6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java:216-240 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java:218-242 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java:216\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"633f31896bb65a0ded12971fb9c85c33a593eec72a180ce4cc6c94d54f91faa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:1052-1076 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:894-918 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c83af75e10740b83a851809f72e77600d1658d2bae5829a6862b69e8d17271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:231-255 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:225-249 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:231\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3bdd36a8017155c8dd4ed8b5966ec2d0be28e6320faad207246c6ef1c039f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java:143-166 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java:194-216 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java:93-116 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java:143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d342b5699cbdf1071e5e7fd781e1d643047d6ef927997473019f2671e690dbb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java:97-120 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java:254-277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf8c3e2ffd471ba6c4571d952e99fb6845f39969d48bef5a3950627b8d982c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:242-265 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:221-244 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cbbd97658e99da04cd487e6bc6fa30b1b6f533021c0d45b9efabfd11b3dc23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:411-434 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:331-354 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:411\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbcbfd8793d4ff3015e7447732f64f8b75a408e3d69b2b34bd11bb364854564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java:147-170 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java:149-172 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6f97eaf6bd08e580cfea1f4e494474cc475401cd4c7a4c4b706e1abee8ecc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:238-261 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:214-237 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"79305c8e7b76f94371211b917497f2d7da7b29b849d31d9a2f2f8242944836bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:237-260 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:400-423 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:237\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"832aa42484cb7c724dfebb6a6a4977efdfb8e4da2dab7be5d4762b08eee35130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableBlocking.java:48-71 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableBlocking.java:91-114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableBlocking.java:48\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableBlocking.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bdb5d5ee1ddab1bb1e26dd3c0e9be2c56faae37f366a295fb69219bb1b82a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:273-295 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:475-497 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:307-329 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:495-517 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:273\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:306\u0060 calls \u0060dispose\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:272\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"192385ac58cb9c461534f8be7bee495b739adaeacc79b491a2f3db2d1ae7ee45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:540-562 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:678-700 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:540\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6845e3d5c36a6cb0ec7a215b7b2e8edd894cad496a2c4d8882d5e47c5a63bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java:177-199 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java:177-199 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c45a24b5270a22c3bf7b714f57e731cdbfabd7ef2a28aeef949a6f3c40e3d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:156-178 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:158-180 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:156\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"682d69ff08a7d9ef752b99ae1a428de42b5962e623bd3e874f8c81df6e3ef995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java:368-390 | src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java:424-446 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c778dcd1c95c793c30516cae6cdb7404f94dfa50a47f3150d988e43094b51f85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java:95-117 | src/main/java/io/reactivex/rxjava4/subscribers/SerializedSubscriber.java:84-106 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subscribers/SerializedSubscriber.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java:95\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6798e0cd0bff0f8234a3a25d1adbe89df23ff1b703d44e7fa35da4f2b183aa96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java:162-184 | src/main/java/io/reactivex/rxjava4/subscribers/SerializedSubscriber.java:151-173 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subscribers/SerializedSubscriber.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1227f623bc2d2c9e9c63b6b62a8574478db8cdc51b4e02e7df615e502f27c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:999-1021 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1285-1307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:999\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1023\u0060 calls \u0060get\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1309\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a286639884c361ad3dc7fa31fe75e698f2759b73f876c386c6a945e7c56710"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:197-218 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:180-201 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:193-214 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:173-194 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:197\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:219\u0060 calls \u0060values\u0060, \u0060onComplete\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:203\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1145471c18271f6fbde07ce5834f39dbc23e38d7f3c5dc3aaabfbd647bfaac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeat.java:92-111 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeatUntil.java:98-119 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryBiPredicate.java:102-123 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryPredicate.java:113-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeat.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"618bb8626a15f2a1c69d6d1e1adf893122b10439f7d1bdf8c655956c57c8f77f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:166-187 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:224-245 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:303-324 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:166\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f057d1a13d5ffec488495ca75990e4db51d60064ea015b2ba10a65772c2af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:324-345 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapEager.java:112-133 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:338-359 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 235 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:324\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:323\u0060 calls \u0060SuppressWarnings\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapEager.java:111\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae169582f360e4d87412f31d6cb7e462755dd9b8a5c1102b6ddcd072c3c7654"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:256-276 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java:247-268 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:256\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060consumer\u0060 to \u0060CacheSubscription\u003CT\u003E\u0060 in one and \u0060CacheDisposable\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b170e8e84b855ec62e6fcdb86c46ccd2250bb8ba5fd2ad06e8de897d56fc8fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java:81-102 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java:171-192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java:81\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57522a5c42dbe46b643443302a354cc6912a26b439dfadd97ba22e273a7a026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java:112-133 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java:202-223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ebb693657055cf40bfe2853343d089420a5add3ed7cb0c3b03e0901cc35408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryPredicate.java:81-102 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryPredicate.java:76-97 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryPredicate.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d60d5a938befc8ef895b28d28e5005a922f1c0a61fd68301c51b4c58c29843e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:215-236 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:205-226 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:215\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a1d2e470cc4acadcb5b8809bd77ac04550aafb97e009f9b0096d16eede23fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:209-230 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java:199-220 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:209\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"277491ba1967e47e7544a2b70e322e68b5e99a5acb432d427eaf0d366bcc93fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:221-242 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java:215-236 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:221\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"520b404e6f94aabcf983b7d148b657071578807a9dffc59fd6d9ba37b1e9f056"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBuffer.java:223-243 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java:195-215 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java:218-238 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBuffer.java:223\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBuffer.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b16af22d05286c17ece4016e2d1a36a8d488a6fe7fdcba898282017051dc90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:798-817 | src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1035-1055 | src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1321-1341 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:798\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5016bf1362ce66e6afa34d7ec179d1da82727b5d3e6aed8517df615e5db57ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:508-528 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:529-549 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:508\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"18025433daa1e414487c29d7e506a41cfb5fb30bbfbc1d7e7b29fd3cd4bb1d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:571-591 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:709-729 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:571\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"809390c395434837f4ea1cdf020f93772c6dbf986dd398d69bffe7d6923243a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:220-240 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:357-377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:220\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ad8b5f7ce831a0bef23ff35879f9d3082c8565680752cb1e4d7068d2686950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:72-92 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservablePublish.java:62-82 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:72\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"15852992394d715ee89dda54003e1fe9fb71769980511272da3afaaac5777c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:183-203 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqualSingle.java:184-204 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqualSingle.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:183\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a23d4470df9b0760065126838950b79938d7ebced4be59145ee07adc1f78a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java:85-105 | src/main/java/io/reactivex/rxjava4/subjects/SerializedSubject.java:86-106 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/SerializedSubject.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f164ff1204b3ef7a6d5f7c2b08fccf7d81a0df728cdb503dc4fb49c20382823f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java:141-161 | src/main/java/io/reactivex/rxjava4/subjects/SerializedSubject.java:142-162 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/SerializedSubject.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72ed3b123f797260c5d55505991b755fcadb274eda892dead414a119de94434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:191-210 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:249-268 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:328-347 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:387-406 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf840a14416a31ca6d763dcaf1dd9083fde2bd5c2dfd38c40521468451a2366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:190-209 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:259-278 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCreate.java:250-269 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCreate.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:190\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"313fc631629ed9883003f92bbd9072035cf1e448791aad7aed878a67f82d8cf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableIterable.java:79-98 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableIterable.java:68-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableIterable.java:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableIterable.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ce267684d0d9c8a96216cb4b33e6dd41254cf34fbf9ee78713631a477fb0f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:446-465 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:446-464 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73e0c26dceed0a60bde14fc20aa41f2f1d9b7ec7de4a8b294331eeff1f47971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:124-143 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:126-145 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:124\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"544908b4ce0e6471b7b5d90e56c246214b67a39dcc0103bf1923f4cdbd5ab518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java:124-143 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java:281-300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cb7ce930b784d327c6cd3c74780c7928813ccaa81e1601f50f6a1216b249c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:255-274 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:251-270 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"906d0bf1c5b5f29cec5ed9dd2999fda000c5236c06231ee62198c20178905c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java:65-84 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java:63-82 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca6c55da9a965c448488b74b246785664b24ef3ed5e1db15e52fe319459716e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java:94-113 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java:92-111 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b58bdf5af2a09bc63e27d518c1b482f1231c62f2a748d458eabdfb276354373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:1080-1099 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:922-941 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e63c6c3be950108c92c48b94be97357d0fd0bdc254c5671aae969e4b447bf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:281-300 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java:348-367 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:281\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd3fce6d38f4b826351de1fe8b95c2a55c6892285c21591aa0c266eae63f4fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java:94-113 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java:94-113 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 155 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"474858d93db4f3d139ffb58ceeaccd3d6f8ce51c6cbbd055a4e185afed9c0a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java:110-129 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipArray.java:111-130 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipArray.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a3294a59b23707bfeb9e6bb16ecc491c01f29faa7e2a5dda4f6f22a0fa9d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java:104-123 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapCompletable.java:102-121 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapCompletable.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java:104\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e41f02fe83640424e0e05002292eeb7aee0d5c4fd4a69e7f9bc8a6ecd9315f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:242-261 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:223-242 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:242\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5e059e3a77cda8b8bc10cbd9b00c65418d36643cdc749ed922972d6a5df9b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromIterable.java:36-52 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableZipIterable.java:45-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromIterable.java:36\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromIterable.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1ada86a7165d86348b4c5f3085e526039d2411712aba3fada9500df139dcc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java:52-71 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java:90-109 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1492f2944316b5e39d5ac406df43371aa870c4dac8f7ee8a5d98d03a8144d515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMap.java:52-70 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMap.java:95-113 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMap.java:46-64 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMap.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"00724d5f36aa4233873e84320eff5cf43cc5bb76d8d78b6df5be2fe05808d533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java:176-192 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:237-255 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:362-380 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java:176\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:257\u0060 calls \u0060dispose\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java:193\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScanSeed.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"df56aac7c326b82eea0a0d1646f63344404eaeca62396cd6cdb338b8b7723ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Maybe.java:4712-4730 | src/main/java/io/reactivex/rxjava4/core/Single.java:4286-4304 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Single.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060MaybeObserver\u003C? super T\u003E\u0060 in one and \u0060SingleObserver\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":4712}}}],"partialFingerprints":{"codehealthFindingId/v1":"deee5762783711a9ca01a5131548c71c3250c46318c38db7edec192666de82c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java:100-118 | src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsObservable.java:93-111 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsObservable.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1307ba0ede4a7bd7c53d544eec7a13bc5e813c23bdaebbc29d3b37368f3b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/ForEachWhileObserver.java:55-73 | src/main/java/io/reactivex/rxjava4/internal/subscribers/ForEachWhileSubscriber.java:57-75 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/observers/ForEachWhileObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/ForEachWhileSubscriber.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/ForEachWhileObserver.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ce8ce007d7fe507bf327b8a70f2f21119855d562f2b9ec283896392403422a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java:157-174 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:190-208 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java:157\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"28915730c4cee826432ffe79c7dd1e042ee19da7905bbd309da9d78f8859529d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:283-301 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:251-269 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:283\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3be663ef8921e13cc5e3e47bc14fc51eefdf9fe17f8e41413f10621090e6bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:220-238 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:216-234 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:220\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8032129b04b1e95e0f215c96d8615f6656e4ed735513ef63066eead2338587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java:219-237 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java:215-233 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java:219\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef879e8f4089310c8dac31174319b2cd6b36326576448733ab575e56f799082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java:181-199 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java:137-155 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 155 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java:181\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ae19d1609f0a556ffc1aa7c489b5a634b7318f6168243408177912b42bee42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromCallable.java:48-66 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromSupplier.java:47-65 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromCallable.java:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromCallable.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbd64b51ad397b6ca6a434d4b33d912bee43131c856a91dd6a6f5499db45d9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:394-412 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:414-432 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 235 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:394\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:433\u0060 calls \u0060dispose\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:413\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ca3529476b0cfc86d75240ce0be9ee58b43179b48f2e7276bd9bcbffafd087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapCompletable.java:90-108 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapCompletableCompletable.java:103-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapCompletable.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1baf4194cad837d229641e4f9a6b39d111cd37fff0ad4e883389ca7e7864e1da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:94-112 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:224-242 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:94\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"afaa0ae143554533bcb8782993e8f9e6737d854c57aa750f4a4919ef290b8bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:521-538 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:456-474 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:521\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fd40faa01dd2e2c7f512bc7d676ac58e4e368ecdf543155f02c962477b8113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:758-776 | src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:789-807 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"d829114152e3a1632f95facd9ae35a08f627432b7c654bc4a601051e44712e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:173-190 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:258-275 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java:160-177 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java:230-247 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java:162-179 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java:232-249 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:173\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a5f21665a324b1cb2af6de5240089e2298ed3e5bab2f4cf172726cd2c49bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/observers/BlockingDisposableMultiObserver.java:82-99 | src/main/java/io/reactivex/rxjava4/internal/observers/BlockingDisposableMultiObserver.java:105-122 | src/main/java/io/reactivex/rxjava4/internal/observers/BlockingDisposableMultiObserver.java:128-145 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/observers/BlockingDisposableMultiObserver.java:82\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060CompletableObserver\u0060 in one and \u0060SingleObserver\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/BlockingDisposableMultiObserver.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"399f07179dcc319b2369f28faf831a147a027efa03525512753dc74fc71ec826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableCreate.java:86-103 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCreate.java:96-113 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCreate.java:90-107 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCreate.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCreate.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableCreate.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef79a56d7fe36acf3f51e970490a552ec17e4bd0c1d0dff0da33020f0c55a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableMapOptional.java:70-87 | src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableMapOptional.java:135-152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableMapOptional.java:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableMapOptional.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e6ef2dc497fd4e64508ce403cfa9cea8ea80f2f78c783b5ea9b4d9c13cc172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapEager.java:273-290 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapEager.java:327-344 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapEager.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f89b0a905b9ee15ccac76b9a252310ac3e4a3402506d84d75d9763db21f807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinct.java:72-88 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDistinct.java:69-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinct.java:72\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinct.java:88\u0060 calls \u0060onNext\u0060, \u0060request\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDistinct.java:86\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinct.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eae49b18632e0eb5dff2c590f2e79502dd513816538b163f14fece5aa4d693a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFilter.java:88-105 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFilter.java:151-168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFilter.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc18bccb594c944be7e9d2d194e7fc8384d3e586bb68e7ce7973fd9d9502736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:346-363 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:585-602 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:346\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b1073598d6efb1c129671d5c8f179414018ee4811a13cd0379a7413b54ac04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:321-338 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:310-327 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"779a0dce2b68d715a5e1f4f5529d0fecc14bb6b3e7d4067f26a0acf169064df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:125-142 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:118-135 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:125\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e9341bfc9fe5d2931c30c5643205c23abb286c16ebb5bb4510104e67af1857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:212-229 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:206-223 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:212\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"508d9f1646e1f1eb89b19994e02292f74c6123508fb431890466e171fff031d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:125-142 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java:118-135 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:125\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea1a6164786e22b3b7a8c85114d05eb2336fbf69c3a647efd3ca04ba2840e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:182-199 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:190-207 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 235 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:182\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:208\u0060 calls \u0060dispose\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:200\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf88e9f5c08d380b339484ae88d1c14ca8d0aa3633d2464d973033fbb796bc69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java:179-196 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java:184-201 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java:179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43b5872301c9f4b5208aa0eb99b6cd8a9baa2c16428b842f2026b39a7f51a82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java:316-333 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java:402-419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java:316\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac083a8b9e39a582cd293523ccc9bac65f86506273bc612f996c948f95b795f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java:200-217 | src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java:256-273 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffe9f3c5d52eea46b276597194e623bfabbe08a3c81afee4242f8281006ee4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:223-239 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:203-219 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:219-235 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:196-212 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:223\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"32851afe4b5eaa3ee18529698b7bf7b481ad27fb4bcd98faf88975bd633ca1a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/observers/FutureMultiObserver.java:94-110 | src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java:95-111 | src/main/java/io/reactivex/rxjava4/internal/subscribers/FutureSubscriber.java:96-112 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/observers/FutureMultiObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/FutureMultiObserver.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8b21e6341302fc30a7d01ab55cc2b8c8dc4c5866c42d16d7afe32304a9b049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableMostRecent.java:95-111 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableMostRecent.java:95-111 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableMostRecent.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c918e2a6a96165a27855c50432b9406afdd0306abe63718a07efa0c838b3ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:235-251 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:266-282 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:235\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:283\u0060 calls \u0060dispose\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:252\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8959e2ec3acc4b8e7bb1af302d42e5f2e03f470a07e09ec27edd0092d571cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:310-326 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:350-366 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:310\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b9f328c3aa0d949bb51afbd1bfd51358c87d59276a28198560377ebf64f5d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:119-135 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:119-135 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:119\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5242d4b3fb63125238ae11d94f26f0d6bce7a877fd33facfea210c1790515a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java:409-425 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupBy.java:271-287 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfa162a5d54f873b592760926fac9499f589ec8fd44472fd09ab3fb241b8516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java:135-151 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableUsing.java:129-145 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableUsing.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"504fc2661b34ab262067ed558e35e391d50186c0bffe295e1e4dec4a3a52859c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCreate.java:69-85 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCreate.java:63-79 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCreate.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCreate.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCreate.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb45e5f4ee3095d67f11014624ec02ce0076d0b208b5fb390dd116fdf234bc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDematerialize.java:80-96 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDematerialize.java:82-98 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDematerialize.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDematerialize.java\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDematerialize.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedb1a7d81044b2229cc24b52465286e30e71196c656ef504577b0740c04ce4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:107-123 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:109-125 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:107\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40d9fbf6d0080832f9da5b509ce4c3501d17496481efb08d77188f376a92550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatWhen.java:46-62 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryWhen.java:46-62 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatWhen.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryWhen.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatWhen.java:46\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatWhen.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ae34792c9f68f7974a8bd39fbb4192f81f6246211f3842a4e7e38456bf37ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:228-244 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:271-287 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:228\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e320fbe6dcf5644116ef39ce136fa6a3c8e233a027c819fafd7d1cfdea2bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java:423-439 | src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java:479-495 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c189eb6003cb5eb732f1b2ba0f1c574950c5724f2c4fa9f0bbf1cc1f4978ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/util/AppendOnlyLinkedArrayList.java:110-126 | src/main/java/io/reactivex/rxjava4/internal/util/AppendOnlyLinkedArrayList.java:137-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/AppendOnlyLinkedArrayList.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e0ed283a43789be1cd8a72b366c725a0a0ea8ffbfc20c1ebc66663dff3b667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/observers/TestObserver.java:111-127 | src/main/java/io/reactivex/rxjava4/subscribers/TestSubscriber.java:166-181 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/observers/TestObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subscribers/TestSubscriber.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/TestObserver.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae1d031c20487074f81ba0d8c60ccb596b2b3a20224383ebf37e11e49501394"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 15): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableCache.java:114-129 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:198-212 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:189-201 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java:263-277 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java:142-157 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java:193-207 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservablePublish.java:230-244 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java:92-106 | src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java:289-303 | src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:423-436 | src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java:276-290 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:365-378 | src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java:183-198 | src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java:233-248 | src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java:202-217 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060inner\u0060 to \u0060InnerCompletableCache\u0060 in one and \u0060InnerSubscriber\u003CT, U\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableCache.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc6480e17a3d380a8f04c194e69809919599f20ffa9981e1576a38e246e4c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:293-308 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:327-342 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:295-310 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:249-264 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:230-245 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bdbf24e72bfb79bdd9bdeac49bd6a23710c365840b1c90d5f0a9c7deb0136d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableOnErrorComplete.java:56-71 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnErrorComplete.java:75-90 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeOnErrorComplete.java:73-88 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableOnErrorComplete.java:74-89 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableOnErrorComplete.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d005d895260f105e3b52ec076d99b297aed3db60fa7433f84ff9c59d1aad6e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java:264-279 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java:259-274 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java:207-222 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java:202-217 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c928ae36c562f993ef5cd95665bededed220b2d07f9d09786d2289c4605fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java:198-213 | src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:553-567 | src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java:184-199 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:542-556 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ps\u0060 to \u0060PublishSubscription\u003CT\u003E\u0060 in one and \u0060PublishDisposable\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"639fbabee93bc5793769d6e7e3be598c81299a751e06058a7809cad4e1114237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/core/Flowable.java:3230-3245 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2865-2880 | src/main/java/io/reactivex/rxjava4/core/Streamable.java:532-547 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":3230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ba3aefcb9fd8d0c84dc45b3858c99dc013b21eef510e367f522ada09b9519e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAll.java:58-72 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAllSingle.java:66-80 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeWhile.java:68-83 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAll.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeWhile.java\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAll.java:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAll.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"31562a4d0e5ea3c7004642ad1ad7f6fa812a03a62794e6367fc9eb892c4dcbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java:130-145 | src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java:134-149 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d4ffaa745b6a4fa8ba0e32fc5af68a05d1d35ce8f5f0ca6d4de5fb53628f4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java:220-235 | src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java:291-306 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74765e90efb1dbbf17e05f466b68c33f8f407e2a8e4abe9cf9e4e1aa7d7aabf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeMapOptional.java:83-98 | src/main/java/io/reactivex/rxjava4/internal/jdk8/SingleMapOptional.java:83-98 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeMapOptional.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/SingleMapOptional.java\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeMapOptional.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beb2af44fa9ee161218519e4477277259a50207e622dcd9fd94f136f82f8098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java:128-143 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollectorSingle.java:129-144 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollectorSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"843e5d7fd0868154ff996a3fe897ee3e30f4bb4c64f44a239c3fec38ec63d720"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableLatest.java:80-95 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableLatest.java:80-95 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableLatest.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd93d73f80bd6a066e88c6eeb43b59ddc2606ed8c2d1acfc95a910f2778dfa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAll.java:66-80 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeWhile.java:59-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAll.java:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAll.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"83541cfd9a65490651676f9699a4d0da4fba50074944e6e0885d9c5d6a9f8972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:274-289 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:462-477 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:274\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"26107737a65cc4de97b2bfa84a0071a14167d2b3cbc1b62b58aad0642cdb5410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromRunnable.java:40-55 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromRunnable.java:38-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromRunnable.java:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromRunnable.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd473f7cd47c436460b3674c866c95d447671bac39cfb4757d57002b3d9cc7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:389-406 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableObserveOn.java:190-205 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java:389\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOn.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95e1739b807e7e60cbb0b582aed6bbf1fc9bffe66e7dad09891f23553a94973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduce.java:75-90 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduceMaybe.java:102-116 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduce.java:75\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduce.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a13970b665076c597cb75df0a5aaac74db9dd555d90dd40837d560f61e9e28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:929-944 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:770-785 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf4a3c442998394600b39b5cc264b56db2ccb6c0a8825a6a269b014f758d0e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java:120-135 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java:71-85 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a4d1a75ab4cb6c66fdedc67417cc9effb295254c7a8d352aa4e6695a9108e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFilter.java:78-93 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFilterSingle.java:79-94 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFilter.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFilterSingle.java\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFilter.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ff62a50d4039166204f54102fb747ea8ba3eaf6f46939c400fb23e2805c70a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java:44-59 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipIterable.java:43-58 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipIterable.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java:44\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060MaybeObserver\u003C? super R\u003E\u0060 in one and \u0060SingleObserver\u003C? super R\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"352404266a52e539632c5023135902ea71665eedd573b24550cbc8abb5868e13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:413-428 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:434-449 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 235 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:413\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"838af69643ac37c349308e6dfcccaa704872374b4b344b9ed98ad8428fc140b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:437-452 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:460-475 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 235 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:437\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7d09c0ea73844175573ecdec14aa7f08b3abdfdd058646d1dd1f5d2a717ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapEager.java:250-265 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapEager.java:299-314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapEager.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e140f1b93d2f77c194c1d34be68a234b4089a9870aa11cef72f3a6d5d2e724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:216-231 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:386-401 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:216\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a370cb4ebd0288573d440e2c79757352fff1ed86100bbdf0386b545fd562f20c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:280-295 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:436-451 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:280\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9994193d543ccfaf19c6aba877ffa5d63cf73679317294dbc8b588c4f3d7983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMap.java:110-125 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMap.java:183-198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMap.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a04fecb99c7b4108991e488d335156d0d3e35777732ae843cb057e4dda5b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java:90-105 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java:124-139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java:140\u0060 calls \u0060drain\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java:106\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bfa98736daabc02d077edf829cdb7a44eff2f57fb7c4de2b626655fda39877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/SchedulerToExecutorService.java:235-251 | src/main/java/io/reactivex/rxjava4/internal/schedulers/SchedulerToExecutorService.java:315-331 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/SchedulerToExecutorService.java:235\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/SchedulerToExecutorService.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e3b1de0983f07d94e6fa8c903d37a2d39cccb6222701d77160a7b6e52cee80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriber.java:58-73 | src/main/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableSubscriber.java:58-73 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriber.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableSubscriber.java\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriber.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a658f66c2cf1d4eeb3163e62db2d0147f4db3b2de725e5f16041efc49e6cc42a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/observers/TestObserver.java:131-146 | src/main/java/io/reactivex/rxjava4/subscribers/TestSubscriber.java:185-200 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/observers/TestObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subscribers/TestSubscriber.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/TestObserver.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fef23656e5d8cf6211b88a1929d5bb26be0d46b839df0d7a106fe91052ca6f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/observers/TestObserver.java:150-165 | src/main/java/io/reactivex/rxjava4/subscribers/TestSubscriber.java:204-218 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/observers/TestObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subscribers/TestSubscriber.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/TestObserver.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18617d292d074a4d06ce69eaab612bf5d3bdb2c1c7e9ed469384bdb87c59442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java:238-253 | src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java:225-240 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java:238\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2c9da6a97754a45dc671e2e7dbe4ab8660c88451839cdc59ed6dce0e05a781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:243-258 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:219-234 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:243\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe98e7b8a564476afce6d10ab89f44836872fa45f41799a3acb8933312adcb85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java:146-159 | src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java:134-149 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java:146\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd3adcd588aa2163109686ff9c337ede93df093330b46caeefd1413287ee243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 16): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableCache.java:113-127 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:197-210 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:188-199 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java:262-275 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java:141-155 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java:192-205 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservablePublish.java:229-242 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java:91-104 | src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java:288-301 | src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:422-434 | src/main/java/io/reactivex/rxjava4/processors/MulticastProcessor.java:415-428 | src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java:275-288 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:364-376 | src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java:182-196 | src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java:232-246 | src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java:201-215 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableCache.java:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060inner\u0060 to \u0060InnerCompletableCache\u0060 in one and \u0060InnerSubscriber\u003CT, U\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableCache.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ccb67eff7b601d3028441db9044ba797bd1ea11770614a15ee3ea3efa8eda5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromAction.java:47-61 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromRunnable.java:47-61 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromAction.java:44-58 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromRunnable.java:44-58 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromAction.java:45-59 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromRunnable.java:45-59 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromAction.java:47\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060MaybeObserver\u003C? super T\u003E\u0060 in one and \u0060Observer\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromAction.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b597eb1ab91c7a41c37b88ddc4eb47e41fe1d801b6c8fae89c58e8ff32c3e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:193-207 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:193-207 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:167-181 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:169-183 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:193\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4ca35fafef0d0ba414102a0ba64bac046678d2cbb6c9b4e06b65ed7f3dab49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java:114-128 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java:204-218 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDistinctUntilChanged.java:98-112 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java:130\u0060 calls \u0060request\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDistinctUntilChanged.java:113\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinctUntilChanged.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced9e4b6558bdcd7c662039092d6452b085e8ba947a15f0ee27de650c5ee39aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:179-191 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java:176-188 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableLastAsSingle.java:86-100 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:179\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec021e4f33cbc39af548427e6da6b3ab8a3f87fdbab1a2b80be8bafac6aecc20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java:202-216 | src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java:271-285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java:202\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3a263025c829e5e933882bcbb06fc84a50d0001eb047aaa4bd4280f04e1e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/FutureMultiObserver.java:49-63 | src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java:50-64 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/observers/FutureMultiObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/FutureMultiObserver.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99583c1076b56bfbc10e3c805eba7ec6e0a91049367642def978b50770d4ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:243-257 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:445-459 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:243\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3ec575ea6edf745701f45e840be345595aa9685a40a12744eb8662ef0b2c9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDematerialize.java:65-79 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDematerialize.java:74-88 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDematerialize.java:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDematerialize.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e70f160bb60dd004f26860f019e140633aa177ea015bf04db2767c6b987beef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java:242-256 | src/main/java/io/reactivex/rxjava4/processors/MulticastProcessor.java:395-409 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90655aa8e55047f2324820b21d6bd158ef474900f25e8ff75ff6d24136b6016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapBiSelector.java:138-152 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapBiSelector.java:136-150 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapBiSelector.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b2032be6cb1eb20b59f52c051b81d63ef51b16618603bc181608e584b3a7a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeUsing.java:163-177 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeUsing.java:214-228 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeUsing.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d44b3a57ec5e858aaf756108413822189bbc7fcec95809b83e999e63a2fbac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java:66-80 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipIterable.java:65-79 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipIterable.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java:66\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060ZipCoordinator\u0060 names \u0060io.reactivex.rxjava4.internal.operators.maybe.MaybeZipArray.ZipCoordinator\u0060 in one and \u0060io.reactivex.rxjava4.internal.operators.single.SingleZipArray.ZipCoordinator\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e9d363202107214f062318b10c5d6e12c380ad6b92d9b94ab4579da7802d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:205-219 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java:199-213 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:205\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"24646f095b40ae6c21acf000c0548918fbd3afc4ef8d594f3ae2cd17bcc21c54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAny.java:59-73 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAnySingle.java:68-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAny.java:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAny.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"658b0a01ce4333592e49a258dd2061a8d6f8f4539f14c09819caa8a841e6b217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryBiPredicate.java:97-111 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryPredicate.java:108-122 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryBiPredicate.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"76816c1cfad00954649e2c340f478614dff7d7ef5fe58e01362c23ef55df89ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java:124-138 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRetry.java:126-140 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRetry.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java:124\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"238c09d6b2dbc21de71781d32d5e4f913fd19af823968d9f84d744163c8f7e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 6): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:184-195 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java:181-192 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java:93-105 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableLastAsSingle.java:91-104 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java:77-88 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableSkip.java:73-84 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:184\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0193c133747de09102786ac42bddec737d65290a77f5c5264022cbd36408aa1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:259-272 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:461-474 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:292-305 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:480-493 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:259\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:494\u0060 calls \u0060dispose\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:273\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5fdb42b8f4d25e212014c0d8adfe3bb00280499c725894992ccf7bc67f384c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java:123-136 | src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java:207-220 | src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java:113-126 | src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java:196-209 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"576ba70f5fe3732dbb7ea8659ef086b09507a5db936a8cf832422553c66456d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/observers/DisposableLambdaObserver.java:41-54 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnLifecycle.java:68-81 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoOnLifecycle.java:70-83 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnLifecycle.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoOnLifecycle.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/DisposableLambdaObserver.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f825b15c7b2a385feae9a836aa410aa414eea293de035159d1388080bd0c5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/observers/FutureMultiObserver.java:77-90 | src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java:78-91 | src/main/java/io/reactivex/rxjava4/internal/subscribers/FutureSubscriber.java:79-92 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/observers/FutureMultiObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/FutureMultiObserver.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed5ec109ab4453592554c7f020cf5eb6bc439c184d97c14a3da35884073f1a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java:153-166 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:186-200 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:549-563 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java:153\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"968232aa0631c2e6b9438403553bbd3f7d40dd4ed7b3ab51815c2242acfdb126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:308-321 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:276-289 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:264-277 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f04ced865c85596b814228cf27b9f8397876b453f69533389bf6eb8ce656a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ScalarXMapZHelper.java:56-69 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ScalarXMapZHelper.java:96-109 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ScalarXMapZHelper.java:136-149 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ScalarXMapZHelper.java:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060mapper\u0060 to \u0060Function\u003C? super T, ? extends CompletableSource\u003E\u0060 in one and \u0060Function\u003C? super T, ? extends MaybeSource\u003C? extends R\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ScalarXMapZHelper.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9127aa6e0c2b665a3025a17afb6c5893e92d2398e05faf169e4cd13a008fea14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:780-793 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1005-1018 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1291-1304 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"313fac29ab774ac27d2c69f8f3d9b14de2e74c8af31a9c1cc9d0eed203590295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableMapOptional.java:101-114 | src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableMapOptional.java:165-178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableMapOptional.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"67855a5bf7a1220d9101bb0b1d380266e0fcb5e454e9f0d021095bc81c115e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java:158-171 | src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsObservable.java:148-161 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsObservable.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10ab46552bb88a14e18009081c44c04cf843c60197f8ad8cdf57325d22f3462"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromAction.java:37-50 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromRunnable.java:36-49 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromAction.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromRunnable.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromAction.java:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromAction.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e9596a45fbca186ec6f6b05a5fb8942009e274ec19b26b5cb810274c948fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:222-235 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:222-235 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2f86e3e151963c39b2d64262df218e6321dc4dc8e29cced907194e5078ac05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:234-247 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:295-308 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2f977faf66e05536615ce40f40546997d837256c37d64a550ffdcdcc526015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableLastSingle.java:100-113 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableLastSingle.java:96-108 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableLastSingle.java:100\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableLastSingle.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cef4e6b62b7321772af75123479d066015a40a17d1731037a568d6b40927ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java:131-143 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java:129-142 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eae573c577b11d97ef1f4ce7b3b5f545e0af5f80e7dd74fdccee2cfe3bd1afd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:759-772 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:643-656 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"d796d889cb0e4e6704dd955861ed105b7ef2a203d3339834972c7aeed6d0b602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryBiPredicate.java:78-91 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryBiPredicate.java:73-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryBiPredicate.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b967d4cd9ea894e13e8bd00d32d0f35ecb4df118a0c907f40f90fa122c54aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java:177-190 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleLatest.java:162-175 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleLatest.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2477317ddfa93a4badedab3f41306a19a72be02d8dcba6c95ef2e50623d9abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapCompletable.java:82-95 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapCompletable.java:82-95 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapCompletable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapCompletable.java\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapCompletable.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b48cda61832812ea6c68582fa4203c2d17e55c6e5c05cb606c69ba1f08e7448"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/MaybeFlatMapObservable.java:101-114 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/SingleFlatMapObservable.java:101-114 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/MaybeFlatMapObservable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/SingleFlatMapObservable.java\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/MaybeFlatMapObservable.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40ce98838bab3d9b40d2bdd39b90a958115b65608a0a5f636730ea3264da399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferExactBoundary.java:148-161 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:538-552 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferExactBoundary.java:148\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferExactBoundary.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff29b122d5a72aa4a8c5b209ea186e179cf40b3a786c9583041dc96e93bea978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java:92-105 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java:92-105 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c661042ad54ec00ce54184b3047afe7279c5b16715eb475c1a2c8dac179845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFromCallable.java:44-57 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFromSupplier.java:49-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFromCallable.java:44\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFromCallable.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3833f50c161303c022555e98dbf1ef36a330881c1745e810068d3e8938ef7abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:140-153 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java:137-150 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c13f3ff882f5a4ab904431c34127f5c21c5792ac703b6594da4403d6f2d9a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java:92-105 | src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java:83-96 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java:92\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"138f8c29ca15a31373475aafa747291fb14454690c075db8857a47208cc8fbdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromAction.java:37-49 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromCallable.java:37-49 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromRunnable.java:36-48 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromSupplier.java:40-52 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromAction.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromRunnable.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromAction.java:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromAction.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"be238df03559343959ddcaf22a8d3d4a482294c83aa5f50516634e8313ba4574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableInterval.java:47-59 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableIntervalRange.java:51-63 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableInterval.java:42-54 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableIntervalRange.java:46-58 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableInterval.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableIntervalRange.java\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableInterval.java:47\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableInterval.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"832a0f5ab7a4aa16fc53dec3e1f35f0e3b0e7f863e1d4d71818b2ebd2674f5de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableAmb.java:47-59 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeAmb.java:53-65 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java:49-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableAmb.java:47\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060CompletableObserver\u0060 in one and \u0060MaybeObserver\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableAmb.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"801f491113b8c150c87e9f29a471d4123e2d7e0fdc0d9debf71cf29f2de93bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java:94-106 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java:94-106 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableObservable.java:88-100 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 155 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44df603afe0dc63c0d7f1f8d470e3630059834d8b5d3efc31697d0aa6ca501a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java:136-148 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java:134-146 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java:136\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00dbb36bc5298021be1cd3e3c0885cfb89accb224d34e8cdeb75e72a3563773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java:140-152 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollectorSingle.java:135-147 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollectorSingle.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java:140\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc63fa054cfe7ffddf199b729c7dee9307521a5699679d9f138392fdb07d35f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java:147-159 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFromStream.java:135-147 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFromStream.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"82414a05e1859fe9fa2b0524c25c94c9d9a5c0c18524a0bb0eb6e48f84dbccc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/BlockingMultiObserver.java:83-95 | src/main/java/io/reactivex/rxjava4/internal/observers/BlockingMultiObserver.java:106-118 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/BlockingMultiObserver.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"361c3ecf5b7e59959e1175055771cf9d24ca5b2a8cbf5257dc2233521f3fe156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableCreate.java:63-75 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCreate.java:117-129 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableCreate.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4df3b6872c54ef682079bac85a62c4664551aa7e8660fb63dfa00dd9e98e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:147-159 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:139-151 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:147\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb616176c9916aee43e9a0556829a864dc5f88049dbde55ca254c0e1d3c4e0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:321-333 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java:311-323 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b45e3b613388e7ab1dddb4b67fe9ac96627899bc04efe47374bcd4bf2bf2d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java:92-104 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDebounceTimed.java:83-95 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53c205e3b5d4d20e0f2b2a22cf405ce967cb85b629178a8e0b3012a1b856d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java:92-104 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletableCompletable.java:100-112 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletableCompletable.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8559a6e3549ffa2586da1f6684e078f8bb10a853b45858edeee72f513e1da87a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:101-113 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:101-113 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1def5565ddeb13d3e2bcd92dfc28bb90a6900bec26a3b7fb2b9467d1c1691a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:153-165 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:237-249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:153\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"827dfe36e9c78b34062a27335f8a0923a37fa2ab76a594e85b16889f89ca644f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGenerate.java:167-179 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGenerate.java:140-152 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGenerate.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGenerate.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGenerate.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cefd6b0159a9b91c0711a9df9e103f9f22aad52c90bdb5a86dcac9ba72f571c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java:116-128 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java:114-126 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3190d7b0ede2f8d3aeb2c81e602b22aed96a20bcfd37148c1176dcc3b947f490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapBiSelector.java:88-100 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapBiSelector.java:91-103 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapBiSelector.java:88\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapBiSelector.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0931a5f0960a029693d8401fb49ed0ebdc0df4d2287de92203bbe044d60fb3af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:208-220 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:218-230 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 235 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:208\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3df90a0e4e2000024c766de8d24beca15b237b86b2c35d5d9d3e4bc3a5a51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapCompletable.java:112-124 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapCompletableCompletable.java:125-137 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapCompletable.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"857162caccfec6c80501f9c5589e8c6e2aeeb0d9042cd6f6d1074ae0704030ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java:49-61 | src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java:164-175 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2604d2654d9baf5167588effe0b33ed30ca1003987e71cd7af535a022c8896c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java:190-202 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java:222-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"976ebb67d2e414a105bd4e1066c1eec873bd6c86b6738c2d8157993f60612ce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java:186-198 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java:223-235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java:201\u0060 calls \u0060enumerableReady\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java:236\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableMapOptional.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f216a0205e8845a8dff748add43fd8f24afa1a6fbf1b5b02402a0eac88688257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java:71-83 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRetry.java:73-85 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRetry.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0820d44abeaa15592e6b78f291e7f5b78db1da5fca7dd531f7f1c9aaf8bccce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/util/BackpressureHelper.java:113-125 | src/main/java/io/reactivex/rxjava4/internal/util/BackpressureHelper.java:140-152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/util/BackpressureHelper.java:113\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/BackpressureHelper.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d827d305544ce4e42c8c063a06aeca8fa962033097c493a11f27473f41460f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1218-1230 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1234-1246 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1218\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8dd1a5d58907e3e7f0b5ec37226928656277f505e445832a6e45d2090f9cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1042-1054 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1327-1339 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1042\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da6b547a4620b4dfbc04bcf26cbe5290b32ea9a624adab4729a1971d7817858"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelConcatMap.java:59-70 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFlatMap.java:61-72 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFlatMapIterable.java:54-65 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelConcatMap.java:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelConcatMap.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"994084013d788651794a7eb61ad646d793936f838091f0d07d77fda4a8b2c487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:3189-3200 | src/main/java/io/reactivex/rxjava4/core/Streamable.java:507-518 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":3189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2dc0597fa05e4e9994476733b1061c92092e20873e53f1d0d8efb07a54b271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:4720-4731 | src/main/java/io/reactivex/rxjava4/core/Observable.java:4292-4303 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":4720}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72a62c74835338bb760a507c873a35d16e4a7cbc0e8792878e4a1d0d2c2a093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:13361-13372 | src/main/java/io/reactivex/rxjava4/core/Observable.java:11030-11043 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:13361\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":13361}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cd2b8e665415fd8801a984559c3c5d256619f7cc3d4dcde3d45f487d6239f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableMerge.java:107-118 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableMerge.java:134-144 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableMerge.java:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableMerge.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c15ba019d894e9a5cf51ec436e55246f59551cf08f8eb1d5e1352e0cf659f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableOnErrorReturn.java:81-92 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeOnErrorReturn.java:83-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableOnErrorReturn.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"867485206f374b111668bd06ba178ea772b167df7e483bf4d0468f78346a50b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java:150-161 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableNext.java:150-161 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableNext.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java:150\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a38592fcb354cf72aee48e5d630c7560b723206630bc3894007e8746793181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:106-117 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCreate.java:167-178 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCreate.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java:106\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCreate.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"549aaf4631f44a10a0267ce11efd738f4e948654b7e07d1ab695a0e92e3f5404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSamplePublisher.java:126-137 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSampleTimed.java:137-148 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSamplePublisher.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c809a1e5a813df51a002add42bdfa591416c56fa6b71335d84b870b8bba9d53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:377-388 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:352-363 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8848ac0110363533c3a890fb9ac6ea67297d793cb74cdf52f93136031f5431f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:606-617 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:554-565 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:606\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6df840b1534af3fdb3f5436aad85292893b98fe308ff61d2b6c5ce562b1b0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapNotification.java:106-117 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapNotification.java:101-112 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapNotification.java:106\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapNotification.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0ce183114c788f185a2c12cb495132b7b02e7abe190c11ff7f19b1685b6338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapNotification.java:123-134 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapNotification.java:118-129 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapNotification.java:123\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapNotification.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6979e57007b6c876bd1d140cd7406ae40dbdcf5c28d1e80a8d5dbe3470885a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCollect.java:38-49 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCollectSingle.java:42-52 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCollect.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCollectSingle.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060t\u0060 to \u0060Observer\u003C? super U\u003E\u0060 in one and \u0060SingleObserver\u003C? super U\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCollect.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7170074fa814c971ef59e96b06464bb7dec8746d7f5cb85a0ea37a7a770dd46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:61-70 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:58-69 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:61\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"631de3dc3f7af07bbf976585a9853942a535ed7ac67e8fb07e169e750778ba0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:241-252 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:285-296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:241\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c0c2c3a95c0c8c0185d641099b22bb19f09886de879f66c9a5256acfc7d7d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:112-123 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java:109-120 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6b27d5ca98a9572a553878aa21cad92a6e0c88e58e31932f49ad8056bd557e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:219-230 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java:210-221 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:219\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51db757ad45b944038360935b4cebf248e262d3dc106a4b38116dbe42408ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java:111-122 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java:139-150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java:111\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f0f583ea8aa6c3c33691130365703c96e14455de0f4526a16ef04ee7b26209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableZip.java:132-142 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableZip.java:154-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableZip.java:132\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableZip.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf8d01efa5208e522f6d98549d3e27c2bd0eaf31f94f471794262b305870f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java:278-289 | src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java:404-415 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java:278\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java:416\u0060 calls \u0060remove\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java:290\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/BlockingCurrentThreadScheduler.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c9586f8e74a7856eb3768bfcc63ddd74dd6bbb28817d3cc3b25916faa7b55b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriber.java:134-145 | src/main/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableSubscriber.java:134-145 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriber.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableSubscriber.java\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriber.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"53443242de0f5da114ac21497f181a02b237892106833ecf5861cc5845380d5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/util/QueueDrainHelper.java:103-114 | src/main/java/io/reactivex/rxjava4/internal/util/QueueDrainHelper.java:174-185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/util/QueueDrainHelper.java:103\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060qd\u0060 to \u0060QueueDrain\u003CT, U\u003E\u0060 in one and \u0060ObservableQueueDrain\u003CT, U\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/QueueDrainHelper.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"662791131fb91c0811ba8f63c4b54a608e02566fd978cf677c282612cfde1c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/MulticastProcessor.java:519-530 | src/main/java/io/reactivex/rxjava4/processors/MulticastProcessor.java:563-574 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/processors/MulticastProcessor.java:519\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/MulticastProcessor.java"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"788e9e80263e259e5d4f6032a4e0e6b56b1cc9eb29e5a0fd2d6202fe920eca4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java:53-64 | src/main/java/io/reactivex/rxjava4/subjects/SerializedSubject.java:54-65 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/SerializedSubject.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java:53\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/SerializedProcessor.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32aef32a10c75f8d39dbb9a3dbc00ef06cba67bbb529bd136d9ca12370aa572"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java:51-61 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilter.java:43-53 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilterTry.java:49-59 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMap.java:47-57 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMapTry.java:52-62 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelPeek.java:69-79 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilterTry.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java:51\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060subscribers\u0060 to \u0060Subscriber\u003C? super T\u003E[]\u0060 in one and \u0060Subscriber\u003C? super R\u003E[]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"655c51cca5e7e1d66f39b475b2fbac8fd3d0e4f714067cd216d64d81604b02a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java:45-55 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java:66-76 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipArray.java:45-55 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipIterable.java:65-75 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipArray.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060ZipCoordinator\u0060 names \u0060io.reactivex.rxjava4.internal.operators.maybe.MaybeZipArray.ZipCoordinator\u0060 in one and \u0060io.reactivex.rxjava4.internal.operators.single.SingleZipArray.ZipCoordinator\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea247b5a828e56b0c1a98de593bffdd26a2c31375149ed0d415da58711c2f0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java:59-69 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java:52-62 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollectorSingle.java:56-66 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollectorSingle.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060SingleObserver\u003C? super R\u003E\u0060 in one and \u0060Observer\u003C? super R\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94f0d5e423105ab3d01935c96105087c33a7ab268fc99c011cb68f7a6868e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:110-117 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:112-119 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java:117-127 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"939b06a270f7f1aef0cd1cca1dd876556415b7e4078c63bf4187859c177b2910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/subscribers/BoundedSubscriber.java:91-101 | src/main/java/io/reactivex/rxjava4/internal/subscribers/DisposableAutoReleaseSubscriber.java:95-105 | src/main/java/io/reactivex/rxjava4/internal/subscribers/LambdaSubscriber.java:78-88 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/BoundedSubscriber.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/LambdaSubscriber.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/DisposableAutoReleaseSubscriber.java:106\u0060 calls \u0060removeSelf\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/BoundedSubscriber.java:102\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscribers/BoundedSubscriber.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c53df75b586415677bc455a6b1094c8d149fe618ae8844502b037dd38083a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1220-1230 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:950-960 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1236-1246 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1220\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abf86d994dfdf57c7acbbc7c7555538ab3243eeabc553759d6681937cb64991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java:95-105 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java:94-104 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java:95\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sources\u0060 to \u0060Publisher\u003C? extends T\u003E[]\u0060 in one and \u0060ObservableSource\u003C? extends T\u003E[]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eb73535899cbc81d482799f99bfc574be21a34dd5ec1e32c808ce94f1c2a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:608-618 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java:360-370 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:608\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java:371\u0060 calls \u0060request\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:619\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29bba42a29edb6dcdd3cc7f799d41ded683ce2d48dabb3d0d3c8e079e5268c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduceWithSingle.java:49-59 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReduceWithSingle.java:47-57 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduceWithSingle.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReduceWithSingle.java\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060ReduceSeedObserver\u0060 names \u0060io.reactivex.rxjava4.internal.operators.flowable.FlowableReduceSeedSingle.ReduceSeedObserver\u0060 in one and \u0060io.reactivex.rxjava4.internal.operators.observable.ObservableReduceSeedSingle.ReduceSeedObserver\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduceWithSingle.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"342bf8d09c77e275252eb07c0c4a676fbf4697a5a174e11d7e2f88369ef92795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScan.java:67-77 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableScan.java:76-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScan.java:67\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScan.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"955ec01440bb9ac3d147475bbd1dc02e3940267a74700bc508053aae2947eb91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:117-127 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqualSingle.java:118-128 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqualSingle.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ef337288cea64e91f0c2a00702c0e370168470d957e8a2fc9b31ca61e00211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:98-108 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:92-102 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"15238bfde5fc52f3fdc3f92cc1ceca8372ad3b7588c598b0db0e6b97e0789a17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:355-365 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:331-341 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060Subscriber\u003C? super Flowable\u003CT\u003E\u003E\u0060 in one and \u0060Observer\u003C? super Observable\u003CT\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"a962b05637f902067f43f6f2bcd9bd6f2094bc5c86cbcfb35b58cf7dab1cd694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:624-634 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:572-582 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:624\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:635\u0060 calls \u0060get\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:583\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"161d8ec16eea7fc75af08d6ca1cb0a6a2350384330b7b0bf5c4dcd7ba02e752d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:113-123 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:106-116 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7519d7b0142e150f69fa7f063c89599077447a6465d38ee8d41448453acbeb46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:113-123 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java:106-116 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a405717d6797bbd6063eab09bfd796620e7e96654c949b79f3f1a94feb7d9db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java:67-77 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java:74-84 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060Observer\u003C? super Boolean\u003E\u0060 in one and \u0060SingleObserver\u003C? super Boolean\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"903de98cfb898d3021d9ba73212e78e4638945835ec8f4af52734d577b620ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java:91-101 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java:98-108 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08873bda3de2c1e826f941223766f4c880186bc903f1cb8d49e21ed81fa6f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelCollect.java:51-61 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduce.java:50-60 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelCollect.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduce.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelCollect.java:51\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060subscribers\u0060 to \u0060Subscriber\u003C? super C\u003E[]\u0060 in one and \u0060Subscriber\u003C? super R\u003E[]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelCollect.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef21dabec6a51181696300ec31badc1ea481bfba7a5dabc20fdb566cd316c52c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:147-157 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:324-334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelJoin.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"59adbbe28690e95651f4c9ed1807c16cd7b0301d54fd37a958b71e0163941c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableForEach.java:59-69 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableForEach.java:101-111 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableForEach.java:59\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableForEach.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5855c22059acece483cebca759798cfb8eb035391ae963a8dfed3583da78a1ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java:222-232 | src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java:190-200 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java:222\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060Observer\u003C? super T\u003E\u0060 in one and \u0060MaybeObserver\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"624d2ad13d30bdc53e413cea6d7ff320e1190e1b09b957095832bcafc0babb67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java:49-59 | src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java:222-231 | src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java:146-155 | src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java:190-199 | src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java:134-145 | src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java:164-173 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060SingleObserver\u003C? super T\u003E\u0060 in one and \u0060Observer\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fcfa3bd2aef843bb04e2d5bbfe3e324d4c13746cc09c7f6f4eef93adce09b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java:50-59 | src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java:57-66 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java:50-59 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollectorSingle.java:54-63 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d427c8730b980d79454c1ae2500dc0c05ef4a724b6dd957d39d02f15a7e9ff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelFlatMapStream.java:54-63 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelConcatMap.java:61-70 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFlatMap.java:63-72 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFlatMapIterable.java:56-65 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelFlatMapStream.java:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelConcatMap.java:59\u0060 calls \u0060onSubscribe\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelFlatMapStream.java:53\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelFlatMapStream.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3fcd296f1509ad400822528a7c8e762d520b0d2d258661660b9f29ab0bcc22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java:48-57 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java:54-63 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMap.java:50-59 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMapTry.java:55-64 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMapTry.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMap.java:47\u0060 calls \u0060onSubscribe\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java:46\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ce27157fc021efbb470aeaa82aeac4d4f98646de978440e3025a903bb8b483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:113-119 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:115-121 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:197-205 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFromPublisher.java:120-129 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:121\u0060 calls \u0060subscribeActual\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:206\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dac5f57c1d626b06cd3d41d6d1c9670f78bc3b0170df5c33a1d969ba0a0be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:303-312 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:271-280 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:259-268 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:240-249 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:303\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7685d26cc4e1d76e6291eef40694ce98331219a7607aa052bcd74d432653f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:133-142 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:120-129 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:131-140 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:116-125 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:133\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060resultSelector\u0060 to \u0060BiFunction\u003C? super TLeft, ? super Flowable\u003CTRight\u003E, ? extends R\u003E\u0060 in one and \u0060BiFunction\u003C? super TLeft, ? super TRight, ? extends R\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:132\u0060 calls \u0060AtomicLong\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:130\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb868a4447c0c787f0b596d0cccd28e364bd693983fc3d965e1ee8a274bdce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java:48-57 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java:72-81 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipIterable.java:47-56 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipIterable.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060MaybeObserver\u003C? super R\u003E\u0060 in one and \u0060Observer\u003C? super R\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipIterable.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c84316b9e6dd3d1374a08201de05b28a4ec0deff2543cc9c7387637412c62c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:160-169 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:211-220 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:162-171 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:158\u0060 calls \u0060onNext\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:210\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b90c4f2464d3d880934ee5c14f5b44a6a0fed117b4919fc9658894b70aa8ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Streamable.java:420-429 | src/main/java/io/reactivex/rxjava4/core/Streamable.java:458-467 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Streamable.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1a66e6c4f2719722568ad1b94e18a4bcd731b0ca519587c6522f0ef9edecdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFlatMapStream.java:58-67 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFlatMapStream.java:50-59 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFlatMapStream.java:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFlatMapStream.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e45eda668b01bead9de5b57f79f3eebe3503c65223b3709f9a13c96bd3a2923"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoFinally.java:116-125 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoFinally.java:227-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoFinally.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdaf3631e00b14c783358d2b67c62b20bcfec1183e1900911475960a0e6de2e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:88-97 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:88-97 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060mapper\u0060 to \u0060Function\u003C? super T, ? extends MaybeSource\u003C? extends R\u003E\u003E\u0060 in one and \u0060Function\u003C? super T, ? extends SingleSource\u003C? extends R\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2eac0e47f5c59a0ab71655a135245b422662d4db7c7aac2643d96309f78fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:210-219 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:210-219 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb5bc1714829c733cd72346b14d122b1b3406d2182634a6695ee1e56516146d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:62-71 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:62-71 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:62\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ae388062027f1b2559b8119588a95e81fa705d768a5ede3901176570ace092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:514-523 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:473-482 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:514\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060window\u0060 to \u0060UnicastProcessor\u003CT\u003E\u0060 in one and \u0060UnicastSubject\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbee9d198f6f3007ed1f770f9ba63c4083802cc461c4348fbb5f214493d6ceca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableToList.java:37-46 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableToListSingle.java:48-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060t\u0060 to \u0060Observer\u003C? super U\u003E\u0060 in one and \u0060SingleObserver\u003C? super U\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableToList.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0328f9ea8db262c09f6f93c4bdb6088d13d845cd0baec7c8931b924db1d733f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/NewThreadWorker.java:99-108 | src/main/java/io/reactivex/rxjava4/internal/schedulers/SingleScheduler.java:141-150 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/NewThreadWorker.java:99\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/NewThreadWorker.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b83ca3e61c857c8554a1c8336249293008638f96509df1839766d0efedabbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java:235-244 | src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java:148-159 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java:235\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"121cf85af98812f6d8e7e6dbdf4f48553f9d0db951c25e7bae3255a5a8bf800c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java:47-55 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java:53-61 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java:53-61 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilter.java:45-53 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilterTry.java:51-59 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMap.java:49-57 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMapTry.java:54-62 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060subscribers\u0060 to \u0060Subscriber\u003C? super R\u003E[]\u0060 in one and \u0060Subscriber\u003C? super T\u003E[]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java:51\u0060 calls \u0060onSubscribe\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java:46\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2207a89385c27d6c445411cf8ad26cf73d886727250b8a61c457386dcdf57c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:92-99 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:319-327 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:94-101 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:333-341 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 235 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"07581b85a2198d7bf230fa76150bb05dd111dfa4b1395b23bc71c65e79941fe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/core/Flowable.java:6254-6262 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:8275-8283 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:13601-13609 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060StandardBufferedConfig\u0060 in one and \u0060StandardConcurrentBufferedConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":6254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2116106ff60f1a8866103c66af40fdba787bfd9d95d86f6be1b2ff525bce9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/core/Observable.java:5587-5595 | src/main/java/io/reactivex/rxjava4/core/Observable.java:7311-7319 | src/main/java/io/reactivex/rxjava4/core/Observable.java:11203-11211 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060StandardBufferedConfig\u0060 in one and \u0060StandardConcurrentBufferedConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Observable.java"},"region":{"startLine":5587}}}],"partialFingerprints":{"codehealthFindingId/v1":"703af197fc7e0565bace35bb78b383fcc15118d23ded85e73d192e1bf684bccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatten.java:89-97 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/MaybeFlatMapObservable.java:103-111 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/SingleFlatMapObservable.java:103-111 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/MaybeFlatMapObservable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/SingleFlatMapObservable.java\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatten.java:89\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatten.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e701943752f6ca10f653c2e2ac81072eb973a4254985624b538f9fe53aee8b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Maybe.java:274-282 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:1214-1222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3ae593c5bb82345d7c809b944e827ab64bfc857666d2e642b390053d817492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:127-135 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:211-219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1ac4db84aab4c156f705378fdd9a7c2abd838c4026e37373a4b465ed7dca5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java:167-175 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:276-284 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java:167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"822a131a2c5ab66d63f6a19fb015b9f92f173c794986b6db7776246093e5ba39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeatWhen.java:45-53 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryWhen.java:44-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeatWhen.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d432ab89d1117fdf28cf3f2f45c546e29faf7f82c40244e4b947f24e9fa94c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:232-240 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:222-230 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf6e3fec843751dfa374467a269019df33b23c3b47609b9173a3f213f3fcb12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:569-577 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:526-534 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cfacf1c8058f88716f6a2976d384e80a7731295f02242c4d14ff14e8ec0282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapSingle.java:86-94 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapMaybe.java:79-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapSingle.java:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapSingle.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb0e68ddeef20990cbdcd9929a7ae788e2b561b856ce7d42620bd5fd6052c7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:84-92 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:86-94 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060mapper\u0060 to \u0060Function\u003C? super T, ? extends MaybeSource\u003C? extends R\u003E\u003E\u0060 in one and \u0060Function\u003C? super T, ? extends SingleSource\u003C? extends R\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bd2c087ff831aa90b51c36752a5f1070ba836544c1114a0e56053bc7355c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:93-101 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java:88-96 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollector.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java:93\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableCollect.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e10eb62c6e9ac6bd60c078433fc11d04b7656c1431e0c00746b5e42d6956a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/subscribers/InnerQueuedSubscriber.java:63-71 | src/main/java/io/reactivex/rxjava4/processors/MulticastProcessor.java:263-271 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/InnerQueuedSubscriber.java:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscribers/InnerQueuedSubscriber.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c76dac549a7f1a8f72065a2d60fedc4b9ad59bc2f57b89edc84c9ebb465a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:207-214 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java:283-290 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:349-360 | src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java:311-318 | src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:442-449 | src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java:221-228 | src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:573-580 | src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java:298-305 | src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java:207-214 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 9 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:207\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f31faba80c761b2cff64da326f02e3a8a8d496ac2114c228abeeaff72ce9dc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java:164-171 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMap.java:206-213 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:338-349 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java:114-121 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:384-391 | src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java:204-212 | src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java:254-262 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:562-569 | src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java:223-231 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java:164\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"699007abb74d3c7ed35b02aaf8f197adfe9b1a2d177fec32d4f53498f5679892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): src/main/java/io/reactivex/rxjava4/core/Flowable.java:6253-6260 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:8274-8281 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:13600-13607 | src/main/java/io/reactivex/rxjava4/core/Observable.java:5586-5593 | src/main/java/io/reactivex/rxjava4/core/Observable.java:7310-7317 | src/main/java/io/reactivex/rxjava4/core/Observable.java:11202-11209 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:6253\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060StandardBufferedConfig\u0060 in one and \u0060StandardConcurrentBufferedConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":6253}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a88dfe30ff3b5a54eeb2d71bc5f619263ec0da14046f621e818abddab3f0c62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 6): src/main/java/io/reactivex/rxjava4/core/Observable.java:3562-3569 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3638-3644 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3717-3723 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3802-3808 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3892-3898 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3986-3992 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:3562\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060zipper\u0060 to \u0060Function4\u003C? super T1, ? super T2, ? super T3, ? super T4, ? extends R\u003E\u0060 in one and \u0060Function5\u003C? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Observable.java"},"region":{"startLine":3562}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f77b95b4d3d04978454e76524b895eb1f9f71ebd923503229d2f859554ffde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Completable.java:215-222 | src/main/java/io/reactivex/rxjava4/core/Completable.java:909-916 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060StandardBufferedConfig\u0060 in one and \u0060StandardConcurrentConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c335cc634e57217a693075cea7aa9e4a04d19588f1946d83765502cb0b7dda49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:1883-1890 | src/main/java/io/reactivex/rxjava4/core/Observable.java:13132-13139 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:1883\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d86206bcde536ff9d800e0eae67be6f8fe1f04567263f1284f2477a1778eb2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2598-2605 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2270-2277 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2598}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3945405560015d7992aa5e8fbaa70e85fe66da6dfc5953061d8d899b75b0c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Observable.java:778-783 | src/main/java/io/reactivex/rxjava4/core/Observable.java:856-863 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:778\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Observable.java"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e5a669f7b53fc67d746230417922ac21515965e1f29f4c22c6d8df621a0d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java:92-99 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java:92-99 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3610c46993631602ab0eefae51954cafde6f621969673c64ad2c0eb7f12a562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java:57-64 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableUsing.java:56-63 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableUsing.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"22da184907fdd04fe9afdcc74991e1f1d00300e22644e43dd8b6c159e206b96a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java:89-96 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java:89-96 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060closingIndicator\u0060 to \u0060Function\u003C? super B, ? extends Publisher\u003CV\u003E\u003E\u0060 in one and \u0060Function\u003C? super B, ? extends ObservableSource\u003CV\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33ef222d5a2d85e1ebc69cb71000b9016eab95b347e9d8831754d26b0fc5971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java:163-170 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java:154-161 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java:163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"16054da343ee3d994bc0c1286bc93c97d29e3dab06d7fad83fe1577af01d96ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java:133-140 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipArray.java:134-141 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipArray.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java:133\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a532a3ea2e0359c7367f65b90355ea661f983dd97ceea0511a822a7951e7970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/core/Flowable.java:4115-4121 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:4203-4209 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:4295-4301 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:4393-4399 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:4115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060zipper\u0060 to \u0060Function6\u003C? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? extends R\u003E\u0060 in one and \u0060Function7\u003C? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":4115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba5d2295d6bf0124f5abb4f7e5566ee43e3d343413b3aa19da2f0e244981363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2644-2650 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2313-2319 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:2644\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"78686e3dcac1c9c4c6f650b4aaee19080b3ef089062f2844c2d11aa87b4bd364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2693-2699 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2360-2366 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:2693\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bde726f8390f69d11b9f3421c82cf9b4d7b51c63ffbc4e4a52be0a4448c39bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2745-2751 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2410-2416 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:2745\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba5c36c48f24fd39202b8ce22087aa69251e5d3706664032ffc25829d8a3977"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2800-2806 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2463-2469 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:2800\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2800}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e31024bd883d8de14eeb5aa0fb2da57ce736c7e7069c419ad2d88bcf3944461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2859-2865 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2521-2527 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:2859\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:2905\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:2560\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2859}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6b27371cc973a8174b7582f79b32fb5f4da6702873803b5234efdf6d5ee317"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java:343-352 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java:525-531 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java:343\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java:533\u0060 calls \u0060drain\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java:353\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bb87fcad82a797a2f44475649eac95edabcc35f0bab2079bb6cb5ab9bbdbee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:171-177 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:171-177 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45784f6e13d068d5fc826c94f6f2044e432ac5d28e96417974cdc64b3bf669c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:275-281 | src/main/java/io/reactivex/rxjava4/internal/subscribers/InnerQueuedSubscriber.java:62-68 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:275\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6595786ac1e0ed92a3b526cc5f2e1f7df39d1881823333c2ce8440ffcd3df46c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java:71-77 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java:72-78 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1ab03b125773139c414856973a57e744b847e287557685458fbc0ab4d6868b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/NewThreadWorker.java:141-147 | src/main/java/io/reactivex/rxjava4/internal/schedulers/SingleScheduler.java:187-194 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/NewThreadWorker.java:141\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/NewThreadWorker.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0a4d180b38b8703c1108137dd63413ea3e1a7a208fce1972b020ee3e794521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2409-2414 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2097-2102 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c70e1dad858b38f59c9e1b17b9fb01195573b1f17c59b893c411597694e2b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Maybe.java:1799-1804 | src/main/java/io/reactivex/rxjava4/core/Single.java:1644-1649 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Single.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java:1799\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source1\u0060 to \u0060MaybeSource\u003C? extends T1\u003E\u0060 in one and \u0060SingleSource\u003C? extends T1\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fd0b02a9f5f770dbd3131a21015954fbee875a38da4f1323e7315c7b2c0a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Maybe.java:1852-1857 | src/main/java/io/reactivex/rxjava4/core/Single.java:1696-1701 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Single.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java:1852\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source1\u0060 to \u0060MaybeSource\u003C? extends T1\u003E\u0060 in one and \u0060SingleSource\u003C? extends T1\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":1852}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1782dc2448896e0c8a068b589a7a175b9a311a8423895c0120bc284b4595ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Maybe.java:1909-1914 | src/main/java/io/reactivex/rxjava4/core/Single.java:1752-1757 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Single.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java:1909\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source1\u0060 to \u0060MaybeSource\u003C? extends T1\u003E\u0060 in one and \u0060SingleSource\u003C? extends T1\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"978670416020dd91b469ac94bd49d7e4ddd7d73dd998b011160135ee2e5f1271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java:49-54 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java:61-66 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java:49\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3191127710b1ca7697bbe952d8b24c48958bac528c042753c1d4c82a033c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java:86-91 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCombineLatest.java:57-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"498c09eec651f225618fbb029497d66f4db87846d01ec032e436967e893543c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java:48-53 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableZip.java:57-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85bbf0aab9602c964359b38f452657f78272a753d990e2e9b00b8999ffcbab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java:48-52 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCombineLatest.java:84-88 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java:60-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"470b12d180ed4f568774d1153a69509aeb72616f6e38012da0a7d24b38c38224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java:47-51 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCombineLatest.java:55-59 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableZip.java:56-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c749227a4853184a850c9d086496b716103bb15bef6cc3356967761a869af354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:16793-16797 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:16844-16848 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060combiner\u0060 to \u0060Function4\u003C? super T, ? super T1, ? super T2, ? super T3, R\u003E\u0060 in one and \u0060Function5\u003C? super T, ? super T1, ? super T2, ? super T3, ? super T4, R\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":16793}}}],"partialFingerprints":{"codehealthFindingId/v1":"42813654b8e3850079214ee0969fb97a50f8c5737ffb0b1b7383792e3cb63286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:16844-16848 | src/main/java/io/reactivex/rxjava4/core/Observable.java:14087-14091 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source2\u0060 to \u0060Publisher\u003CT2\u003E\u0060 in one and \u0060ObservableSource\u003CT2\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":16844}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08851c1cbf1ac44f6b656a1e36cc5dbcafcadc7b7629458866f0dbd6c7df3ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Maybe.java:1973-1977 | src/main/java/io/reactivex/rxjava4/core/Single.java:1814-1818 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Single.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java:1973\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d23f0c299c731385897d83f3ad6eb658a0408a5243f81dac6c5661b848ed3f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Maybe.java:2040-2044 | src/main/java/io/reactivex/rxjava4/core/Single.java:1879-1883 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Single.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java:2040\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa611fd2f9053dcde28563fe88b05c0291125c2b8dfbf947b9369727aea82550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Maybe.java:2111-2115 | src/main/java/io/reactivex/rxjava4/core/Single.java:1950-1954 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Single.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java:2111\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":2111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b01851d26d685c2fb448412cbdfcb896d7113bac2db62c9b272949a93fc1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Observable.java:14039-14043 | src/main/java/io/reactivex/rxjava4/core/Observable.java:14087-14091 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060combiner\u0060 to \u0060Function4\u003C? super T, ? super T1, ? super T2, ? super T3, R\u003E\u0060 in one and \u0060Function5\u003C? super T, ? super T1, ? super T2, ? super T3, ? super T4, R\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Observable.java"},"region":{"startLine":14039}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa2ad147cbce8fb11ca41ce866dfd41ae972dc70011432dc2645de92fac39e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:181-207 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:172-198 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5aed47e67056ca1f04f11bfbe80b8b921e4609ffca3f9bc44bd26c09dbd560"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFirstStageSubscriber.java:33-58 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFirstStageObserver.java:31-51 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFirstStageSubscriber.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFirstStageObserver.java\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFirstStageSubscriber.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc866b2c65ef93b33d51bd6c3027ada45043263157fe7d8d10cd7982f8c12b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableLastStageSubscriber.java:33-61 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableLastStageObserver.java:31-54 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableLastStageSubscriber.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableLastStageObserver.java\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableLastStageSubscriber.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b279701e43171a1b4dc49c4fd656c50d40886b64ea508ecf0aa43202babb9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableSingleStageSubscriber.java:34-67 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableSingleStageObserver.java:32-60 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableSingleStageSubscriber.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableSingleStageObserver.java\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableSingleStageSubscriber.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78f6893183110560e429663b970fbe7b709068efa13fde0d2e7120381aac576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/SingleFlattenStreamAsFlowable.java:38-46 | src/main/java/io/reactivex/rxjava4/internal/jdk8/SingleFlattenStreamAsObservable.java:36-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: \u0060FlattenStreamMultiObserver\u0060 names \u0060io.reactivex.rxjava4.internal.jdk8.MaybeFlattenStreamAsFlowable.FlattenStreamMultiObserver\u0060 in one and \u0060io.reactivex.rxjava4.internal.jdk8.MaybeFlattenStreamAsObservable.FlattenStreamMultiObserver\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/SingleFlattenStreamAsFlowable.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"701f656654964ebd54b4dcfe21b0aaabe7571b84b2155ef35bfe576715fed398"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/SafeCompletableObserver.java:37-77 | src/main/java/io/reactivex/rxjava4/internal/observers/SafeMaybeObserver.java:38-90 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/observers/SafeCompletableObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/observers/SafeMaybeObserver.java\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060downstream\u0060 to \u0060CompletableObserver\u0060 in one and \u0060MaybeObserver\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/SafeCompletableObserver.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"368f0dc3f93d9bd056bbb30c60a1f08414f68e83e8eae0e92cf8cba44289f53e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/SafeMaybeObserver.java:38-90 | src/main/java/io/reactivex/rxjava4/internal/observers/SafeSingleObserver.java:38-78 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/observers/SafeMaybeObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/observers/SafeSingleObserver.java\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060downstream\u0060 to \u0060MaybeObserver\u003C? super T\u003E\u0060 in one and \u0060SingleObserver\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/SafeMaybeObserver.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a89ee8c2af1ecfbd53846b1037c90bc5e86a76332908b9d44543c6d7a6ddecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromCompletable.java:33-84 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromCompletable.java:30-83 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromCompletable.java:31-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromCompletable.java:33\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromCompletable.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cddf8b14f671bf8da81a547c992122bb987215dd730eea6c40fca707bca59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowSubscribeIntercept.java:34-47 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowSubscribeIntercept.java:32-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060FlowableProcessor\u003CT\u003E\u0060 in one and \u0060Subject\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowSubscribeIntercept.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae87068f695befc188fe0acb9c64922cc7afdacbd00f7fff52715fc86e59b3d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromCompletable.java:30-83 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromCompletable.java:31-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromCompletable.java:30\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFromCompletable.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f709f047a454487d0478af476e2f92006efb7e6e180e10db3f928d3ff1579d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimer.java:35-75 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleTimer.java:33-73 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimer.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleTimer.java\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimer.java:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimer.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"02871a4645dbd8710272338e918de44bf1c3138e7637448b06cb06e139915675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDelayWithCompletable.java:30-82 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDelayWithSingle.java:30-82 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDelayWithCompletable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDelayWithSingle.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDelayWithCompletable.java:30\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060CompletableSource\u0060 in one and \u0060SingleSource\u003CU\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDelayWithCompletable.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0223de37aa0cf7a6d019ff59114ea33a6acb7bfd2f609e28e985fbfa6e1d5171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnTerminate.java:27-85 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoOnTerminate.java:27-73 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnTerminate.java:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060MaybeSource\u003CT\u003E\u0060 in one and \u0060SingleSource\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnTerminate.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe888742bcc16b3493c4b66b9d2a31050ea0eccc42f1d76c9d6a7ac18c1adae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/observers/DisposableCompletableObserver.java:1-79 | src/main/java/io/reactivex/rxjava4/observers/DisposableMaybeObserver.java:1-88 | src/main/java/io/reactivex/rxjava4/observers/DisposableObserver.java:1-92 | src/main/java/io/reactivex/rxjava4/observers/DisposableSingleObserver.java:1-81 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/observers/DisposableCompletableObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/observers/DisposableMaybeObserver.java\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/observers/DisposableCompletableObserver.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/DisposableCompletableObserver.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"527a9a739e8ba6d3c1726bf0652b8eb48f8d75d32fec29c7df384d3452ce3486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (131 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/observers/ResourceCompletableObserver.java:1-131 | src/main/java/io/reactivex/rxjava4/observers/ResourceMaybeObserver.java:1-141 | src/main/java/io/reactivex/rxjava4/observers/ResourceObserver.java:1-139 | src/main/java/io/reactivex/rxjava4/observers/ResourceSingleObserver.java:1-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/observers/ResourceCompletableObserver.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/ResourceCompletableObserver.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a1d2988eecbec66b6c22105745c404b8163f0470361abde345bb89ef156b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2518-2524 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2197-2203 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b833ffe95a3d743aefbed592b2b1b44f9003e3ce117928c46722a60ffffd3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2556-2563 | src/main/java/io/reactivex/rxjava4/core/Observable.java:2231-2238 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2556}}}],"partialFingerprints":{"codehealthFindingId/v1":"163070e978993be69ef377aa37879cc9f0d532ce61307bec410197afabd9c049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:7782-7790 | src/main/java/io/reactivex/rxjava4/core/Observable.java:6910-6918 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060onNotification\u0060 to \u0060Consumer\u003C@NonNull ? super Notification\u003CT\u003E\u003E\u0060 in one and \u0060Consumer\u003C? super Notification\u003CT\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":7782}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56b7a02d74186386fa5393e22a7010a7b54d8a1ccb7d6728803bfb65ec86700"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:15192-15196 | src/main/java/io/reactivex/rxjava4/core/Observable.java:12591-12595 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:15192\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060fallback\u0060 to \u0060Publisher\u003C? extends T\u003E\u0060 in one and \u0060ObservableSource\u003C? extends T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":15192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2935d0bf0e4bd57da9ceb0c68eb4b55d8d7ba4d3f6ec8f1ecff9ae1dcf78744"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:15318-15322 | src/main/java/io/reactivex/rxjava4/core/Observable.java:12704-12708 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":15318}}}],"partialFingerprints":{"codehealthFindingId/v1":"4086109bfc5f42ca349e923ff27b726d2f9bd6f8b9d76251823a4588626ba6cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:15529-15533 | src/main/java/io/reactivex/rxjava4/core/Observable.java:12895-12899 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:15529\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":15529}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2437ee5d32f5ad5d78b1644d79e51778eb38d1fa36bb5715144c011b188d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:15643-15647 | src/main/java/io/reactivex/rxjava4/core/Observable.java:13000-13004 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:15643\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":15643}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc16bd20f2d860a74e58f968232f308e0682633a8f0c0a79d91632bad47f186a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:15689-15695 | src/main/java/io/reactivex/rxjava4/core/Observable.java:13042-13048 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:15689\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:15728\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:13078\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":15689}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0424a2354bb5c3c789447bdcbc231151b149ba8f4de2010a234b1ec8762e34c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:17591-17595 | src/main/java/io/reactivex/rxjava4/core/Observable.java:14743-14747 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":17591}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bff99f736ce015d15b59b73863f708ee8e95e4f6e1519820beefc1591ad0264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Maybe.java:1707-1712 | src/main/java/io/reactivex/rxjava4/core/Single.java:1556-1561 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Single.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java:1707\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source1\u0060 to \u0060MaybeSource\u003C? extends T1\u003E\u0060 in one and \u0060SingleSource\u003C? extends T1\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cb88da6233eea5daf5d1e5e7911720a1c49e56226ad2985d21ee86e41bec6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Maybe.java:1749-1755 | src/main/java/io/reactivex/rxjava4/core/Single.java:1597-1603 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Single.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java:1749\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source1\u0060 to \u0060MaybeSource\u003C? extends T1\u003E\u0060 in one and \u0060SingleSource\u003C? extends T1\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4be8254d181ac008a6e189a59f0972cb33c9632ea2dfee4d4c6ca138719c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Maybe.java:2359-2365 | src/main/java/io/reactivex/rxjava4/core/Single.java:3177-3183 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Single.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060MaybeObserver\u003C? super T\u003E\u0060 in one and \u0060SingleObserver\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"f951650b7bfdbb4c02e70408a4aaae951b0f7a30cd159df4927dfa686df6ef34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/core/Maybe.java:5441-5450 | src/main/java/io/reactivex/rxjava4/core/Observable.java:14324-14331 | src/main/java/io/reactivex/rxjava4/core/Single.java:5037-5046 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Single.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":5441}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb86583cf0a8f7b8a8c5928d38e6b41d1c005fac81021cd00ab18d64b072bc46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 42): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java:92-100 | src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java:96-104 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromPublisher.java:46-54 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/AbstractBackpressureThrottlingSubscriber.java:56-62 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAll.java:56-62 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAllSingle.java:63-69 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAny.java:55-61 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAnySingle.java:62-68 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCollect.java:72-78 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCollectSingle.java:80-86 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCount.java:49-55 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCountSingle.java:55-61 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounce.java:68-74 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java:82-88 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAt.java:65-71 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableIgnoreElements.java:44-50 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableIgnoreElementsCompletable.java:52-58 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableLastMaybe.java:66-74 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableLastSingle.java:75-83 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBuffer.java:88-94 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureBufferStrategy.java:95-103 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureDrop.java:71-77 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureError.java:52-58 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduce.java:62-70 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduceMaybe.java:89-97 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduceSeedSingle.java:70-78 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingle.java:63-69 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleMaybe.java:58-64 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleSingle.java:66-72 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java:78-84 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLast.java:60-66 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastOne.java:47-53 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java:84-90 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleFirstTimed.java:89-95 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableToList.java:62-68 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableToListSingle.java:79-85 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFromPublisher.java:61-67 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelCollect.java:109-117 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduce.java:107-115 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDelayWithPublisher.java:65-73 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFromPublisher.java:54-62 | src/main/java/io/reactivex/rxjava4/internal/subscribers/DeferredScalarSubscriber.java:50-58 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableToListSingle.java:89\u0060 calls \u0060add\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableFromPublisher.java:59\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ead86d4aa5d6a71b2319b71a200896c9e53c6a543fb3c0573ce158c0790c58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java:103-114 | src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java:107-118 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a38244a991d7056fdab8b5bfb496b6f2d0dfeb5a46129006143f9108b1906a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java:117-126 | src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java:121-130 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollectorSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableCollectWithCollector.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d02e7fcb6d9d0ab10a99e83cf99a9b1f4b0d6bf6b498c886e9fd0b9f66e5cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromCompletionStage.java:40-49 | src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFromCompletionStage.java:37-46 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFromCompletionStage.java:38-47 | src/main/java/io/reactivex/rxjava4/internal/jdk8/SingleFromCompletionStage.java:37-46 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFromCompletionStage.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/SingleFromCompletionStage.java\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060MaybeObserver\u003C? super T\u003E\u0060 in one and \u0060Observer\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromCompletionStage.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f977372ec5964fb39fdffd4514219d0ec3c814930c9e0abaa3ba108d61c0866b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromCompletionStage.java:66-75 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFromCompletionStage.java:64-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromCompletionStage.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ce16a1f9c4067daf4497b6c24e102cbf991a17cb403313bb07429603f0fef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromCompletionStage.java:91-96 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFromCompletionStage.java:89-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromCompletionStage.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23fc035a02f88586da57cb5bd6d85c1af1881ac3641faafc264de97f4ed19df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java:81-88 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFromStream.java:73-80 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFromStream.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5744512c804849a8fdd7fce4b5c47c9ac2decfc74a1c7c803a6f697f5586db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java:162-171 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFromStream.java:150-159 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableFromStream.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFromStream.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"619ee8e3cf4b5be6087f7af61f0ba781ccafdf8b672d09f190755c7c323f0951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java:174-186 | src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsObservable.java:164-176 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsObservable.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9484106c96f82dcc8b46aabed76e6077f14e6279b2d6c16dc3d49d1bd32392eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java:196-205 | src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsObservable.java:186-195 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsObservable.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/MaybeFlattenStreamAsFlowable.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c11483ffa6be94630f4fc5be9ed215a75579b3497c8704d75126ff220ba23fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java:101-112 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollectorSingle.java:102-113 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollectorSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3f2e126286e8e71cb1e7007c52ead396e21ef295539d529676d752803274ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java:115-124 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollectorSingle.java:116-125 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollectorSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ObservableCollectWithCollector.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0166148881e639581539eb6afd1e6e89d61985f69d24eacea88927fa37d7ac89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java:129-138 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduceFull.java:119-128 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduceFull.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"713447fcf3712b6845bdef83c9664464886902383987d45bf3ede0f492fa977f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java:256-267 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduceFull.java:246-257 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduceFull.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelCollector.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2e1d0d602acd20e16b80ae4dc2afeedb105704bd2c5711ab7208318878c2b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 37): src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java:98-104 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java:182-188 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java:109-115 | src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java:225-231 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java:90-96 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java:213-219 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java:363-369 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDelay.java:72-77 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDematerialize.java:56-61 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDetach.java:57-63 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableHide.java:59-64 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnErrorComplete.java:60-66 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java:88-94 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableScan.java:54-59 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLast.java:53-58 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipWhile.java:46-51 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java:93-98 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeUntilPredicate.java:47-52 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeWhile.java:50-55 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUnsubscribeOn.java:53-58 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java:97-102 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java:84-89 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java:205-210 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java:355-360 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZipIterable.java:86-91 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java:108-114 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java:219-225 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilter.java:109-115 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilter.java:168-174 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilterTry.java:119-125 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelFilterTry.java:208-214 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMap.java:100-106 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMap.java:173-179 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMapTry.java:109-115 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelMapTry.java:222-228 | src/main/java/io/reactivex/rxjava4/internal/subscribers/SinglePostCompleteSubscriber.java:58-63 | src/main/java/io/reactivex/rxjava4/subscribers/SerializedSubscriber.java:70-75 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelDoOnNextTry.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java:89\u0060 calls \u0060AtomicThrowable\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDelay.java:68\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5976969705aba8f993554ec7766fd02f29ba9fad64dc97f2a5afc21be8a932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/ConsumerSingleObserver.java:45-53 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCallbackObserver.java:81-89 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/ConsumerSingleObserver.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"768fb60dfa23c974038b81b41ffde3f7aaae5e60eb69003e1a419ec18bbafb6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/ConsumerSingleObserver.java:61-69 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCallbackObserver.java:70-78 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/ConsumerSingleObserver.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aadda06ae6ba95e3f7d960eacb4ec8521e922f0f098c77be199260c1e432f00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/observers/DisposableLambdaObserver.java:62-69 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnLifecycle.java:92-99 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoOnLifecycle.java:94-101 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnLifecycle.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoOnLifecycle.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/DisposableLambdaObserver.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d420acd74146bd5b43794071a98547760613f1bdb4b3103262d241a5cbb42d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/ForEachWhileObserver.java:76-88 | src/main/java/io/reactivex/rxjava4/internal/subscribers/ForEachWhileSubscriber.java:78-90 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/observers/ForEachWhileObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/ForEachWhileSubscriber.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/ForEachWhileObserver.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"337e2a7c536fb41ff334ff0adf541e6d56353d6080cf61fe53e653710d3becb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/ForEachWhileObserver.java:91-102 | src/main/java/io/reactivex/rxjava4/internal/subscribers/ForEachWhileSubscriber.java:93-104 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/observers/ForEachWhileObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/ForEachWhileSubscriber.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/ForEachWhileObserver.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f00b8ba18a60e75dd476bedfeb8ee4c3742ade444cbb94111aff742387ecd3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/LambdaObserver.java:40-46 | src/main/java/io/reactivex/rxjava4/internal/subscribers/LambdaSubscriber.java:42-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/observers/LambdaObserver.java:40\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060onSubscribe\u0060 to \u0060Consumer\u003C? super Disposable\u003E\u0060 in one and \u0060Consumer\u003C? super Subscription\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/LambdaObserver.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"511cbe786fa5afe08ff1104472b67fda96300d4158e897a99f97478f6a1eb5b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableDelay.java:67-73 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDelay.java:73-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableDelay.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7ed3980e36bdeb97fe9f3b628f1d58b7b00b0c4675f2ca418681cf390cbd0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableDoFinally.java:95-104 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoFinally.java:147-156 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoFinally.java:258-267 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoFinally.java:100-109 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoFinally.java:142-151 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoFinally.java:96-105 \u2014 there are 6 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableDoFinally.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e3bdfbc1744cd116c7bd68f9b0860307966613df8dc6b15cca5eda767bd0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletablePeek.java:120-127 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoAfterTerminate.java:91-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletablePeek.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e215495282e09d4b15e4cf37ce23c7c4e3ed2230a2a5d95ea2a6203b51626f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableTimeout.java:34-40 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleTimeout.java:40-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableTimeout.java:34\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060CompletableSource\u0060 in one and \u0060SingleSource\u003C? extends T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableTimeout.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f860e6dde86c3c758a707840f40eaed771af3921042f0a1424ffaeafcd1cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableUsing.java:110-120 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeUsing.java:121-131 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableUsing.java:148-158 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleUsing.java:110-120 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableUsing.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e647591cb463454cd77bd0e6437f9fcf8c30864c4be8f85b258291cccb5b8c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java:65-78 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableNext.java:63-76 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableNext.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e62a5ec4217e7c7bedf6ec2fdccd9a973b6b6e070a5ef699775c8e083b6c96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java:112-124 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableNext.java:112-124 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableNext.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a34a4735db263397efaffc716b0cd680052ffe797753e4079e26dd7852a1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAllSingle.java:95-103 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAnySingle.java:94-103 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCollectSingle.java:103-111 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtMaybe.java:87-95 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtSingle.java:94-102 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleMaybe.java:82-90 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleSingle.java:90-98 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAllSingle.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAnySingle.java\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAllSingle.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77a3097ddbe06f202f97cc4e866ee9bf4e1fd21f2de022e6430686a5952ed69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:120-130 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:112-122 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47b1806a729aad3b4e0df61ba1131b52c47aecc3021418658ad1945740f718f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java:100-108 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferExactBoundary.java:95-103 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:132-140 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferExactBoundary.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd9b5ff87e4217065b895931db9765608a529c76919a5f86602f9e830261830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:45-54 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:44-53 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:45\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060Flowable\u003CT\u003E\u0060 in one and \u0060ObservableSource\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"221160e7bf7dc4719af6bd678136f16753da8d838d2fd17c47cee6b7bd40da5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:96-102 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:96-102 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:96\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060Subscriber\u003C? super U\u003E\u0060 in one and \u0060Observer\u003C? super U\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"126e80da25f0dac0aa9461fde7b7d2f793818af2e4f6bc8b9250ae07d44b4fbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:240-248 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:228-236 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:240\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060Subscriber\u003C? super U\u003E\u0060 in one and \u0060Observer\u003C? super U\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a24ee2bf23fe58159b2726bb7865e60c36fd2afbfd3e32917e14be8dce81b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:406-414 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java:409-417 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java:406\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060Subscriber\u003C? super U\u003E\u0060 in one and \u0060Observer\u003C? super U\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"27799ed3f8f11410d95ce46ff43612a5e3150be305c0519ea35be779ff2ae0d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java:73-79 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java:69-75 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCache.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060Flowable\u003CT\u003E\u0060 in one and \u0060Observable\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"092c5882d0c52708b03911af655d1c6fd9f78e56bbc3846f420c1957cc629f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCollect.java:81-92 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCollectSingle.java:89-100 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCollect.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb65223eabf117574ba7d502b69565fcfcbb6383f3804f280f740df39e5e07f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java:40-46 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleFirstTimed.java:44-50 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDebounceTimed.java:35-41 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleFirstTimed.java:39-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleFirstTimed.java:44\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060Flowable\u003CT\u003E\u0060 in one and \u0060ObservableSource\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4444e5ec17d666b3c20dcdf2e28e8c802a7b729c970f8312156276e07b2768f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java:73-79 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleFirstTimed.java:80-86 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDebounceTimed.java:65-71 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleFirstTimed.java:74-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleFirstTimed.java:80\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060Subscriber\u003C? super T\u003E\u0060 in one and \u0060Observer\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"619b5d4a8ee25394c3884826a0179b6fe3744d3b7588c55f19e6af44a76a7523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDelay.java:31-37 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDelay.java:39-45 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDelay.java:30-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060Flowable\u003CT\u003E\u0060 in one and \u0060MaybeSource\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDelay.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4425b5cfa44be0862911a269b3deb60e7f238c5518aaf8c6ef4987586987846e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDelay.java:62-69 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDelay.java:62-69 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060Subscriber\u003C? super T\u003E\u0060 in one and \u0060Observer\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDelay.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f83456c2e18b9eade12f91bd6ce636d0236dfc7589be6a3b013310ba6bb7be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinct.java:98-106 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDistinct.java:93-101 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinct.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8363ec50f10b6d575de89a0dfe06c7b948972df681bf4c18bf5c857317987b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoAfterNext.java:99-109 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoAfterNext.java:51-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoAfterNext.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59eb73872e65956a10564aa13c41d2f3f39c43854bace2bf3cf585f3c1024bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java:36-42 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java:66-72 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java:207-213 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEach.java:32-38 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java:36\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060Flowable\u003CT\u003E\u0060 in one and \u0060ObservableSource\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoOnEach.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2def516e827acebb2a1b5fe01fa7a592d905456a925683be4a552b1c36c023fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtMaybe.java:62-68 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtSingle.java:69-75 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtSingle.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtMaybe.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8a4f0b58beaacfe1853995870d3b9e938b693de4a3bdd6f538ddaf490a9dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtMaybe.java:71-84 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtSingle.java:78-91 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtSingle.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableElementAtMaybe.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f743597697b7ec47d497ff4b3bd8def667fe9d9646a81d5e8e30bebec4373d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:39-45 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMap.java:38-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:39\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060mapper\u0060 to \u0060Function\u003C? super T, ? extends Publisher\u003C? extends U\u003E\u003E\u0060 in one and \u0060Function\u003C? super T, ? extends ObservableSource\u003C? extends U\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db9d782cfd3a930cb71d461a06498b4b02f0cecd9602fe7086b0b6f014d812d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java:648-658 | src/main/java/io/reactivex/rxjava4/internal/subscribers/InnerQueuedSubscriber.java:109-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"995d1dca16448295900dcde1a6db8866a0fddb0b9dfdb6dce5d3da1fa3808379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java:80-88 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletableCompletable.java:88-96 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletableCompletable.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java:80\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"da088d716017e28f163252ec9f82f31c03580c5a74b466940317f1420c3d3dc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java:149-157 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletableCompletable.java:157-165 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletableCompletable.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapCompletable.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b07b44cc273b09ded1866f461e920e1ac7b1f84acacea0f38c368bdd996023"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java:138-146 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java:138-146 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:126-134 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:128-136 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 234 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMapMaybe.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d5159718779d9330ae376904036fd4db0d38a430794c0375b27acca82109b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlattenIterable.java:219-229 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java:117-126 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java:145-154 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlattenIterable.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6979d4cf4cbad795691021dd39c20048cd540056011a5a2101c5e7294824c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java:87-97 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromIterable.java:127-137 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java:89-99 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java:91-101 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFromArray.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8539a3b59e454594ea339fad66384b3e1df0009394f09749be74e26b2b14f8a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGenerate.java:142-149 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGenerate.java:119-126 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGenerate.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGenerate.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGenerate.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"419525411db61e1b115bd8f5221ace9ff1307718432f92664101d6355cefb520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGenerate.java:182-192 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGenerate.java:155-165 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGenerate.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGenerate.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGenerate.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce7ef7292a71743b206a4b351add1215c0430ec52450b4872af3015895e004a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java:384-389 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupBy.java:247-252 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060parent\u0060 to \u0060GroupBySubscriber\u003C?, K, T\u003E\u0060 in one and \u0060GroupByObserver\u003C?, K, T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java:382\u0060 calls \u0060AtomicBoolean\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupBy.java:245\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa44ffe9f1b05ad133284dc36581c40398b337aefa9fe4e8324b044eea0430d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java:464-473 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeMergeArray.java:288-298 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java:460\u0060 calls \u0060tryAbandon\u0060, \u0060get\u0060, \u0060compareAndSet\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeMergeArray.java:284\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"d555834399205550707c34a155b500a4531c67f5742299180a867038985f11a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:48-54 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:48-54 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:47-53 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:45-51 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:48\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ea14c3f3d4d5115a651e689aeaa95f8d6af5d2d905bc230c933b081c441163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:152-161 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:139-148 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:143-152 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb87709a3e46ce5a1fe96bb0e0887a165b27556c2a55d324253807bdc28da3a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:180-186 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:163-169 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:176-182 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:156-162 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060a\u0060 to \u0060Subscriber\u003C?\u003E\u0060 in one and \u0060Observer\u003C?\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e635a94e16cae5eb7e80467cf63750c8cd89ff70e72e06ea46a5057eba6e0fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:348-355 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:360-367 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:337-344 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:318-325 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e4bd279b214629efc0db089c44c35fef9ea043c96de09e2717079ce1b0fd46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableIntervalRange.java:39-46 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableIntervalRange.java:34-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableIntervalRange.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"79012f9c0f577beadded322d4023c6e28282fb1284012e3439b9ab35899781e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java:154-161 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java:147-154 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableJoin.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060a\u0060 to \u0060Subscriber\u003C?\u003E\u0060 in one and \u0060Observer\u003C?\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableJoin.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"727c6899c5ae99ff1135dac37afc77c67a7533350d4a1e4212de94e834fa489e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java:46-51 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java:46-51 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithCompletable.java:41-46 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java:43-48 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java:43-48 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a162c72f3153a62d78c8a885da6d5ef53a4ae941c38cd332b03eb2faf27d748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java:165-174 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java:165-174 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0976777e4113f29827e1b02b5679f38787b50c491b33e2ac2042dd526cb72b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java:213-220 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java:208-215 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d58f19566ef17a3b2c24583825c1a571db9db1bcf2339f53cec9214313e337a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:134-139 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservablePublish.java:119-124 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6456ee030e633f299b8e511e27eac51742d31b952bd23bd02b3af48ff930bf14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java:469-474 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java:508-513 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9898930a212cd9f6fea55c398143eacca913f1445ff3811e618731df6862b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java:54-60 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java:52-58 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java:54\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060ConnectableFlowable\u003CT\u003E\u0060 in one and \u0060ConnectableObservable\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"875d28e2465d009b2b94f12b152b214d373561783b0bd434a1dd42672dd217f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java:171-178 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java:170-177 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"97161e83e720f03efb15f16f6483675d379d4b38513dc1398b32328ec3290897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java:207-214 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java:206-213 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4894e302f5ae9c2221d75c715b0782cbd2e722cff729b6964eb1236c0d9b5632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeat.java:76-86 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeat.java:71-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeat.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d59f4e67a34d28f7fb4ff139e9a711a9fc98bf208acbc71b880f45fe359d1df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeatUntil.java:78-92 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatUntil.java:73-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRepeatUntil.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"583779e2806a01b64ce987c41d95ee819d20d96ecd6e8e4efc8ba2ad7c1b9b17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:81-86 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:85-90 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:81\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060Flowable\u003CT\u003E\u0060 in one and \u0060ObservableSource\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"082109bed7e5229777ebf1f35d28ae7f257391f8e41fca4ac911e25db6f8660b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:997-1003 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:839-845 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f07c142a0099a2fe575b5749dd994d4ab05baede6c00276e11a0750451daa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java:1168-1174 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java:980-986 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 185 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d534cf5d41fdb6eabf9cae735f966bdd88fa274034ef612781004f60a07cac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSamplePublisher.java:211-222 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSampleWithObservable.java:196-207 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSamplePublisher.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc50c1584f5e64c9a762cfbd39a54b97276d34b7431e532657b227ad7344e031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSampleTimed.java:38-45 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSampleTimed.java:39-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSampleTimed.java:39\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSampleTimed.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb08b5a88e9aa7d299e3aa352f5c04c26cd682a9deba5ea90f7e1cf75022c1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSampleTimed.java:74-80 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSampleTimed.java:73-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060Subscriber\u003C? super T\u003E\u0060 in one and \u0060Observer\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSampleTimed.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c31c197b336618bed2806583881c21a649610d9810d552c512ed8d9d090c257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSampleTimed.java:194-201 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSampleTimed.java:185-192 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSampleTimed.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5363929b282032ece5ffef95de4dd93acf3c2da0750bf4f16e36e8f58eac28a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java:45-49 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqualSingle.java:47-51 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqualSingle.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSequenceEqual.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded05bbd7a91061e5c0e70fddd4674e35dfb15a7379884792b28b58ecb1822d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleMaybe.java:67-79 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleSingle.java:75-87 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleSingle.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleMaybe.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a9004f502242c6b3018313fe568da2724ad5e213b1ca42fac557d2172bca7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java:34-41 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSkipLastTimed.java:33-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSkipLastTimed.java:33\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060Flowable\u003CT\u003E\u0060 in one and \u0060ObservableSource\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7c814eca8cec51546d8fd668b65edc0d7887bad558e43a7190a6cf748b2d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java:68-75 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSkipLastTimed.java:65-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060Subscriber\u003C? super T\u003E\u0060 in one and \u0060Observer\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimed.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32d516e510feff437712ea522079449e576397cc9b77b01c5cd94e2918a5d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java:84-90 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSwitchMap.java:86-92 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java:84\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060Subscriber\u003C? super R\u003E\u0060 in one and \u0060Observer\u003C? super R\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"da14ff1264c7b6779a5404fbdf171a09427fd4df81b1aefd4ffb65b468a41afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java:139-149 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSwitchMap.java:137-147 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"03520bf53856394f884e4c72e277cda15acf6a818145b2906ea80b78a5a032ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java:37-45 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeLastTimed.java:34-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java:37\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060Flowable\u003CT\u003E\u0060 in one and \u0060ObservableSource\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cf13c94e25948af0342dbc865918527b25563e34808c9c5da607ce276d5116"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java:73-81 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeLastTimed.java:68-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060Subscriber\u003C? super T\u003E\u0060 in one and \u0060Observer\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimed.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40c168716502607d45fbad138a2ade883e6289facb7765248d2f346a9e9c7e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeUntilPredicate.java:76-83 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeUntilPredicate.java:85-92 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeUntilPredicate.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5957e6a7b5de49afcffe4e19d063f82b814eab108f9e0cf3d5eaea3bfe4dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java:56-63 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleLatest.java:54-61 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableThrottleLatest.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java:56\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060Flowable\u003CT\u003E\u0060 in one and \u0060Observable\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8fe708b43dcf529df809a721c456f0b10a4569f7b5e041c803a367eb9426d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java:122-128 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:102-108 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:102-108 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableThrottleLatest.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f571cc0d1a4607e214e41d3b8d01d8e6d75d78125850b3344928d9012c85bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeInterval.java:64-70 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeInterval.java:73-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeInterval.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff784859ef4a20b4aedd4b16116eeba3bfec8a44b419bfdcf2eb809d72345f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:130-137 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:266-273 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:124-131 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:254-261 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060firstTimeoutIndicator\u0060 to \u0060Publisher\u003C?\u003E\u0060 in one and \u0060ObservableSource\u003C?\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ca593a50b9af59444eb2510af4af0e1e80fe6d436e1a4d32d707f5097b71c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:140-148 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:134-142 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc68c2986283ca13ca6996ea47f3b243b970879df98158e7b675001421379f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:151-157 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:145-151 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4ee4380285cfc1bad06e1b622a0747f1eded46119b0b91b5dd29b373d250ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:276-286 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:264-274 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"570cc07f5bf1dcad7bce66e818b7d0b41f52dec21c26cd34f99cf802a76b55c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:289-297 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:277-285 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"873f38b506f067edb0c8c4fa80141b4d3fd836266196d3c9a3c1460fc6564e7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java:36-42 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java:34-40 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java:36\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Publisher\u003C? extends T\u003E\u0060 in one and \u0060ObservableSource\u003C? extends T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e13974a82defeee44ed0b146ca50de2b2b32290a8d5c455ad3a2130820a22a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java:95-106 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java:90-101 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"952c19e144ce3e5fc59c511a167599abd83cf91f9805ca2e7d5fa3acb09acdbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java:113-123 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java:108-118 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cdfd5a51b90b90cc90c35a46a2991eaf9ed06de09e3a1a1b1c322fe7144973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java:126-134 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java:121-129 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"80af39cd0c3a04a06ba2715ef7139b30eedd584bc7686121afe4bb1e3aeb6afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java:232-242 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java:220-230 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e797c968bed1a9b69d04046da509ab7683dbf05785a7d53d584e7277c157441d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java:245-253 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java:233-241 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9089f82b3a78cb59a6849c4883233a62da374e5996f4a69c41648105f9ac5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java:171-181 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableUsing.java:165-175 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableUsing.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableUsing.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6dcb287f0d38d90ce84546aa1e1d8aba15e3e05c81c86a9e3f7350bf622d10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java:386-391 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java:369-374 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowBoundarySelector.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060parent\u0060 to \u0060WindowBoundaryMainSubscriber\u003CT, ?, V\u003E\u0060 in one and \u0060WindowBoundaryMainObserver\u003CT, ?, V\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d42a9f16551d6c7a778da6dc8a8664b8f40085e18e167e2d3d1bf47b8822601"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:44-53 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:42-51 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:44\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060Flowable\u003CT\u003E\u0060 in one and \u0060Observable\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"010feb9439cdcf933d9471ba44c7c58812b4dc76c767dcfbcfaf344855e4aaec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:191-196 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:185-190 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:191\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060Subscriber\u003C? super Flowable\u003CT\u003E\u003E\u0060 in one and \u0060Observer\u003C? super Observable\u003CT\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d7279213d09444e490c96847efe124b9956e613ff583bd652d93a44ab4353a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:551-556 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:509-514 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:551\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060Subscriber\u003C? super Flowable\u003CT\u003E\u003E\u0060 in one and \u0060Observer\u003C? super Observable\u003CT\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa821540691bb0694c7b8ca0ad0cc00b99a8c1b57714f9e839da3dbcd6cb3b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java:193-201 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java:183-191 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"54647a1af783966a311c93202fe53ca059e2b729d495957b5367911379dcf6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java:204-210 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java:194-200 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"62659e613a29d5eaffab229376e803607afd40bcbc6ba0910325f55df8aef2ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java:44-50 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableZip.java:40-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java:44\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sources\u0060 to \u0060Publisher\u003C? extends T\u003E[]\u0060 in one and \u0060ObservableSource\u003C? extends T\u003E[]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableZip.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3cb7dd4aadc2b11a17168a279bef969e78ea503f564903e507d21e2c0f8133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeAmb.java:121-128 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleAmb.java:111-117 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeAmb.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"51df0b578427c6e1667af797ba153ea3eb94a8feed4195aa7ce4587f5c1d5dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeAmb.java:131-140 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleAmb.java:120-128 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeAmb.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27020664e371add3994ec14a8ef8d9c0ca7678a0749a1a0805cd714e691902c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java:89-96 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java:130-138 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb18e2118ea10625d52ad56fc66f1a9bc9f816c9069e234f51bac441752d93b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java:100-107 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java:142-150 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCache.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCache.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e838038003507e17aafb47368caf21427eb35c02ae02cbf41395d5b1eace9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArray.java:41-45 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArrayDelayError.java:42-46 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArray.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArrayDelayError.java\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArray.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfa480191c9c1a656d685cba6d5783bb492ade7179425cb98a3f33db953c332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArray.java:68-74 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatIterable.java:80-86 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sources\u0060 to \u0060MaybeSource\u003C? extends T\u003E[]\u0060 in one and \u0060Iterator\u003C? extends MaybeSource\u003C? extends T\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeConcatArray.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dd953754b3c235f674f392825d8f46b3cf3135fed835b09ea1fefc8dbd5cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCreate.java:42-52 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCreate.java:36-46 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCreate.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleCreate.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060MaybeObserver\u003C? super T\u003E\u0060 in one and \u0060SingleObserver\u003C? super T\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeCreate.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9001306ac4bd7e2fcb575e9df0bfa4365f1b5709c20ea6ff645eb04737f86b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDelay.java:82-94 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDelayOtherPublisher.java:149-161 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDelay.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7efe99a5b54438a5f98bb8b17d18668e6bfda99ae30e131aaaeb99a0aeb4eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoAfterSuccess.java:66-76 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoAfterSuccess.java:68-78 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoAfterSuccess.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ea6ab216b5255c11d0bf27785a78537d87ff5207ca2f3ccc09b32d5b93a717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnLifecycle.java:110-119 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoOnLifecycle.java:104-113 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnLifecycle.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDoOnLifecycle.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnLifecycle.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"211eec7a3e5dfa55726220075001ee8f645faaf4c6808ef676c97eb3215edfac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapCompletable.java:42-46 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapCompletable.java:42-46 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapCompletable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapCompletable.java\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapCompletable.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcac0f6a4b4b204ba495f1b2c2e56220a373f82c917827d3641ac904bfd6174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java:284-295 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableObservable.java:192-203 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java:278-289 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableObservable.java:188-199 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleFlatMapIterableFlowable.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 155 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeFlatMapIterableFlowable.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddd54b86920defd93648b8dc686f08581a13488e5c33d512104fa6f75f326d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilMaybe.java:41-48 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilPublisher.java:44-51 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilPublisher.java\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilMaybe.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e127a5bf87efd50c00242c2bfe31e9128b584431167d91b13912305b9891863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilMaybe.java:82-87 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java:97-102 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilMaybe.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d44a0b07c330926f594651a2a188c2f6f3918db667c39536c45c6ca4a6af38b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilMaybe.java:90-97 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java:105-112 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilMaybe.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"009bbd9c6c79ee4f7fef14bc0956d372453032f1c8b04650156e7a0aa10f59c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilMaybe.java:100-105 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java:115-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilMaybe.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a409f140bfea4dc930942c3e696244a1ed70533d223eb3f8460287c106128dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilMaybe.java:107-113 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilPublisher.java:110-116 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java:122-128 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutPublisher.java:125-131 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilPublisher.java\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilMaybe.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20d08a6834f65554932690e15e7a6a8d30f2754daf6b74fcb736d070b14b1f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilPublisher.java:85-90 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutPublisher.java:100-105 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilPublisher.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"380099810782c655f0c1a5d816e30a41606742fc9c5b92b2287f4de7936b86a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilPublisher.java:93-100 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutPublisher.java:108-115 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilPublisher.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ee361fef728f1c5513434d31d3c9a932cef42fe348bfc8ce752e234f881f4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilPublisher.java:103-108 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutPublisher.java:118-123 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTakeUntilPublisher.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"025c2ce274bc52670f4edc7f17bfe012baefc397d30edcbf56ccfd00cc9bfbe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeInterval.java:64-69 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleTimeInterval.java:64-69 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeInterval.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleTimeInterval.java\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060downstream\u0060 to \u0060MaybeObserver\u003C? super Timed\u003CT\u003E\u003E\u0060 in one and \u0060SingleObserver\u003C? super Timed\u003CT\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeInterval.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1714e60a13659cfb9fb6d76e2a9fd34a647e37cf169a2a8288252fa47dd4abb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java:45-52 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutPublisher.java:48-55 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutPublisher.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b4e8265a8451946af941e065465a8bd0fb85348e3570fadfaac010457c6b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java:69-74 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutPublisher.java:72-77 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutPublisher.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"386d9453df6f51508aac204539834811272da603bf1286fe920e16f5984d2779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java:130-138 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutPublisher.java:133-141 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutPublisher.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeTimeoutMaybe.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"248691e3475e90c0dae78950600fcab224407bef12b7b45e8526c6837c697d9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeUnsubscribeOn.java:60-66 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleUnsubscribeOn.java:62-68 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeUnsubscribeOn.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6e7ba4844310ca0f5cb3d3b2e940cfe84d00d20dc0d34792a0c7cb8606b553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java:142-150 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipArray.java:143-151 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipArray.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ae7880bfd3fdcda38277dce1b3ffaff5d1cadc72c3bdb3df1bfc31078bc5f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ConcatMapXMainObserver.java:102-110 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ConcatMapXMainSubscriber.java:113-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ConcatMapXMainObserver.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"816ac7a4e1253a974f8a9c34295c0f22a07f5a22abfa2cdd7828545026f82951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapCompletable.java:79-84 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapCompletable.java:78-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapCompletable.java:79\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapCompletable.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec689408150fd66d9b5267f7ef44209f0ca8721c87c35901a7739ef182414027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java:129-137 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java:134-142 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"052291516cd1960b48fd46bd0699aa66af1c92cf816a2dfc4dc7187889d6effc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java:78-84 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapCompletable.java:77-83 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:87-93 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java:87-93 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapCompletable.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java:78\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060downstream\u0060 to \u0060CompletableObserver\u0060 in one and \u0060Observer\u003C? super R\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e0d5713177b5a38a1e4aa795657e6ef10c3868408cd0de78b3665626a17211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java:126-135 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapCompletable.java:124-133 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapCompletable.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"318430da5212d9b71c5f3bfadaa2028957240ddf991330b5f6965633fe805de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java:145-150 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapCompletable.java:143-148 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapCompletable.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapCompletable.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e29ad2f436b06b4138bca9aa427cda443c5301a95999a348b093cade138ab66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:92-99 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:92-99 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:92\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060mapper\u0060 to \u0060Function\u003C? super T, ? extends MaybeSource\u003C? extends R\u003E\u003E\u0060 in one and \u0060Function\u003C? super T, ? extends SingleSource\u003C? extends R\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fed70e1484d77b3587a2842ce8094778ddd2382a5bccc84b368ab6671f22445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:145-153 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:145-153 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:138-146 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java:138-146 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cf4f54b5fcb2a9f1e5f679a61ac08952a1ba03bccd67c4a459aaa7f9e186af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:162-167 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:155-160 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81da8826f3a89c4bd45fa0742600cff20623c17f0a6f435738bb93537b757ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java:183-195 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:183-195 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sender\u0060 to \u0060SwitchMapMaybeObserver\u003CR\u003E\u0060 in one and \u0060SwitchMapSingleObserver\u003CR\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d273cbac24ef77b8ed0f360d3f96bba62d5a45a6b1925f97a38255c5f9ea039b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java:162-167 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java:155-160 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9be346663edbed2e2a53da5a8529466540d29bf11de55eec2c0ec2fd69a41b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/MaybeFlatMapObservable.java:47-51 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/SingleFlatMapObservable.java:47-51 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/MaybeFlatMapObservable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/SingleFlatMapObservable.java\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/MaybeFlatMapObservable.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4adbb8ea256ff9f70f3400142602c3493843591cb46e5816efdbaee849d96a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java:116-124 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapSingle.java:101-109 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdc807b4e33496dae225fc63794fb98bab67b4db1177c3f726f21b2c9405427"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:175-187 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java:175-187 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sender\u0060 to \u0060SwitchMapMaybeObserver\u003CR\u003E\u0060 in one and \u0060SwitchMapSingleObserver\u003CR\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe600c6ca6a3cf02bdda649740755bcf8f4600364c9258b432d9694c7870af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCollect.java:85-96 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCollectSingle.java:93-104 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCollect.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCollectSingle.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCollect.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"117dc69bcbac0a007192fa74a92027d1fac161a076d9cce9467bb43466885796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:127-135 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:129-137 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 235 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e82d4c4a3ee84c155b384b7ec6a2c8310cc5b0fa398bfdc876c8a095c369e94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:138-146 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:140-148 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 235 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"318dff1efa97ff1581c06af5d9d3387960b9aa82313c55d5917486fccc0d2b47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java:509-518 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java:533-542 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 235 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMap.java"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fea114c956d23650fb79f380524f88f87012228c3f8f7ced0c97e9656131e17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableElementAtMaybe.java:74-86 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableElementAtSingle.java:81-93 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableElementAtMaybe.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31ead7137395b0a2525277dab45294d8d41914a8dd90ff716b2623e814d5095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:183-193 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:185-195 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e7369365a86bace42f688651c0e277f7b2ad37c2fdbe431ba3d0e69a65fe27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java:195-205 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java:197-207 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMapMaybe.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be648633a8f8a730328210cb01e30f29a7ec08169cb5e2d6c1eb43ca40916d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java:78-83 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java:78-83 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d97650b77ce350ca94eb2c45eeed04ff7ebc3012e528bd65495526f70aef11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java:127-136 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java:127-136 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9253204827973e7d8130c0ed3129c99fc389e94a79eb2877508796eab878fe4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java:138-150 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java:138-150 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9bfac8b2faecf0b39f705b0a490909f4807a85e876bf605d93cd968fc3f8db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java:164-171 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java:159-166 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8dcade7c4d4193128ed1a460fd5f84673dd07fbdc17924fe7b637b57ac61686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatWhen.java:85-93 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryWhen.java:85-93 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatWhen.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryWhen.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060signaller\u0060 to \u0060Subject\u003CObject\u003E\u0060 in one and \u0060Subject\u003CThrowable\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatWhen.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bc538813ff5259866d9258921e05e0d887c004a1530ca6274b21d9d0e9ef00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatWhen.java:143-157 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryWhen.java:143-157 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatWhen.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryWhen.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRepeatWhen.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"08147a4f8b5b3ffe6e659e82990ad3abb48d0a98fe1fc846e163133f0cfcc4b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java:41-45 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java:43-47 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060Observer\u003C? super Boolean\u003E\u0060 in one and \u0060SingleObserver\u003C? super Boolean\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b707999415b30e8c9dcd953a4f8cd07c2def761a1590a40db5ae30b6c5e5def"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java:83-87 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java:90-94 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqualSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSequenceEqual.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2f8ebc7df18d269774763b60743bce829193063ed9285059fcdb4906583e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSingleMaybe.java:66-77 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSingleSingle.java:74-85 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSingleMaybe.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca3b807db62bd2c36e36be8c2a18611a50c0d544789d6f6d33514597a9c712d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFromMaybe.java:30-35 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFromSingle.java:30-35 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFromMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFromSingle.java\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFromMaybe.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8039bb1d566f8b544b899f17f5afa4efede6b84f2ba2dfec6b6d565d4b045cc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java:62-68 | src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRetry.java:64-70 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRetry.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java:62\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060whenFunction\u0060 to \u0060Function\u003C? super Long, ? extends CompletionStage\u003CBoolean\u003E\u003E\u0060 in one and \u0060BiFunction\u003C? super Long, ? super Throwable, ? extends CompletionStage\u003CBoolean\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffa05a71be2a880ba03fe6283e75b3a9cc24dea91664da71fd20718b0fbb939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java:82-87 | src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java:144-149 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4493ac4cfe984734829bee3fe21071bca40485d6c5b6178764309340038eecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java:265-278 | src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java:321-334 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/schedulers/ExecutorScheduler.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/DeferredExecutorScheduler.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"42582cc3110b631492c66c91146b4b1400b3791d9e93b57db1f6f88fda54af04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/subscribers/BoundedSubscriber.java:105-115 | src/main/java/io/reactivex/rxjava4/internal/subscribers/LambdaSubscriber.java:92-102 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/BoundedSubscriber.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/LambdaSubscriber.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscribers/BoundedSubscriber.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bee803e19ec497b95337d0d528c41ef77e66e5c9a08586d999e8654a9fce5be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/observers/DefaultObserver.java:69-74 | src/main/java/io/reactivex/rxjava4/subscribers/DefaultSubscriber.java:80-85 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/DefaultObserver.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbd5fd1555f03371c3b75e5ed04f8d3f24ce27e5bf25ee1345d2d4acba4655f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java:181-199 | src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java:171-188 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subscribers/SafeSubscriber.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/SafeObserver.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd236d4074b61a00d4b84fc790761a79005fa68d650bda103a1be7a0f3de82c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java:186-202 | src/main/java/io/reactivex/rxjava4/subscribers/SerializedSubscriber.java:175-191 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subscribers/SerializedSubscriber.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/observers/SerializedObserver.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb84870d928232cf0d7e4c04a7bdafe988af1bdab9411d46490adc580b473f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java:155-162 | src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java:231-238 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d639414461b794e2d540f9d191107abcc3f1c5c66286921c48db06ead361df16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java:165-171 | src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java:153-159 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce61d2d78abb7b241ae6ae36f9d57a26ce8b56b8dbb61d6ddd9337c3a718ed2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:353-359 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:295-301 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f0b8af0bdc94a50c85f6870aaca584ad449ebc3a5018ef943714e217288544"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:368-374 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:310-316 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"4982b6bf00898c9319656c43e347d014b1c96f3fe50cef06509ca1d876d5c749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:597-614 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:510-527 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:616\u0060 calls \u0060isFull\u0060, \u0060get\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:528\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"0569c37a5825c057797231252a65f297f84ca53efeb712840d47e3fcd98b7c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:479-488 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:468-477 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"de87c6fe0eafec395c6268284e0037ea4e61340ccac461103631a6fb7c23b7f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Completable.java:1015-1019 | src/main/java/io/reactivex/rxjava4/core/Single.java:1260-1264 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e23a28bc13766e707bfca6358bf8f94e46197bb2f15ac290f81716268f14295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Completable.java:1159-1165 | src/main/java/io/reactivex/rxjava4/core/Single.java:1453-1459 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Completable.java:1159\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060resourceCleanup\u0060 to \u0060Consumer\u003C? super R\u003E\u0060 in one and \u0060Consumer\u003C? super U\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Completable.java"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"0004cdb6bb35b4d895ec56fd3ad50f55a65e63757e60ebf0c2cb8559f7fcf1d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/ConnectableFlowable.java:263-268 | src/main/java/io/reactivex/rxjava4/core/ConnectableObservable.java:238-243 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/ConnectableFlowable.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"5829c678caf9d5f6fa02df88e2ef1a3bc00da1e2a15af6e67785c65b9507786d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/ConnectableFlowable.java:376-383 | src/main/java/io/reactivex/rxjava4/core/ConnectableObservable.java:338-345 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/ConnectableFlowable.java:374\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/ConnectableObservable.java:336\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/ConnectableFlowable.java"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e00f1eafbdb958afd835a6f2d1e9afd9d14ab8d498543a354e991b98fdeda0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:497-502 | src/main/java/io/reactivex/rxjava4/core/Observable.java:424-430 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:497\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source1\u0060 to \u0060Publisher\u003C? extends T1\u003E\u0060 in one and \u0060ObservableSource\u003C? extends T1\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd472b8458bdc7e04d2eec8c347a1f381dbda07d788551dd9f952d354f255e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/core/Flowable.java:1772-1776 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:873-877 | src/main/java/io/reactivex/rxjava4/core/Observable.java:1562-1566 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:1770\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java:871\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"2067cf2f4df7a66f06c6c12c84c4b5ac16b02bf57bf2347b37f20d60c19681c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2066-2071 | src/main/java/io/reactivex/rxjava4/core/Observable.java:1778-1782 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060generator\u0060 to \u0060Consumer\u003C@NonNull Emitter\u003CT\u003E\u003E\u0060 in one and \u0060Consumer\u003CEmitter\u003CT\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:2099\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:1810\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2066}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6bc2ca85cebd1432f42e9babd7e934d46acd949088224c65c209c93df6ee53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2208-2213 | src/main/java/io/reactivex/rxjava4/core/Observable.java:1916-1921 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:2208\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:2241\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:1945\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4076882bfa0aa2bb557c8d710a9a51f169f3f4e3cb61313b81dabbebcf06b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:2279-2283 | src/main/java/io/reactivex/rxjava4/core/Observable.java:1977-1982 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"0232f6fc8467e0226f632cd97370b98a160a104b22f4ca4d347d4f229a0103bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:3455-3460 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:1506-1511 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":3455}}}],"partialFingerprints":{"codehealthFindingId/v1":"616c3e4ba7ed420387206bf0fc83bb1aeac76c0e5138e8b001f320f61dfe0525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/core/Flowable.java:3570-3575 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:1605-1610 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3169-3174 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:3570\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sourceSupplier\u0060 to \u0060Function\u003C? super D, ? extends Publisher\u003C? extends T\u003E\u003E\u0060 in one and \u0060Function\u003C? super D, ? extends MaybeSource\u003C? extends T\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":3570}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0349597c31adb1a8082503ccf0b39af5d29d9f01fb39f4a9f43610fab8dcf4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:3685-3690 | src/main/java/io/reactivex/rxjava4/core/Observable.java:3310-3315 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:3685\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sources\u0060 to \u0060Iterable\u003C@NonNull ? extends Publisher\u003C? extends T\u003E\u003E\u0060 in one and \u0060Iterable\u003C@NonNull ? extends ObservableSource\u003C? extends T\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":3685}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e2c0e386c4c0d32816f1d7bebfbb9ff7ab62aa4320d483e07654e8c524e4bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/core/Flowable.java:4596-4604 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:4809-4817 | src/main/java/io/reactivex/rxjava4/core/Observable.java:4178-4186 | src/main/java/io/reactivex/rxjava4/core/Observable.java:4372-4380 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:4628\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:4404\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":4596}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e88dcaf32d80f59cb8dbc4b7303c00457a9587de8a8c967d3529db9ccf14f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/core/Flowable.java:4631-4637 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:4846-4852 | src/main/java/io/reactivex/rxjava4/core/Observable.java:4212-4218 | src/main/java/io/reactivex/rxjava4/core/Observable.java:4406-4412 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":4631}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b212c9ec9a7d62baa67b039bb8bcbc986be2c5220f0771336f73d7d705f606a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:5350-5355 | src/main/java/io/reactivex/rxjava4/core/Observable.java:4776-4781 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:5386\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:4808\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":5350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7225b371f76b05d41fdcec8b41016d78259047ffd8c2ebf285da909f6402b3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:5505-5510 | src/main/java/io/reactivex/rxjava4/core/Observable.java:4914-4919 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:5505\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:5539\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:4945\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":5505}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80bb3355ae423e9f522e1b1b9fe0359cdfb8f2c274a7dac4d69d47aee2ce66e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:5788-5793 | src/main/java/io/reactivex/rxjava4/core/Observable.java:5170-5175 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:5788\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060closingIndicator\u0060 to \u0060Function\u003C? super TOpening, ? extends Publisher\u003C? extends TClosing\u003E\u003E\u0060 in one and \u0060Function\u003C? super TOpening, ? extends ObservableSource\u003C? extends TClosing\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:5823\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:5202\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":5788}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dfeae4ea22d350db99101cadd1580194909bb4dc999dbc26ab2fb6c7105a80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12): src/main/java/io/reactivex/rxjava4/core/Flowable.java:5904-5908 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:6101-6105 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:7442-7446 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:10335-10339 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:10934-10938 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:10979-10983 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:12431-12435 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:14894-14898 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:16882-16886 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:16918-16922 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:16958-16962 | src/main/java/io/reactivex/rxjava4/core/Observable.java:5275-5279 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:7442\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060boundaryIndicator\u0060 to \u0060Publisher\u003CB\u003E\u0060 in one and \u0060ObservableSource\u003CB\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:5963\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:5331\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":5904}}}],"partialFingerprints":{"codehealthFindingId/v1":"2baaed3567f4d634e18d95f420fe46c10ef83a62646ad4d86cd796fb7b026ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:6305-6310 | src/main/java/io/reactivex/rxjava4/core/Observable.java:5631-5636 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:6305\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060mapper\u0060 to \u0060Function\u003C? super T, ? extends Publisher\u003C? extends R\u003E\u003E\u0060 in one and \u0060Function\u003C? super T, ? extends ObservableSource\u003C? extends R\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":6305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1143441f554178234665da15d6c63d4fcc32398e3c5a6849aa0fae811aae8a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): src/main/java/io/reactivex/rxjava4/core/Flowable.java:6366-6370 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:6562-6566 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:6630-6634 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:9946-9950 | src/main/java/io/reactivex/rxjava4/core/Observable.java:5743-5747 | src/main/java/io/reactivex/rxjava4/core/Observable.java:7508-7512 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:6366\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060mapper\u0060 to \u0060Function\u003C? super T, ? extends CompletableSource\u003E\u0060 in one and \u0060Function\u003C? super T, ? extends MaybeSource\u003C? extends R\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:6394\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:5770\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":6366}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df679976307c37a0f409a85461897a61a777e2309bc6bdedf89781f698f6858"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/core/Flowable.java:6923-6927 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:14386-14390 | src/main/java/io/reactivex/rxjava4/core/Observable.java:6139-6143 | src/main/java/io/reactivex/rxjava4/core/Observable.java:11888-11892 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":6923}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf6cd03ee95d72f9b9f3fa6786451452b81b43badc80237a7de27b17cf1a7c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/core/Flowable.java:6973-6978 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:14427-14432 | src/main/java/io/reactivex/rxjava4/core/Observable.java:6185-6190 | src/main/java/io/reactivex/rxjava4/core/Observable.java:11925-11930 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:14461\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:6209\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":6973}}}],"partialFingerprints":{"codehealthFindingId/v1":"3917f725fc3587ece95b545daab67213652043b70ad6a3e47b3580b4048cd3e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:7133-7138 | src/main/java/io/reactivex/rxjava4/core/Maybe.java:2738-2742 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:7131\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java:2736\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":7133}}}],"partialFingerprints":{"codehealthFindingId/v1":"375320e421ed6b070bc6a3f958e94956bcb40e4acc9c3cb3c45ab2a4406506df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:7821-7828 | src/main/java/io/reactivex/rxjava4/core/Observable.java:6945-6952 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:7853\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:6974\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":7821}}}],"partialFingerprints":{"codehealthFindingId/v1":"680a335f507d94ceb9010979937cbecf6850cda5ed26cc11b4b102e70c1e3d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:8037-8042 | src/main/java/io/reactivex/rxjava4/core/Observable.java:7104-7109 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:8034\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:7101\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":8037}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e822dcab63fbf308d2e9aaff54da04988a6a9fc68823b91705fc31b1a48517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/core/Flowable.java:8070-8076 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:11967-11974 | src/main/java/io/reactivex/rxjava4/core/Observable.java:9853-9860 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060predicate\u0060 to \u0060Predicate\u003C@NonNull ? super Throwable\u003E\u0060 in one and \u0060Predicate\u003C? super Throwable\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:8098\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:9876\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":8070}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ee7a2780a718fdcd1485fa231403f03aa30bbf8c6a1ba269860d7d045f3247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:8101-8106 | src/main/java/io/reactivex/rxjava4/core/Observable.java:7162-7167 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:8098\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:7159\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":8101}}}],"partialFingerprints":{"codehealthFindingId/v1":"000dd0bbae72994e925c9ffc5d9b04a5dc5b6cea18a1078bf6718427d3728de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:8886-8894 | src/main/java/io/reactivex/rxjava4/core/Observable.java:7779-7787 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:8886\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:8948\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:7824\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":8886}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbd9224a74876e9a242613a8c310de30208c51e3fb8069b0e119fdfea3e980d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:11033-11041 | src/main/java/io/reactivex/rxjava4/core/Observable.java:9031-9039 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:11030\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:9028\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":11033}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ae3784d564378ae09ed60832be5b4682e53e666c4898e1139e389f8cc6ca1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:11199-11203 | src/main/java/io/reactivex/rxjava4/core/Observable.java:9175-9179 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060selector\u0060 to \u0060Function\u003C? super Flowable\u003CT\u003E, ? extends Publisher\u003CR\u003E\u003E\u0060 in one and \u0060Function\u003C? super Observable\u003CT\u003E, ? extends ObservableSource\u003CR\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":11199}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac724a89990249c18999cd64cb5383bf30f25507bb2eecf68be4906d76eb017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:11242-11246 | src/main/java/io/reactivex/rxjava4/core/Observable.java:9213-9217 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060selector\u0060 to \u0060Function\u003C? super Flowable\u003CT\u003E, ? extends Publisher\u003CR\u003E\u003E\u0060 in one and \u0060Function\u003C? super Observable\u003CT\u003E, ? extends ObservableSource\u003CR\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:11283\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:9250\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":11242}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a67d42ef884621719d3e81d56303c74557b0ad3dffb820f6765b19118d2addf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:11469-11474 | src/main/java/io/reactivex/rxjava4/core/Observable.java:9416-9421 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:11469\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060selector\u0060 to \u0060Function\u003C? super Flowable\u003CT\u003E, ? extends Publisher\u003CR\u003E\u003E\u0060 in one and \u0060Function\u003C? super Observable\u003CT\u003E, ? extends ObservableSource\u003CR\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":11469}}}],"partialFingerprints":{"codehealthFindingId/v1":"049daf3703e914dc4c91563688e7d732accce7cc557172a8444ae91895fa13ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:11514-11519 | src/main/java/io/reactivex/rxjava4/core/Observable.java:9456-9461 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:11514\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060selector\u0060 to \u0060Function\u003C? super Flowable\u003CT\u003E, ? extends Publisher\u003CR\u003E\u003E\u0060 in one and \u0060Function\u003C? super Observable\u003CT\u003E, ? extends ObservableSource\u003CR\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:11550\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:9488\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":11514}}}],"partialFingerprints":{"codehealthFindingId/v1":"f219ed88dd33075447a8a5822529e7c564bdaab3159694fdcb2e0b904c5e49bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:11800-11804 | src/main/java/io/reactivex/rxjava4/core/Observable.java:9706-9710 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":11800}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9320e52986d3ccec3ef8342069d3574d39053612215fe922eca8fcf60991c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:11842-11846 | src/main/java/io/reactivex/rxjava4/core/Observable.java:9743-9747 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":11842}}}],"partialFingerprints":{"codehealthFindingId/v1":"9692352384dab3a4283d2af2e8c6a06ec0be04304fb3c6a3cd12a6328ccffc19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:12192-12196 | src/main/java/io/reactivex/rxjava4/core/Observable.java:10056-10060 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":12192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3680f9ce6007a8d09ddf1f603e6aefba850709beebb4d90afa97134baefa41cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/core/Flowable.java:12598-12606 | src/main/java/io/reactivex/rxjava4/core/Flowable.java:12697-12705 | src/main/java/io/reactivex/rxjava4/core/Observable.java:10406-10414 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060count\u0060 to \u0060long\u0060 in one and \u0060int\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:12732\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:10436\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":12598}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4a1e271b85626e60842364a2303f0d8b540a1bd880d2bad40ac7bf651a1199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:13124-13130 | src/main/java/io/reactivex/rxjava4/core/Observable.java:10865-10871 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:13150\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:10888\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":13124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c8919fe6116a0b31a1f53ae10c4584ee9c7a2b6d5fd6eae7cadcb7dbf1a7bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:16568-16572 | src/main/java/io/reactivex/rxjava4/core/Observable.java:13836-13840 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060boundaryIndicator\u0060 to \u0060Publisher\u003CB\u003E\u0060 in one and \u0060ObservableSource\u003CB\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:16608\u0060 calls \u0060BackpressureSupport\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java:13871\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":16568}}}],"partialFingerprints":{"codehealthFindingId/v1":"39927da4d395a8f5b4ce182c2e4e5a78aa6967187740d23ad5afdd838039f1c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Flowable.java:16705-16710 | src/main/java/io/reactivex/rxjava4/core/Observable.java:13956-13961 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Observable.java\u0060 as WHOLE FILES: this scan already matched 56 separate duplicated blocks between them, totalling at least 381 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/core/Flowable.java:16705\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060other\u0060 to \u0060Publisher\u003C? extends U\u003E\u0060 in one and \u0060ObservableSource\u003C? extends U\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Flowable.java"},"region":{"startLine":16705}}}],"partialFingerprints":{"codehealthFindingId/v1":"f212b88a429c167f0e784340e8768e4a2c11d2bb0c61e2b2ba55946293b60e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Maybe.java:5009-5013 | src/main/java/io/reactivex/rxjava4/core/Single.java:4481-4485 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Single.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":5009}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3737b597b7e68c11b82329be186913feabfc56289a2286a8ac337c9cb36c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Maybe.java:5122-5126 | src/main/java/io/reactivex/rxjava4/core/Single.java:4594-4598 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/core/Maybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/core/Single.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Maybe.java"},"region":{"startLine":5122}}}],"partialFingerprints":{"codehealthFindingId/v1":"477aefb10180bba50b861c1846d561ca552a3e1bb2caaeb1f2b16dec1685ee3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/core/Observable.java:3192-3198 | src/main/java/io/reactivex/rxjava4/core/Single.java:1478-1484 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060ObservableSource\u003CT\u003E\u0060 in one and \u0060SingleSource\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Observable.java"},"region":{"startLine":3192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d9e8d974fdafbe75ce7333dcaf84dc09dced9f47457e453b22ef7e4ad5239a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java:59-66 | src/main/java/io/reactivex/rxjava4/internal/disposables/ListCompositeDisposable.java:35-42 | src/main/java/io/reactivex/rxjava4/internal/disposables/ListCompositeDisposable.java:44-51 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/disposables/ListCompositeDisposable.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060resources\u0060 to \u0060Disposable...\u0060 in one and \u0060Iterable\u003C? extends Disposable\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cdb06aae43dfc51377c4777142ae126739b3f6c55abebb235e91e87330cb4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java:69-84 | src/main/java/io/reactivex/rxjava4/internal/disposables/ListCompositeDisposable.java:54-69 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/disposables/ListCompositeDisposable.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35bb3a7d5f02544b6fcc1007df8e7706c804b993709c89671f931f758f40739"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java:194-209 | src/main/java/io/reactivex/rxjava4/internal/disposables/ListCompositeDisposable.java:148-163 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/disposables/ListCompositeDisposable.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/disposables/CompositeDisposable.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1216c046401c42b849cee4a812a8e0da30b4b07ba7357e0bde26c7f4913c9b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/disposables/DisposableHelper.java:77-87 | src/main/java/io/reactivex/rxjava4/internal/subscriptions/SubscriptionHelper.java:131-141 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060field\u0060 to \u0060AtomicReference\u003CDisposable\u003E\u0060 in one and \u0060AtomicReference\u003CSubscription\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/disposables/DisposableHelper.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc27e5ebdeb04c1a270765e2a6e6f77d33853ba403e2da51f03c961389a334a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/disposables/DisposableHelper.java:139-150 | src/main/java/io/reactivex/rxjava4/internal/subscriptions/SubscriptionHelper.java:53-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060current\u0060 to \u0060Disposable\u0060 in one and \u0060Subscription\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/disposables/DisposableHelper.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"357f6039e15aad83a3245e0cbe679ac142d7f4f1f9283772deb65f33c2122580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFlatMapStream.java:175-184 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:150-159 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:152-161 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/FlowableFlatMapStream.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"314889f6681afb058c5662640c7e93c5d15d4b2978de009553742e3da5291054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/DisposableAutoReleaseObserver.java:67-77 | src/main/java/io/reactivex/rxjava4/internal/subscribers/DisposableAutoReleaseSubscriber.java:81-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/DisposableAutoReleaseObserver.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca225479ba436055f7f6d2eba5677a4d9b28d21152b0fc0939ac70cbf6c8c13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java:119-126 | src/main/java/io/reactivex/rxjava4/internal/subscribers/FutureSubscriber.java:120-127 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/FutureSubscriber.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"225b029afbd6ed05687d9a48a8a423be6111a0bf42d2e66d2f175afd73a245ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/InnerQueuedObserver.java:82-88 | src/main/java/io/reactivex/rxjava4/internal/subscribers/InnerQueuedSubscriber.java:90-96 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/InnerQueuedObserver.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe906cd1180b8d4ba0d2afdebf9d497ac87491fd6f3bc6668fc84dbb9621f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/observers/LambdaObserver.java:49-59 | src/main/java/io/reactivex/rxjava4/internal/subscribers/BoundedSubscriber.java:56-66 | src/main/java/io/reactivex/rxjava4/internal/subscribers/LambdaSubscriber.java:51-61 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/BoundedSubscriber.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/subscribers/LambdaSubscriber.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/LambdaObserver.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aeb7ea1795431a91b7aaa6932c2a2f3bb164a1a6f287c0ce5a825e060c70d11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/observers/LambdaObserver.java:62-72 | src/main/java/io/reactivex/rxjava4/internal/subscribers/LambdaSubscriber.java:64-74 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/LambdaObserver.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec062ee98a565cff39eea342812f039429608c3268d937b2f7953b92bc7d016f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableConcat.java:133-140 | src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableTakeUntilCompletable.java:95-102 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableConcat.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df4303e5dea5d9848fc7188eecee2d0e21a60eb291b64be6d509081405f3fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableUsing.java:123-133 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeUsing.java:134-144 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleUsing.java:190-200 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableUsing.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f705b5ad41bd1212ea14b4989faef6fcd86523b0a293939a1fc32811dcd59a14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableMostRecent.java:42-48 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableMostRecent.java:42-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableMostRecent.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9046aae071f9196e2cae3d044867505339c193e22aadb29e751da6f50bd56779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java:140-148 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java:124-132 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf519186f6f8d43b9695bcdc42d85af7bcc059b3039273eedbb6b3bf1d82e91c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java:180-191 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java:162-173 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAmb.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAmb.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f87986154a9db2a81313864933fc22c9d2901beef43f856616b6d6db1c3096"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java:260-270 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReduceMaybe.java:93-101 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelCollect.java:135-143 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduce.java:136-144 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelCollect.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelReduce.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"882df83bfac092a833583888b72a449fdd86ed5b0c5fedb3bf652f9df6614081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:46-53 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:45-52 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"430d401c2e91d685a6065062085ec6f58ea18597d7f25f4436ec37949fe33fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:133-142 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:125-134 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c731f149891d496b16417f7368e25f575d91d04de90d02a955801ea4c1510f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:209-216 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:200-207 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060os\u0060 to \u0060BufferOpenSubscriber\u003COpen\u003E\u0060 in one and \u0060BufferOpenObserver\u003COpen\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd02124a12685a18b713bdd30102eb2a728aface557b57e0de8738a6101d0998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:381-388 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:349-356 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d826cd4b46756b5e8c57b25e269cb89f662e51403d1494fec3eab72364e27745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java:391-398 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java:359-366 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferBoundary.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferBoundary.java"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"1217ef479e6b3e3be07fa4e82ba46e545f7e639b5e7690d1aed7b00ca1164022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java:396-405 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java:406-415 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMapScheduler.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableConcatMap.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c2ed852db10a914de7e09bfc48431c456e041daac45a8879234157a3a3a299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDelaySubscriptionOther.java:117-124 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDelayOtherPublisher.java:129-136 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDelaySubscriptionOther.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a54115fc5002c8e3ce92fbc1ec3c4259ec2ff4e62ab1290635e21d7b7f4c09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDetach.java:49-54 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDetach.java:49-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDetach.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"09128fe2bc4b4b193e9161797fe23d895b7f2f6c7a8d52c995d06588657c471a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDetach.java:71-76 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDetach.java:76-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDetach.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac0eb6192da032239b1648fde8a2fbcaf32827e10aea489e724ea02a02eb1a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDetach.java:79-84 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDetach.java:84-89 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDetach.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dd0fa1272b45fa099fb314941fd702bc0e5ae0df5ee9d557e4519cf5e0b7e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoAfterNext.java:80-86 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoAfterNext.java:129-135 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoAfterNext.java:70-76 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoAfterNext.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc0bcf5287fc626020862d32e13c101c993902e8a9e31fe4d4a585aedc27d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoFinally.java:75-84 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoFinally.java:181-190 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoFinally.java:70-79 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoFinally.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5521346502ce84570b71458ff01a7d62cbbb8fa9fbcd11f3e516a0079999c1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoFinally.java:139-145 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoFinally.java:250-256 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoFinally.java:134-140 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDoFinally.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d4673b73b5934ab78de5c606cb06468f082da801554e245d0d630ba6ba859c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java:119-125 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:219-227 | src/main/java/io/reactivex/rxjava4/internal/operators/parallel/ParallelRunOn.java:344-352 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d547246aba97b062ad428637b4f69eb2d58b5c73beeb3cf2943ca94232cc8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java:167-178 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java:163-174 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupJoin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060a\u0060 to \u0060Subscriber\u003C?\u003E\u0060 in one and \u0060Observer\u003C?\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de030d363829bac9f14905febbac3a46fe0515ba8d9a2aadd2d5553d53a38f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableLastMaybe.java:89-98 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableLastMaybe.java:86-95 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableLastMaybe.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6813a5253b75026aba40480149c7b49413656e7d9ea4a6c7f20733d14d1aaea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java:38-45 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java:39-46 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060s\u0060 to \u0060Subscriber\u003C? super Integer\u003E\u0060 in one and \u0060Subscriber\u003C? super Long\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRange.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bfea8f2d6aa4d5adc8a7f42c4aed3e385cc5d56900d9c0a48e9611ae8e9c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduce.java:93-100 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlattenIterable.java:119-126 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReduce.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"10310847dc6bd8ebfe9836d1bddcf837d49b6f372d1bcfdfb79cab337a2cd51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSamplePublisher.java:40-47 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSampleWithObservable.java:37-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSamplePublisher.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6216bfcd73df09512d2baf4f68f59fc656f3aa8b8239c3cfbe5117fe13e81e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipUntil.java:34-41 | src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeUntil.java:33-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipUntil.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3712728748c8f43f3cbfbd3e7716c061160d08d6dd7fbfc972f053897a8191"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchIfEmpty.java:29-33 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSwitchIfEmpty.java:28-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchIfEmpty.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6baa63e6ce11f3fe0e9aba569a5170f82ab588489d819777d6c4dc4322a185af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java:47-52 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSwitchMap.java:47-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchMap.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4286526cc49cd7e19c4963f870394ae8c022abeb604548976c557772d536363f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:160-166 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:154-160 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0413392aab85c5cc280148e010bff8120ccddc08f4492db44f6591b20b4713bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:169-177 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:163-171 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3449f9b8b164d7be568df57cd22655e96ce41f7e66a7b4046ead5827576e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:355-362 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:344-351 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"f576311b6c576623c02fbb68cef639342c7d2cb4064dd33c244bf0f1f514426e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java:365-372 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java:354-361 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8ab26627554669f46d35487ef7695fae5c33af3b219495dd6602a0c7981911"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimer.java:39-46 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimer.java:35-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimer.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6ed60bf9b159101d673e18cfbb70e193a338f2c2a21ae24de90124361c6bfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java:114-122 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java:110-118 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7248d2ae865d96caa39aa84839e1b5f735023ef7b88bd2a26117606e1da2ec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java:229-234 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java:219-224 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51236d1e3609ad3a8cc2992343eb5c2d8c083e8a42dfebd5914a5470216c058"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java:245-252 | src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java:234-241 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWithLatestFromMany.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWithLatestFromMany.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d3b4987c95edceba336e09008f7f0b0d7336607d34086ce23930feb8e9eb5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDetach.java:68-75 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDetach.java:78-85 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDetach.java:71-78 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleDetach.java:81-88 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDetach.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55e07f9a4d739a1f35dd1476bbec4472675d4c147411bb685e6f9f0e84c7120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeSwitchIfEmpty.java:86-93 | src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeSwitchIfEmptySingle.java:93-100 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeSwitchIfEmpty.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e24916808cd4b851c0c8e141d7462b35494431f208b3641403c68e3c73c91e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java:99-107 | src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipArray.java:100-108 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/single/SingleZipArray.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeZipArray.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"705bf1959f681391183fdb49a712910e5dbe93d389eede457f323cc1f663556f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/CompletableAndThenObservable.java:76-84 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/CompletableAndThenPublisher.java:82-90 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/CompletableAndThenObservable.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2f5f90e5a71fa4773410d315c34eaec94b09ba3519dbfb01743f3dd46a2951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java:94-100 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java:94-100 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java:94\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060mapper\u0060 to \u0060Function\u003C? super T, ? extends MaybeSource\u003C? extends R\u003E\u003E\u0060 in one and \u0060Function\u003C? super T, ? extends SingleSource\u003C? extends R\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3563bee4df5a31103da37ff968db67983159206ed3b83568f59c833d7fc704c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java:88-93 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapSingle.java:88-93 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapSingle.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java:88\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060mapper\u0060 to \u0060Function\u003C? super T, ? extends MaybeSource\u003C? extends R\u003E\u003E\u0060 in one and \u0060Function\u003C? super T, ? extends SingleSource\u003C? extends R\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3941ed226dc126fb727172a1cf98275e5841caaa1d2673cf16058cc2849b7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapCompletable.java:52-56 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java:54-58 | src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java:54-58 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060observer\u0060 to \u0060CompletableObserver\u0060 in one and \u0060Observer\u003C? super R\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapCompletable.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9149cc9acd363a87151c3b3cc19a114c998bd6cecf7dfdb9128163e4e8d58c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java:297-305 | src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java:271-279 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e5ec83eef6e2951f5dd5079a7dac51c4da8cb7928a3403778c2662a10f76b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java:241-246 | src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java:224-229 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ecaf7bbab0e49f90dc87d7361ca0bfbdecbd69179922cc5514c5a85ea10975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java:265-272 | src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java:248-255 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c813dcdf256461b05994b547fc9aad96ad667e06a7ed5d21383853b6b68361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:285-290 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:271-276 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fdb23c537735aad352132f27ff2e039b25ece2ffbdfd92d90e611cb374b865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:330-336 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:316-322 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"2790ac1fb4907f209c1a4e55e598a0d5d15ac3076e9ac013592a485921b113fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:349-360 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:335-346 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"159a47f8232ab64dc9329f2f73ddf7b00c7646fa5d070086bc185d6aa1b30c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:372-385 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:356-368 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:387\u0060 calls \u0060SuppressWarnings\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:370\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7814c6f502705ba11e4c703fe66562d268d19f6b0b957fdeb2ae3a9674796f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:649-659 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:636-646 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df390258d163def9ad40eda4ffae50c2939e075d7ab1b4a8e5af565c8b9f045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:874-879 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:864-869 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebd409331475f810041637c8159fd9bae5645c9bdcba534531f687e8f0b887b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:881-887 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:871-877 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f08d3dbaa0ff7013b1841ace54e8cf5381eba68437405c320052fe5b2b4b196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:890-899 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:880-889 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab38c1f336d7160720595ed4d10bdd7c05cbe1419f807cdc5d1a672d7677c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1090-1098 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1074-1082 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"853ce6a02508517fdb3e66895c154e1a239ac46ca4382253b959c0ee77002274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java:1169-1178 | src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java:1146-1155 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/ReplayProcessor.java"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ebbab8c4c02e890a924c1b384469fdc57f4a9fba0fbd7d1228e0592fde2709"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java:437-446 | src/main/java/io/reactivex/rxjava4/subjects/UnicastSubject.java:314-321 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe99322fadcfc256d1fcf52827f02bdeeb5ce63948eb5a9653087b338e2ac9a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java:449-463 | src/main/java/io/reactivex/rxjava4/subjects/UnicastSubject.java:324-336 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/UnicastProcessor.java"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51fbfbe37dae38a737fc146f56f35f03946b9ab7b0b21088a280bbfaaa713d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java:153-161 | src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java:137-145 \u2014 before extracting anything, compare \u0060src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java\u0060 and \u0060src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f496da0875b5d2ff0a801a2fa73d0f01270c0f71b032013afabbb6faf1b65197"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: synchronizationOfMultipleSequencesLoop: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022The underlying test keeps randomly failing and I don\u0027t know how to fix it or what it actually tries to test.\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeTest.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3e02310930b7dc883649e43e6edd64803026d43a401ed6dd40e90bf1392a66"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: synchronizationOfMultipleSequences: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022The underlying test keeps randomly failing and I don\u0027t know how to fix it or what it actually tries to test.\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeTest.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"997c54ec65e53edc394c822751322fb7786414bb7ca747237b2f59843a00c7cc"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: synchronizationOfMultipleSequencesLoop: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022The underlying test keeps randomly failing and I don\u0027t know how to fix it or what it actually tries to test.\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeTest.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"500a7fb4f4090021bcb300d5cf6c0bdfb2edc92dd1a653aca0ecfb500fb160fb"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: synchronizationOfMultipleSequences: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022The underlying test keeps randomly failing and I don\u0027t know how to fix it or what it actually tries to test.\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeTest.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa3a6f9aa3e1f45186cfbac4df0f0381225df6418281ffacbf9974ff8c2f24c"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: notificationDelay: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022this is non-deterministic ... haven\u0027t figured out what\u0027s wrong with the test yet (benjchristensen: July 2014)\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/observers/SerializedObserverTest.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"69032cf9ef632c1c3c505c36bffabe2218049ba6a9dbbba23e5969c761fb554a"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: notificationDelay: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022this is non-deterministic ... haven\u0027t figured out what\u0027s wrong with the test yet (benjchristensen: July 2014)\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/subscribers/SerializedSubscriberTest.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7f9cc336be7fa9fe6de8bd2fedef3d34864fc3055c84c8fa19c24cf4a7c2f3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 60 significant file(s) lose their only recent owner: src/main/java/io/reactivex/rxjava4/core/Maybe.java, src/main/java/io/reactivex/rxjava4/core/Single.java, src/main/java/io/reactivex/rxjava4/core/Completable.java, src/main/java/io/reactivex/rxjava4/plugins/RxJavaPlugins.java, src/main/java/io/reactivex/rxjava4/schedulers/Schedulers.java, src/main/java/io/reactivex/rxjava4/observers/BaseTestConsumer.java, src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java, src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java (\u002B52 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b170c6f26a2cf2d6ce7e47c89b087887bb5ae2af42560131961157b9767b2d82"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (61 single-owned of 673 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 673 of the 1012 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: src/main/java/io/reactivex/rxjava4/internal/util/AppendOnlyLinkedArrayList.java."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO insert new config record types here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/validators/CheckParamValidationTest.java"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f1dd4fb5b006967d6102a9e3f73875b8c2e3bafa0534d043107b70014f7000"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Exceptions.throwIfFatal(e); TODO add fatal exceptions? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/testsupport/TestSubscriberEx.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"468e2cf4501ad296cc3599022399598cebf40e46b5add19aa2cf3c23397a156e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Exceptions.throwIfFatal(e); TODO add fatal exceptions? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/testsupport/TestSubscriberEx.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"853af1dce18316dc61b1e5b4555ea4136a3c3c5fd40bbf482fcea4d4e6f1d9f2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME ? catch consumes this flag \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/testsupport/TestSubscriberExTest.java"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d64c093e93ee49b6e1dacf7c04c1dc0cbfa5cc9f79261475665bd17a080645"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME ? catch consumes this flag \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/testsupport/TestSubscriberExTest.java"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e06502bb35f3c85d2736b6cd04a2e2c1d3aaaf9ba862906d1db0f57893decc5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME ? catch consumes this flag \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/subscribers/TestSubscriberTest.java"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ee29a665bba3cf19fcf46314a33df60181b23b884c531b9583fca14451c67e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME ? catch consumes this flag \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/subscribers/TestSubscriberTest.java"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ad1f97c065cf7ef71ef36df67d17751c3257fec0ace955484839212b366e62"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME ? catch consumes this flag \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/observers/TestObserverTest.java"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f556dd8c86298fc6d5eb02f748c7cfb4deb2d21d0d7f18e03bf983244baf2d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME ? catch consumes this flag \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/observers/TestObserverTest.java"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"566bebfd65295715a37b08998fc55868f2c3f446a05edbd52c370903851c6e3a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME was plain null which is not allowed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/subjects/BehaviorSubjectTest.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"864574f8e7554fd1c34844383f4fc1c2e44de44953939b4140a190c4b0e5b5ee"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME was plain null which is not allowed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/processors/BehaviorProcessorTest.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a48dd0c8255591c3a1ecc1f0398304cc2c4a76756d7bc7e0a80e1639cb4d1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo bug?            assertNeverSubscriber(anotherSubscriber); \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/subjects/PublishSubjectTest.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea74240634285cf3e3068f8c7beee025c324809f5e11a397b4846ff7fc7e9262"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo bug?            assertNeverSubscriber(anotherSubscriber); \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/subjects/PublishSubjectTest.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f23491ab5fb0a7b67d52de3804ae09c075ac655e9b1896474aa7609892a9d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo bug?            assertNeverSubscriber(anotherSubscriber); \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/processors/PublishProcessorTest.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"552d766c984dd6dfa0368e576778597595686ad90a78765d6022a1f03ab7ece2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo bug?            assertNeverSubscriber(anotherSubscriber); \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/processors/PublishProcessorTest.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"826cb89faf0e9d58a58c06d2f0dcda2367c04d7fbdbaae12da272bc9714e9138"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME groups need consumption to a certain degree to cancel upstream \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/observable/ObservableGroupByTests.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1ecf89b3c9d5e34316ebd8d14219e7c06ec2d80623506edb47d6dfc560fdb7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME groups need consumption to a certain degree to cancel upstream \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/flowable/FlowableGroupByTests.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f0757eb92d8f669987faa252ed9a9e25399bd20451ed7ab67b3de3e668d426"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME custom built??? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/observable/ObservableTest.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6352068b564d410d984e2947c92cf0ffffc551b9fa507f8dcc60401430d903d3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME custom built??? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/observable/ObservableTest.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c24679678a10fe8c6bbab737b1090f30c0bb214424cb6329e90cc40b094da26"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME custom built??? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/observable/ObservableTest.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"325b76e984b517d61028fef856387bbd16f64a9dd3ed8a241c734dddd5e01135"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME custom built??? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/flowable/FlowableTests.java"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d533150cdb247c3ed42e125c1bf7b466c4b8bd14e4f7afb0c0b75841b22c85"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME custom built??? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/flowable/FlowableTests.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"9111062e4dd29acef7b12216e01576c359906d3c6410406dc1da03fcf33fd97a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME custom built??? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/flowable/FlowableTests.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf52c5440bc8da218acaafeb0dcdf5862d3a730a2849314c1bc17d3d5545883"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME nulls not allowed, changed to \u0022c\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/observable/ObservableTest.java"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6665a4aa2e24d7f453e0e801cd3674c4b6adaa6fa5a17a2c327bd180e1a1e8e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME nulls not allowed, changed to \u0022c\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/flowable/FlowableTests.java"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"89138dcb42e33da82f8d835143e310ee2958d50132df3b0070e3c89cefbdab7a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME null values are not allowed, removed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/observable/ObservableTest.java"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b83f40002a5a1c05a70dc157b143dcf96cd9e15d2b3bbd76aceaa3d2c01edc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME null values are not allowed, removed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/flowable/FlowableTests.java"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5106ef74048e055e7b3cd4140cfcaf1327e3f72500cfa24c81a1725538aa714"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriberTest.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55f3ddb134c036f9d2b5681e2933ec3bb406fb6f7c02d615a101315351e1481"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriberTest.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53915a7f416c1910e18421edbc76eb95968623f78e775dbece66ebec606df06"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriberTest.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"993247600f2ecb408b74467a1d6affc0085501e2d70ea830f11433969647a532"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriberTest.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f29b93a64955bf38b78a420aba9e07f581c2e599addadbfac8f3743d0b64420"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriberTest.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e43951a9d126ad5ce182ebe60c830f657492df544222f773fdd6d0522b9a7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriberTest.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"057428e3d86c901d91cb2896832fe4869e03990bb77b44ed17869dfded15e605"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriberTest.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f70c412f9c24a57ce09dc1a344dce0480660959ae1cbe34a2cc7c5761428ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableConditionalSubscriberTest.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3c3498799ff627c8f4f5ededb16da22cb12d941f6090820508cc2a57035b35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/subscribers/BasicFuseableSubscriberTest.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7545b6f7059ecde33d3ba7cfe6abebd657c6b2b5c54e3f86ac5e2880eeb052"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryTest.java"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2c91a399c9b34cf4fe17be138eb25ea758e37d064239e3ab4e3f0665f84a4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryTest.java"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"5766da1e2bfe3608cdca4403f6113a3184d94d54b7d1d5f4247874f00572edf5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/exceptions/ExceptionsTest.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"403dfeef3b0aa0fd56f97d9b714d7a93c65c7dccd4f77f8a9c5024a7be90493f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/disposables/CompositeDisposableTest.java"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c671417a721dd5683bd2ffa64b731c580880eca95b18464a8f13a6dba4b4ef0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME why sometimes we get here bc gr.set never runs? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableGroupByTest.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df1c9cd6c79f1f660b9806734386d2f1a2c8628882eb9a07f613c1323583420"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME need to decide about adding the value that probably caused the crash in some way \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAllTest.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fe6b1aa2c5c7e14fec74253c054a39688415cc787b9674be623664ed7e363f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME need to decide about adding the value that probably caused the crash in some way \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAllTest.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4304addb318186d7db806df77f43e3930bceaac26e5882d813a8e23762c585"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME need to decide about adding the value that probably caused the crash in some way \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAllTest.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4753442e1e72a08287705ee78b24b2c6bc1ee9607959f7f395fd2542b7feca"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME need to decide about adding the value that probably caused the crash in some way \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAllTest.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ce99c86e9c6ae3c01cd2139dda6f2c16b7264e8dfd0539af7445f30091d782"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME value as last cause? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAnyTest.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"9962b048a47814160e793a1db4ae13b378836f1af9a390684583b981bc54bf38"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME value as last cause? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableAnyTest.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbd93d76315b784c15024fddfca5063867402817fdfcd02c5567b20f875ab2a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME value as last cause? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAnyTest.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1d037696f1ccec8ab73261852979bf8ecadd9a8e80bbc6f4e432cab8acddff"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME value as last cause? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableAnyTest.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51e21a9f3323e0cf7974c8307bacb56fb318606a973111e20677ad0bac49638"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //        ts.assertUnsubscribed(); // FIXME no longer valid \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableCacheTest.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db7bf78d4e40e03d8c4ce3bbb9eea970b04fc9d4945e77e3fc9aa504764751d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO verify: concatMapEager subscribes first then consumes the sources is okay \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableConcatMapEagerTest.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"85125e0fd61250063333478dee896a86a8a39e55da2d30ee303dd9c8f17d9959"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME should this complete the source instead of consuming it? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDelayTest.java"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5f9a326f5c536122668f0b1c6b908a6339550a689c4d2be20c07c24dcabf9b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME should this complete the source instead of consuming it? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDelayTest.java"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b552ee52a6ba8c137feb09a636538b405403c521d12f62c92f19c3ff5a5e46"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO decide/implement fusion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0f7b82af1613e188f1f2c71b44192d1853b10990710dd9518362e5b26ac460"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO decide/implement fusion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"708cd3951732125725ef3ef9e84c0056c65143f0f92812f0f2566b74ce386250"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO decide/implement fusion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e0aad960ed29473acfc61358430e72e7875575e58fb87e016328efccacb192"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO decide/implement fusion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3e9ae179835592c8510f3da8eb5eda5b128e6e4b42b49afa861d3a86e8705a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO decide/implement fusion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddcf407f4ee7f073705422fc10c346b682665aa66d918706f105ae5f6fed350"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO decide/implement fusion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"da374a5adccd02d2c46f10f3b512528cb666c7616ba385a69281a3b87c7a00b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO decide/implement fusion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dcd56f612553d8c6c58e0d85987a3d908f53ce62b8591a45087a76d66adb4e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME no longer valid \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnUnsubscribeTest.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"70135b0f82a1eb824f344e80420f36b20236aaa59a3414ae0ef048851bb63d57"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME no longer valid \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnUnsubscribeTest.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9ced08ba3d10bae02a898333f3636f17ff7f98b37fff2b39877909944b26cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated catch block \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeTest.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62035ed2a101be57aa349c6c42d663aa409165b27743639133b47156e309ac1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated catch block \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeTest.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9480de557425cfa8311e63bb09b24c3d611c69f7ec2b13116d37de1ca3e3d213"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME not happening anymore \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeTest.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"65830c10b0b6dfdf98045a1552d72422f6b89af5cf486cf360963c7a7f3d0b81"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME null values not allowed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableObserveOnTest.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0773413ed2f201d8c518cc938f1f0916919953d382ed277eac38504dd60b69b5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME null values not allowed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableObserveOnTest.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2101b1294608a5d7fb8e09874e95754f96965e1f03700a528babd16290556d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME toBlocking methods run on the current thread \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableObserveOnTest.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3ef9ff78c5e2fed001852aa79632dfd8871bf162c2fe423d5ec8b0dee7f0e7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME toBlocking methods run on the current thread \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOnTest.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2911066fa6d6f0b40f4c6d0227b3e7b645c9b407ac0cf46469485cbeeee97dd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME toBlocking methods run on the caller\u0027s thread \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableObserveOnTest.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6894113b525ed31a7a687138b4e48b6932ec43a5d9b9c9c66a168df85cd842"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME toBlocking methods run on the caller\u0027s thread \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOnTest.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f080fe122283d35a580152252fd7c73e3e20074b110ea8bd6028ae40acdc327f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME toBlocking now runs its methods on the caller thread \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableObserveOnTest.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1774e995571106496b0332fe5614a062969db7b4bd0ae3fb642ada4a72c4ba"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME toBlocking now runs its methods on the caller thread \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOnTest.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5711d2e61e7940d2bafd5af9b8dacf29e74ec3cc0f86f34b6364975b58236e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME not supported \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplayEagerTruncateTest.java"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbc89fe023a53971357598762de217b386202fed8521aea2cff1aa746e00bed"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME not supported \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplayTest.java"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77080efa767e8f91e606142c84a6385f5ec569131ef950eea9007abb5e6eee8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME publish calls cancel too \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplayEagerTruncateTest.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94ef35d87b1116c87383ff5113f708830e40a4fceeefea844b4ac49e76cde6e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME publish calls cancel too \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplayTest.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"5051e4b239ed1e16920ff104d8bb24a6c62ffb4e485cb2a79aa8fabc11933ef6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME publish calls cancel too \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplayEagerTruncateTest.java"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"77acb8e2e43eb2263b2f158b930339c59a49a185bd9456333653c615337e3215"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME publish calls cancel too \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplayTest.java"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dbc697a085babf8556b0a49504c7f27fb87bfdb21419ca879fb144072304bb"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME no longer supported \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplayEagerTruncateTest.java"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"211954a36ca0b1b270463874a7146097527ad78755d10155671468b031c78ec1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME no longer supported \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplayTest.java"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f0f08240a1a11fe92a8b08e6f4f25ca3ef2d9e02d45c1971c2a2c66145f377"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME publish also calls cancel \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplayEagerTruncateTest.java"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"96deba5581d20461248a278d627278ae39e16c3f37007a813683044adb4a527f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME publish also calls cancel \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplayTest.java"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0bb5be08c64df80ed5637cf63c1e7ae82c269e4122d2ee0db263072df6210a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME publish also calls cancel \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplayEagerTruncateTest.java"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"597e909ad63a2797a779fb387d3786d98a2ebbc9f484424215f0567d59504498"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME publish also calls cancel \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplayTest.java"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3d6e41428cbf5b2ed6a245015cfcb9ea6364bc04e4d897b0941e337c3c5f29"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME no longer assertable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplayEagerTruncateTest.java"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe2c9d9e1a753428a73357a2b662a08cf4b37160beac4addb635fd6d4bf74c6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME no longer assertable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplayTest.java"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a9f362e9fb9ac5dd279e146056b3b8a6d4343a2c4436b6084e451fcef9316e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME no longer assertable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSwitchIfEmptyTest.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3415091720b02e76f9228bf42ed4551cb62c40307b841b0184c9fdf9aa299440"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME no longer assertable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSwitchIfEmptyTest.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1721715dee5377605d44baeb21138d54b8cc73892aab65457ee9a989721189e9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME no longer assertable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeTest.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f57f6aacf787de2583eb411d7da3ec16fbe936fe45768e9ddb64525575007e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME can\u0027t unsubscribe child \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRetryTest.java"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eaa45351a9f806f7a0d719f713b289dc55e3c39e5bbfb88eebce960a628b347"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME can\u0027t unsubscribe child \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryTest.java"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c661ef1bd7ddedcd1a4c7f70a6b82a82ec6665a6920675bd56879a75b4370d1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME the timeunit now matters due to rounding \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSkipLastTimedTest.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1299afb5e4c42e2d953fa45d2b1b9fd088a79130a3f2e7bb787f1e59923f94b1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME the timeunit now matters due to rounding \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableSkipLastTimedTest.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e727896f26a1c1eab9501d84228524c5508526b7620a7d4176340aff0bd464e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME the timeunit now matters due to rounding \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSkipLastTimedTest.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cc0602c4da193f4e6fb0b9b809f052325f7b87328829c7f23f5ac6d55cfbaa"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME time unit now matters! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeLastTimedTest.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f668ff71eb412b8e9bbd123a0c535094395d9287c6e5dcc81187d02b16f1ad"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME time unit now matters! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeLastTimedTest.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06abba4fecd1cbcc339d9236e65283ba7740b649f67fcc0effe290e84e4863c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME time unit now matters! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimedTest.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8168cbd9402541cb457515a3a3bf7936f99b410e2ad494e02f346695adb8b9c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME time unit now matters! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimedTest.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4decdc99fc6450f2fbe877f8772eae98136177a3eb0b2cbd4c9368e5748bca8b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME time unit now matters \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeLastTimedTest.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"573dad0ec9233dc32304400d9b002068be4c17836298ecf31613245ea9591acf"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME time unit now matters \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeLastTimedTest.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fac8e241852c2746b6d1aa50c1ebe3d9ba04047fde39aa836569e6ddbc419c5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME last cause value is not saved \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeUntilPredicateTest.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d32548753f98895c5407aa5428f8570f3d0f01a5326bcb2b6f77b870b4f2b5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME last cause value is not saved \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeUntilPredicateTest.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4630ae2080d792de60aa91d31607df86ed411bb88c35e4c87234ee38a24ae6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME last cause value not recorded \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTakeWhileTest.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"00afaa610fc2b3af534430c01e4a8993e8980a5b2224e7f98bc4711a09c630b4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME last cause value not recorded \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeWhileTest.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e65fd9f27665da3feb90d4f55a102462c6fd9787740be3659290a5915f3d65d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME subject has subscribers because of the open window \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowWithStartEndObservableTest.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4812d6c00108dd09a2842bb17cca072737541e03dd80417bcb533728cf53f60d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME subject has subscribers because of the open window \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowWithStartEndFlowableTest.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3102485870266604df731e00a14b3d4205b109e6e10d441233a4ff9c3dd1f01b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME happens after the window is open \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowWithTimeTest.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"463449608f9841f6cf908e40edf76ea4f8269d73f0648c9112f77c7bbad16a9e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME happens after the window is open \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowWithTimeTest.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"424c0e433b05df8b400e8636dade93cead075e0c27b3c0a99491eccba9214850"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME I\u0027m not sure why this is MAX_VALUE in 1.x because MAX_VALUE/2 is even and thus can\u0027t overflow when multiplied by 2 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTest.java"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"85de0b501549b784a6ec4d9679bfa11c690c062bd3857101d60100cecf38ea06"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: delayed requesting in groupBy results in group abandonment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupByTest.java"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7176bb68901f8ca11493f359b63a6ff444ebac1cb430a54a0e5a62c76f5fdc1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME fusion mode causes hangs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupByTest.java"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"999f47e8bc31e9b2757492e66a089f8dbcd2bdeae830ba84ac1a68c411484fb4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME fusion mode causes hangs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd32e27c599ea29e43191b551d59a106b45f612abe1dadcf084e9dbb5ff7183"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it should be acceptable to get a completion event without requests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeTest.java"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb9c8d9d13495b706a7150bbe94bdcc82ea4a95d53ace5a393282b26bb0a3b5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME observeOn requests bufferSize at first always \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableObserveOnTest.java"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ba1eda90d2f45c68613e50b47bffa645784aa26b9489d49617ae00768cd306"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME RxJava replay() doesn\u0027t issue onComplete without request \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCountTest.java"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d937e8ba0228341a434f466aee8327b8605879acc872ebb7ef25d6fe11a2d09"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME was 3 in 1.x for some reason \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRetryWithPredicateTest.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4296e82992e17f304d7fd6bd6289404af0a1ef80265dc92978891ce230df764b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME single now triggers fast-path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleTest.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8c69776089e5897375e12ff814ac181eba4ada3fffc12ac3799a31f5240e6c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME single now triggers fast-path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleTest.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdab303746199c43184d52354ddb0a72efdf77a167dfd8cfe344b4f21ed4eb4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME single now triggers fast-path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleTest.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9faf134351e4e915418bccb75996b64bbca05fba17626c5d5de2e79b27eec89"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME single now triggers fast-path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleTest.java"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7fa2843d6912a89575b324d8a7fe1ff5aa1b857a89c75936842af99d3da751"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME single now triggers fast-path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleTest.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"50aed3d5a6c866ec1dd3bb2f31efbc913edfd36884012644790b3275793c9c3f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME single now triggers fast-path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableSingleTest.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"29af41985129913cb51960ebfb8189a2cb525d5b01af2a6a8a76ce17aced973b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME take triggers fast path if downstream requests more than the limit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTakeTest.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"06aef5cf0dfd8bcb3d36e2a33863f4d6b9c344afafc06d830dd94bd7df78c70c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this test is no longer relevant as nulls are not allowed and value maps to itself \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/NotificationLiteTest.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4889188ef1c7855c9e7868266f6ab6e1977c5448442ce2ef427c9ece6d546c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME LATER \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/flowable/FlowableBackpressureTests.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"217ec336672e3f595b200641e90424acf192d40ff649ae035fe91772de86dfeb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO is it possible to make this deterministic rather than one possibly starving the other? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/flowable/FlowableBackpressureTests.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0eb66a0dd336fca69980c421decf9eca78f32eb8adfdffd56785fa52317dae7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO is it possible to make this deterministic rather than one possibly starving the other? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/flowable/FlowableBackpressureTests.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b22c1c2d5c5d42320e76975cdeaa1b6d8dccbf05539afde2aa898e4dc08d584"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO is it possible to make this deterministic rather than one possibly starving the other? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/flowable/FlowableBackpressureTests.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4f3ab2876d6d744929ee5b6030b7c985895e29cfa1b827909e70a6415029ea"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME it is possible slow is not slow enough or the main gets delayed and thus more than one source value is emitted. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/flowable/FlowableBackpressureTests.java"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"983fced4ed4f9c39d077bff523a2191be60f92cfeab920b9fd7f581eaf30cba6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME this request pattern looks odd because all 10 completions trigger 1 requests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/completable/CompletableTest.java"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8dead6fa5deb16f5e719ef50ebff882bbcb0c82802dc24848eff2043cee38d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME this request pattern looks odd because all 10 completions trigger 1 requests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/completable/CompletableTest.java"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ea76d713cbdefa78b77c04058acb2bc560358bc0055af0f35f1cd8788eb4a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Exceptions.throwIfFatal(e); TODO decide \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/plugins/RxJavaPlugins.java"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b01f1a30d8761f5231817b566d56448118caf5a48822d69092ffacee72ddae"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME not sure about the name clash with Streamable.current \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/operators/EnumerableSource.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e279a5623b4587feb7d764032cc4f017610a0ce3ff551499e796de2b1a0d6a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/operators/SpscArrayQueue.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"80406868c744c14cc0dfb0f4ca5afa2870a551e3577c4ef32dbf025f7e3170c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO enable fast-path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/util/QueueDrainHelper.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1148659132f95e27788c15066799833d3f89217f266a091ee477b5442943994"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME, generally we don\u0027t want to shut down RxJava schedulers like this! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/SchedulerToExecutorService.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c88eddd62e7fb046e2712bef7beeddeb1a59f5d6fe704d58eda04ee6b373b4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME, generally we don\u0027t want to shut down RxJava schedulers like this! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/SchedulerToExecutorService.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20093ec49a41d4b5725090aa4d11b25b0a8dcb75300890cc2407dca8b3ffc94"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME no idea how to passively wait, not really applicable in Rx \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/schedulers/SchedulerToExecutorService.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb7763b48f24c8afc017267bf5478b6afecb768cff4d603ed7c0c75a3102845"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME maybe??? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ac7a582c405d4d3935c58faf8336eff7bf6e552a5ec4c21b0c7a5e5cc4b0c9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME maybe??? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableFilter.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8fe2b5e91daa2e6a54573c79a720261e50482850f28dfbfa5d6ac414477832"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO whenComplete \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableGroupBy.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2714af07cd3a157d0bde266c8576f64557ad0f5d1868c572dcd70c9bf3746a1d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME coverage possible even? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableHelper.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"032f88076eb6a7f9ed4b7ac412369d79e72ab39430a18f59404aca7ac6828f1e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME what should happen to upstream in this case really? have the error delivery call its finish() method? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableLift.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7daf7c85e7fe8564e5155dbb8cb7ac9e6ca6364a6774ad02922c2c49c83f3c94"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME some operators don\u0027t clean up their StreamerCancellations so we hand out clean ones for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRepeat.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa965c02d7c32685c3f7d97a7ba6c0d362826941913eae33b66b8da58b8eb03"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME some operators don\u0027t clean up their StreamerCancellations so we hand out clean ones for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableRetry.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"17540f38d4df0e71e51801c60ffdc3567a7d0a050e47bfc01b0d66ad79f63a62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fuse back to Observable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableLastMaybe.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"606cca674615bb8807f46930385bebc17d6e1519af04b7d1e7285f3082d2f401"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fuse back to Observable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableLastSingle.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"057e03321b2a1c0b1df2a708fffadaa9bfefb87dc868ea833e7f545599fd67e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO since only left emission calls the actual, it is possible to link downstream backpressure with left\u0027s source and not error out \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupJoin.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a65c294fa23c6145d06b29eb14476c776729f32e06df2ebdf7df9254cdd568a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fuse back to Flowable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableLastMaybe.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bb17e10720e2f2524451a21d55c9eec4c522833157aff6da46528e5bec93bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fuse back to Flowable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableLastSingle.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc735772be2d1d938238ac066e1eebe32406ecb8ac70622ca20929e058ee1b72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO plugin wrapping \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/completable/CompletableLift.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"880dd24370b9e8d8aa461bf7bde7259ee9cde04283979ad6b87d1e1db28fcac4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Streamable.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6432383dd428dd831007d03078d70457776867baf3beb9c70c8f36702a7935b1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME native implementation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Streamable.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"001fb5c60eb73de76058b946cac000e4bd9c199701636cb22e65f505a0ccc58f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME native implementation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Streamable.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"539123c37695e5bffe094343e62586a84f569d935a9bc4a278a2b5eae55c2e87"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME native implementation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/core/Streamable.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7844da0d8649831751b36cec2a075bcae7c3098c032cb5007ca2f27e004bf2eb"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"484d1a22ca98f193771891c02f70d07982f009e488990eb9f77228a657d8c04f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d983d1f5611b54e9acc19f7e0ac48e12f3adaea515a788a9f16ba873914c2264"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 7 of 673 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 673 of the 1012 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java, src/main/java/io/reactivex/rxjava4/internal/operators/flowable/AbstractBackpressureThrottlingSubscriber.java, src/main/java/io/reactivex/rxjava4/internal/subscribers/BoundedSubscriber.java, src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureReduceWith.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRangeLong.java, src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnTerminate.java, src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureReduce.java. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRangeLong.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5f0f400e373873ad92bbb15ce7c1057c7373875a5064f057707d0564967036"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/AbstractBackpressureThrottlingSubscriber.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e0508b385638defc212987f62cc8fe6789fe556c15a912e0c142b15b5f4dce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/subscribers/BoundedSubscriber.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f880159d137f465659c841666f73c2bbb6a87001d881a6930491d66a031aaee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureReduceWith.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce35ab947e7f9ab5c2649c31db72feb1dc200bb54eaf9236425f1e8dbb2f85a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRangeLong.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"155a14dd2210424f9e161039806373f7f1fd0c7f60a3b259c312e183f87aa145"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/maybe/MaybeDoOnTerminate.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"311a531722b2ba1c5213f0ac8116731ca433949ed4de4b0d24ca3a7dee0ddd3a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableOnBackpressureReduce.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb11666e45c993e592fd2eb239d82e90fb88ad7405df7af1211e7a944ab8a947"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/core/RxJavaTest.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e1ab1cf5539c0145e54d39331a1b2b1035f92ce38ed3a06182705baa015d22"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeTest.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d796f68b6aa96f62283bbb332351c03424921527d4dc7e7ce0c1e9ede8b877"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeTest.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc9c77c410858ea0e34bb05f9d91560af1d7e9e442854e292d319ce4ef02003"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdac14b11ad55aed9bf845d95c06f06c8c24b0afd13bfc905150231cc69df35"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"93704793d216081baab0555c04c3471d7f63e915dc400b3d6cd75a8609802ca2"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c534bfab1284ee8cbd5270b973e136a560c28eb976639c9f13cf3bb4297528a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23aa65e0e2781eac902f6ae6abf824198bbec31b4dfadda1dc3eaa6acd6faa0"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"a897e6ba55c894871ac3dd48de1a79bd05f59e9080915ca58f9d0064faf61350"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fb5e714dc5c07809d3cfaecec52578de52fe894d7e0349d6ea79ff5114fd36"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDoOnEachTest.java"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"0028fd9fec55d612c3ba6115c1f4e6934ae68f3e5e32f8d1d7c207a92d46cff6"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeTest.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"93903cf529f984b021fb2eb3bb06e0257950028d2aa8dc2d59a6ce8f77f1ca74"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeTest.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"748dff127a8c250fa9a3f2bc0067924a1d9ac9177ee9facbb5c6d64eede66007"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/internal/operators/streamable/StreamableGroupByTest.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"975ef6e675cc420f973a26a01a28a8c759fbd08219a6b3410a0b502c4e9622e6"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/observers/SerializedObserverTest.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"716c406554de58cf261f23fc0328cc6c57b05b581557a964beb6953c4c245fe0"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/observers/SerializedObserverTest.java"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8451f98ba897b29f8e1818df05da2261c1014f7c85f0989e9bdb5d114f5776"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/schedulers/VirtualThreadSchedulerTest.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17f81185d68d17a6fd1c1c5a9167be5b2109084f86d50e244f9818bc57e6c47"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/subscribers/SerializedSubscriberTest.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"5119d1c647463cd8fa29c5b0e9a23776062bfa38c5f30a6cd6bb9c825ec8f69a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/subscribers/SerializedSubscriberTest.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"3050461540667779f43613dc063e92dec32f9dabcbca6f83a758a6508442cdd1"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/io/reactivex/rxjava4/validators/CheckPublicFinalMethodsTest.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca54f44053b0ce96b6e0d7c0068a31f8b64963099d5a5581c7287b170f39203"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"warning","message":{"text":"SAST runs, but gates no merge: \u0060scorecard.yml\u0060 run(s) a static-analysis scan, but no workflow that runs one is triggered by a pull request (or a merge queue, or an unfiltered push) \u2014 the scan fires on a schedule or a manual dispatch only. A vulnerable change therefore merges clean and is reported on the next scheduled run, by which time it is on the default branch and the only remedy is a follow-up fix. Add the pull-request trigger to the workflow that runs the scan so the finding arrives before the merge rather than after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"73211886541038635ced0208da9cedd27ed1caa9132fd6aa5e44d2976a4de6d6"}},{"ruleId":"P4","level":"warning","message":{"text":"No deployment automation: No release automation was found in CI \u2014 neither a deploy stage (Helm/Kubernetes/compose manifests, an orchestrated rollout) nor a publish job that ships the built artifact. Releases appear to be run by hand, which is slower, less repeatable and harder to reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7a7f38718309412c2d2c2c0663260a3d160de9a5a60f3915755be16386d3f1e8"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/jmh/java/io/reactivex/rxjava4/xmapz/FlowableConcatMapCompletablePerf.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5da63d408b44599e785b0425283607d2c1e65309e612b55b4eee823d65ec9c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!conn.connect.get() \u0026\u0026 conn.connect.compareAndSet(false, true)\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservablePublish.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b9312545d6a991bd6a4a9f30af7a7a261cc5b67fa73a848b05eab390a0f0b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!done \u0026\u0026 queue.isEmpty() \u0026\u0026 !isDisposed()\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableIterable.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableIterable.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableIterable.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8b9fe837694f37fd8e9bafbe9d4479932008bb057a17460f39a66f0a3a20fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!once.get() \u0026\u0026 once.compareAndSet(false, true)\u0060 appears character-identically in 9 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java, src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableCache.java, src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowBoundarySelector.java, src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowSubscribeIntercept.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBuffer.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b32a1b236f3e4038d21c1a8e404e05268a2a03b9367e4f01f2e2835956aea29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!ps.shouldConnect.get() \u0026\u0026 ps.shouldConnect.compareAndSet(false, true)\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"937faacaddce51aae8e704d7d6c25dc7db2087166e5e2c4a95db5eb051979f66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060NotificationLite.isComplete(o) || NotificationLite.isError(o)\u0060 appears character-identically in 3 files \u2014 src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java, src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java, src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"3533e6d15b1b4a78e2ad538d0bde6c06f7155e484090b63626ced40e765eb6f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060NotificationLite.isComplete(v) || NotificationLite.isError(v)\u0060 appears character-identically in 3 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java, src/main/java/io/reactivex/rxjava4/subjects/ReplaySubject.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb30ce9b2cd4076753675655abbf9240f36a7cf32c97b8cddbaa2dc1e1b0ce13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060NotificationLite.isComplete(v.value()) || NotificationLite.isError(v.value())\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"a341fefae4e6a47ae74d920541f3e1c964be93a01a8ccb0c225e4372568682e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a == this || a == DisposableHelper.DISPOSED\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/observers/FutureMultiObserver.java, src/main/java/io/reactivex/rxjava4/internal/observers/FutureObserver.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/FutureMultiObserver.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f732fb6e407512a6f9cedbc9faf129984888e46f510b2bdcc8dcef730cb82921"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060boundary.index == emitted || !restartTimerOnMaxSize\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindowTimed.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindowTimed.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53987f6f2ce24b609304d5f07ae49ec6c6527259b5778753e78f59483bb232b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060concurrentItem != null \u0026\u0026 !concurrentItem.isOnNext()\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableNext.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"81eea14b20c738e076aec64799214a45e4b9af3759a6fe8d12e521ecd5964289"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current != null \u0026\u0026 current != INNER_DISPOSED\u0060 appears character-identically in 4 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java, src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java, src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapMaybe.java, src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableSwitchMapSingle.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db7c99cb0b3bcf200d9ac19f13a1c303e9996b206c5cdef767347ed7705b5db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current == null || producerIndex != consumerIndex\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b06a7c057981b0e3b56f2433fa686ffc2f6abd2f4ef6ceb97d1716f40e61130"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060d \u0026\u0026 empty \u0026\u0026 os == OTHER_STATE_CONSUMED_OR_EMPTY\u0060 appears character-identically in 4 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java, src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithSingle.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithMaybe.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableMergeWithSingle.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeWithMaybe.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"19648f259799cf816bf1af52c03c05f705dd015ce996792c738197f5d6a01c72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060empty || current.item == null || emitted == requested.get()\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java, src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapSingle.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableSwitchMapMaybe.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bad5f84f998ed582686443758fb276b76d13272d875782ff2ca923f79838a20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errorMode == ErrorMode.IMMEDIATE || (errorMode == ErrorMode.BOUNDARY \u0026\u0026 !active)\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapCompletable.java, src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapCompletable.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapCompletable.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f165d4f8bd51a1802b9165662473fd6f2f4e67c997719688ab087325086f13aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errorMode == ErrorMode.IMMEDIATE || (errorMode == ErrorMode.BOUNDARY \u0026\u0026 s == STATE_INACTIVE)\u0060 appears character-identically in 4 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java, src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapSingle.java, src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapMaybe.java, src/main/java/io/reactivex/rxjava4/internal/operators/mixed/ObservableConcatMapSingle.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/mixed/FlowableConcatMapMaybe.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"accd8049a3ef7c57e23b359bf32b4198b99584f97fd09de0303ed69aeb54b6c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060idx == Long.MAX_VALUE || !compareAndSet(idx, idx \u002B 1)\u0060 appears character-identically in 4 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java, src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8194cf4aab7ed5717835a2400ecbc2a8cea19eb73a4b5ce45e0b5bd509c2b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060idx == Long.MAX_VALUE || !index.compareAndSet(idx, idx \u002B 1)\u0060 appears character-identically in 4 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java, src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeoutTimed.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeout.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableTimeoutTimed.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableTimeout.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4b76e8617f535993fa24e2b8da1d5073e4d7f0015873103e4da28412819330"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060innerDone \u0026\u0026 (innerQueue == null || innerQueue.isEmpty())\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableFlatMap.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableFlatMap.java"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb7eef7aa1b6686800229d1df8f650ca1ce73d7ca648426d10aea3746c5fd0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060intercept != null \u0026\u0026 intercept.tryAbandon()\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableWindow.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableWindow.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cf918c713c16a734309d57c62d97aaa946656403fb8951fc2516459c69c170"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060iteratorNotification != null \u0026\u0026 iteratorNotification.isOnError()\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableLatest.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableLatest.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableLatest.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb90cb371a95b9502738a042da72ceca89ae9fdc8e00230d9ea955daaddd0bb4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060o != null \u0026\u0026 !NotificationLite.isComplete(o) \u0026\u0026 !NotificationLite.isError(o)\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java, src/main/java/io/reactivex/rxjava4/subjects/BehaviorSubject.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/BehaviorProcessor.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"352b8f31098a00b06898aa7edc928bf06a8ce8116a926618227b61a8b86a38a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060observers.get() == TERMINATED \u0026\u0026 error != null\u0060 appears character-identically in 3 files \u2014 src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java, src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java, src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/CompletableSubject.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36d894676608c9847ea4bd4c3edc0f3740f5fe830e47623b0599bd6580d5515"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060observers.get() == TERMINATED \u0026\u0026 value != null\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java, src/main/java/io/reactivex/rxjava4/subjects/SingleSubject.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/subjects/MaybeSubject.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec608ed4299c92f0cfe54afc3e2e3c0dbda607409607827e3fdf285796c3fe8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060onDropped != null \u0026\u0026 currentEmitter != null\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDebounceTimed.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDebounceTimed.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7413aaa5f805a6d2303bf6ed1007087f65177cbe56f3b07a54fd5a2408703ede"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060once.get() == FRESH \u0026\u0026 once.compareAndSet(FRESH, ABANDONED)\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableGroupBy.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableGroupBy.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3721ea7976d2cbab679b98f5339836ddf9766e7698375126fd18bbc2784967c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rc.subscriberCount == 0 \u0026\u0026 rc == connection\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableRefCount.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableRefCount.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"01231e040a4851c80f18c042dd0f4b44ef83ba6d0c6919d862ec828cdeb386de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sourceMode == QueueSubscription.NONE \u0026\u0026 !queue.offer(t)\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java, src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublishMulticast.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowablePublish.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac53a14676ef83a87f54ff5413660bdb92ba9ddc854639754e299bc75a1e3890"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subscribers.get() == TERMINATED \u0026\u0026 error != null\u0060 appears character-identically in 4 files \u2014 src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java, src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java, src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java, src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"21673fc025350691ba7f840a3ac8e96f0f664975cc3f10d2f57bf0298b51e053"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subscribers.get() == TERMINATED \u0026\u0026 error == null\u0060 appears character-identically in 4 files \u2014 src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java, src/main/java/io/reactivex/rxjava4/processors/PublishProcessor.java, src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java, src/main/java/io/reactivex/rxjava4/subjects/PublishSubject.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4710559f2202237fd8b1398e08d7cee92f6271944e2306fc2283e042bf0350ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subscribers.get() == TERMINATED \u0026\u0026 value != null\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java, src/main/java/io/reactivex/rxjava4/subjects/AsyncSubject.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/processors/AsyncProcessor.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5510f54367161e258000e49fa4d192f88f11dbf8df26be40dfd0ad8019ca746"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tail.value != null \u0026\u0026 NotificationLite.isComplete(leaveTransform(tail.value))\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f275f7aaaad594d2b3374f8f0c89fcfe02a56c047d14cee2f1abb20a70c587b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tail.value != null \u0026\u0026 NotificationLite.isError(leaveTransform(tail.value))\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableReplay.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableReplay.java"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5de896ee7bd86cfca085a9adfb2e20b64f0a6b5386d40ac34a4c5f9c93cdad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060timespan == timeskip \u0026\u0026 maxSize == Integer.MAX_VALUE\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableBufferTimed.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableBufferTimed.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2db1a8a94f34b5dc284ac9507a58b85f16345828368476f3e9697b5dfd3b4d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v == null || collection.add(Objects.requireNonNull(keySelector.apply(v), \u0022The keySelector returned a null key\u0022))\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinct.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/ObservableDistinct.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableDistinct.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a080d3fd830f10a480c6ea13ec753a307c4cf1538906d32f9863a2bad3a33a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v.isPresent() \u0026\u0026 downstream.tryOnNext(v.get())\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java, src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapTryOptional.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/jdk8/ParallelMapOptional.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"12333918c8169147ff2d03006bf4386652001a9b255b50f3d1af4a2bf9902976"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060waiting.getAndSet(0) == 1 || !args.isOnNext()\u0060 appears character-identically in 2 files \u2014 src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java, src/main/java/io/reactivex/rxjava4/internal/operators/observable/BlockingObservableNext.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/operators/flowable/BlockingFlowableNext.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce49d3d12b123c655396778da3b8462d4e5417a75ae76b1e9296e682806dc24f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060wip.get() == 0 \u0026\u0026 wip.compareAndSet(0, 1)\u0060 appears character-identically in 3 files \u2014 src/main/java/io/reactivex/rxjava4/internal/observers/QueueDrainObserver.java, src/main/java/io/reactivex/rxjava4/internal/subscribers/QueueDrainSubscriber.java, src/main/java/io/reactivex/rxjava4/internal/util/HalfSerializer.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/io/reactivex/rxjava4/internal/observers/QueueDrainObserver.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea006c2bbacb86e739f1115617777210aed00aa2bded5cf47a45d197d40d90b"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/33 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":6,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}