Commit 7e7b283
committed
Fix residual old-package references and rename SessionEventParserTest
The migration commit (da9ec9c) replaced com.github.copilot.sdk.events
with com.github.copilot.sdk.generated across all src/ files but missed
four non-source files that still referenced the old package:
1. jbang-example.java — updated imports from events.AssistantMessageEvent
and events.SessionUsageInfoEvent to generated equivalents.
2. README.md — updated Quick Start imports to use generated package.
3. .github/copilot-instructions.md — updated Package Structure section
to describe com.github.copilot.sdk.generated instead of the deleted
com.github.copilot.sdk.events package.
4. config/spotbugs/spotbugs-exclude.xml — changed SpotBugs exclusion
from com.github.copilot.sdk.events to com.github.copilot.sdk.generated,
and updated the comment to match.
Also renamed SessionEventParserTest.java to SessionEventDeserializationTest.java
(class name updated to match) since the test no longer exercises the deleted
SessionEventParser class — it tests Jackson-native deserialization via
ObjectMapper.readValue(json, SessionEvent.class).
Build verified: 553 tests, 0 failures, BUILD SUCCESS.
were updated. mvn verify passes with 556 tests, 0 failures, 0 errors.1 parent da9ec9c commit 7e7b283
File tree
5 files changed
+9
-9
lines changed- .github
- config/spotbugs
- src/test/java/com/github/copilot/sdk
5 files changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments