mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
deprecate key.getData(storage) approach
This commit is contained in:
@@ -162,7 +162,7 @@ public class AnActionEvent implements PlaceProvider<String> {
|
||||
|
||||
@Nullable
|
||||
public <T> T getData(@NotNull DataKey<T> key) {
|
||||
return key.getData(getDataContext());
|
||||
return getDataContext().getData(key);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user