Skip to content

Commit e16cfa2

Browse files
committed
Make CONTEXTUAL_DATA_KEY constant
It shouldn't be allowed to change it
1 parent a95bab5 commit e16cfa2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/main/java/io/reactiverse/contextual/logging/impl/ContextualDataStorage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
public class ContextualDataStorage implements VertxServiceProvider {
2929

3030
@SuppressWarnings("rawtypes")
31-
static ContextLocal<ConcurrentMap> CONTEXTUAL_DATA_KEY = ContextLocal.registerLocal(ConcurrentMap.class);
31+
final static ContextLocal<ConcurrentMap> CONTEXTUAL_DATA_KEY = ContextLocal.registerLocal(ConcurrentMap.class);
3232

3333
@Override
3434
public void init(VertxBootstrap builder) {

0 commit comments

Comments
 (0)