Commit 631a108
authored
JAVA-2025: Include exception message in AbstractCollectionCodec.accepts(null) (apache#1122)
Improve AbstractCollectionCodec.accepts() to explicitly null check and
raise an NPE with a similar message to TypeCodec.accepts().1 parent 91c45ed commit 631a108
3 files changed
Lines changed: 6 additions & 0 deletions
File tree
- changelog
- driver-core
- src/main/java/com/datastax/driver/core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1850 | 1850 | | |
1851 | 1851 | | |
1852 | 1852 | | |
| 1853 | + | |
1853 | 1854 | | |
1854 | 1855 | | |
1855 | 1856 | | |
| |||
0 commit comments