Good morning!

I think we have two options:
* change the rule for 'NeedBraces' (
http://checkstyle.sourceforge.net/config_blocks.html)
* add @SuppressWarnings("checkstyle:needbraces") when needed.

I've just committed a "@SuppressWarnings" example.

[]s,
Thiago.



On Fri, May 23, 2014 at 5:25 AM, Jean-Louis Monteiro <
[email protected]> wrote:

> Not that important, I agree.
> Just asking cause I like this way to implement pre conditions in methods.
>
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Fri, May 23, 2014 at 2:21 AM, Romain Manni-Bucau
> <[email protected]>wrote:
>
> > -0, I like having brackets, avoid bugs when updating the code, that said
> if
> > I'm alone thinking it go for it, this is not that important
> >
> >
> >
> > Romain Manni-Bucau
> > Twitter: @rmannibucau
> > Blog: http://rmannibucau.wordpress.com/
> > LinkedIn: http://fr.linkedin.com/in/rmannibucau
> > Github: https://github.com/rmannibucau
> >
> >
> > 2014-05-23 11:18 GMT+02:00 Jean-Louis Monteiro <[email protected]
> >:
> >
> > > Hey guys,
> > >
> > > Is it possible to restore the ability to have inline if?
> > > I like them cause I think it's more readable, especially to write pre
> > > condition at the beginning of methods.
> > >
> > > For instance ...
> > > if (bla == null) return;
> > >
> > > Thanks
> > >
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> > >
> >
>

Reply via email to