Commit 87ba1a0
fix: address Codex PR review comments
- Restrict tag-filter matching to first parameter (value position) per NIP-01
- Defensively copy builder lists in EventFilter constructor to prevent
shared mutable state when reusing builders
- Remove duplicate notifyClose() call from close() since
afterConnectionClosed already handles listener notification
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6e8a1bf commit 87ba1a0
2 files changed
Lines changed: 4 additions & 6 deletions
File tree
- nostr-java-client/src/main/java/nostr/client/springwebsocket
- nostr-java-event/src/main/java/nostr/event/filter
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
478 | | - | |
479 | | - | |
480 | 478 | | |
481 | 479 | | |
482 | 480 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments