Skip to content

Commit

Permalink
add fix reversion getter method process when create replicationSet
Browse files Browse the repository at this point in the history
  • Loading branch information
baisui1981 committed Apr 6, 2024
1 parent 28d3e35 commit 8d5a17d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public interface SSERunnable extends Runnable, IJobFeedback {
Map<Class, Object> contextAttrs = new HashMap<>();

default <T> void setContextAttr(Class<T> key, T val) {
contextAttrs.put(Objects.requireNonNull(key), Objects.requireNonNull(val));
contextAttrs.put(Objects.requireNonNull(key, "key can not be null")
, Objects.requireNonNull(val, "val can not be null"));
}

default <T> void cleanContextAttr(Class<T> key) {
Expand Down

0 comments on commit 8d5a17d

Please sign in to comment.