Commit 48a1284
authored
[ISSUE apache#4770] Empty class member cause NullpointerException (apache#4777)
* Add null check in writeOffset method
* delete todo
* Move data.put inside null check in writeOffset method
* simplify if judgement
* remove dev environment
* fix style1 parent 1ff88f7 commit 48a1284
File tree
2 files changed
+7
-4
lines changed- eventmesh-openconnect
- eventmesh-openconnect-java/src/main/java/org/apache/eventmesh/openconnect/util
- eventmesh-openconnect-offsetmgmt-plugin/eventmesh-openconnect-offsetmgmt-api/src/main/java/org/apache/eventmesh/openconnect/offsetmgmt/api/storage
2 files changed
+7
-4
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments