[jira] [Commented] (IGNITE-11981) [IEP-35] Create MU shortcut instead of static import of MetricUtils
[ https://issues.apache.org/jira/browse/IGNITE-11981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16941083#comment-16941083 ] Andrey N. Gura commented on IGNITE-11981: - [~avinogradov] I don't understand what are you talk about. Could you please refer to the concrete class and incorrect static call usages please? > [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)
[jira] [Commented] (IGNITE-11981) [IEP-35] Create MU shortcut instead of static import of MetricUtils
[ https://issues.apache.org/jira/browse/IGNITE-11981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)
[jira] [Commented] (IGNITE-11981) [IEP-35] Create MU shortcut instead of static import of MetricUtils
[ https://issues.apache.org/jira/browse/IGNITE-11981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16939461#comment-16939461 ] Andrey N. Gura commented on IGNITE-11981: - [~avinogradov], [~nizhikov] It seems that issue about some cosmetic which isn't issue yet. I think this ticket could be closed as "Won't fix". > [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)
[jira] [Commented] (IGNITE-11981) [IEP-35] Create MU shortcut instead of static import of MetricUtils
[ https://issues.apache.org/jira/browse/IGNITE-11981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16887662#comment-16887662 ] Anton Vinogradov commented on IGNITE-11981: --- [~NIzhikov] My proposal was not about MetricUtils -> MU, but about replacing static method import with explicit MetricUtils.method() call. > [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: Major > 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 (v7.6.14#76016)
[jira] [Commented] (IGNITE-11981) [IEP-35] Create MU shortcut instead of static import of MetricUtils
[ https://issues.apache.org/jira/browse/IGNITE-11981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16886250#comment-16886250 ] Andrey Gura commented on IGNITE-11981: -- [~NIzhikov] As I know there are no any restrictions about static imports. > [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: Major > 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 (v7.6.14#76016)
[jira] [Commented] (IGNITE-11981) [IEP-35] Create MU shortcut instead of static import of MetricUtils
[ https://issues.apache.org/jira/browse/IGNITE-11981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16885499#comment-16885499 ] Nikolay Izhikov commented on IGNITE-11981: -- [~avinogradov], you proposed that change. Can you comment on Andrey opinion? [~agura] Are you OK with the usage of static import? > [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: Major > 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 (v7.6.14#76016)
[jira] [Commented] (IGNITE-11981) [IEP-35] Create MU shortcut instead of static import of MetricUtils
[ https://issues.apache.org/jira/browse/IGNITE-11981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16885326#comment-16885326 ] Andrey Gura commented on IGNITE-11981: -- IMHO, bad idea and bad practice in the project. There is no problem in typing MetricUtils :) > [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: Major > 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 (v7.6.14#76016)