Commit adf6da1
committed
refactor: hide mutable primitive codec array
PRIMITIVE_CODECS is an array, so final only prevents reassigning the field; callers that can reach a public field can still mutate its contents.
The array is only used by codec registry internals, so keep it package-private instead of exposing mutable static state. This avoids MutablePublicArray-style warnings without changing registry behavior.1 parent a09f309 commit adf6da1
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- core/src/main/java/com/datastax/oss/driver/internal/core/type/codec/registry
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments