[ https://issues.apache.org/jira/browse/IGNITE-11981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16940666#comment-16940666
]
Anton Vinogradov commented on IGNITE-11981:
-------------------------------------------
[~agura]
No objections here.
But, could you share your vision please?
Question:
We have classes {{A}} and {{B}} located at different packages without parent-child relations.
{{A}} class has method method a().
Is it good design to have {{import static A.a;}} at class {{B}} with subsequent call just
"a();" like it's a method of {{B}}?
> [IEP-35] Create MU shortcut instead of static import of MetricUtils
> -------------------------------------------------------------------
>
> Key: IGNITE-11981
> URL: https://issues.apache.org/jira/browse/IGNITE-11981
> Project: Ignite
> Issue Type: Improvement
> Reporter: Nikolay Izhikov
> Priority: Minor
> Labels: IEP-35
>
> More Ignite-way of coding is the usage of short cut classes.
> We should use MU instead of static import of {{MetricUtils}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
|