Hi! Firstly, lets talk about interfaces.
1. First of all, do we have an automatic inspection for it? AFAIK we don't 2. I am for consistency. At least for production code. Nothing worse is when someone mixes both approaches. About a prohibition of curly brackets around one line -- I am strongly against this rule, it should be removed. There were a few bugs that this rule caused. вт, 20 июл. 2021 г. в 09:23, Zhenya Stanilovsky <arzamas...@mail.ru.invalid >: > > Igniters, i understand that this is very long and fundamental story. but > … still want to rise up this discussion, we have 2 very strange inspections: > * «public» modifier in interface methods. > * Illegal ‘{}’ for one line statement. — i found it harmful. > I don`t want to link additional discussion about pos. 2 i think that harm > is obvious. > I suggest to get rid of them. > > what do you think ? > > > -- Sincerely yours, Ivan Daschinskiy