Great suggestion :) even gwt supports it from now on, I will add it when changing an enum (and ask it when I'm reviewing).
Thanks, Gilad. ----- Original Message ----- > From: "Laszlo Hornyak" <[email protected]> > To: "engine-devel" <[email protected]> > Sent: Wednesday, April 18, 2012 11:13:37 AM > Subject: [Engine-devel] java enum syntax trick > > Hi, > > In java enums, you can leave a coma before the semicolon closing the > names in the enum. e.g. > > enum Foo { > bar, > baz, // <!-- last, still with a coma > ; //and there is no more > } > > I don't know if this fits in the code formating requirements, but > maybe it could help us to waste less time on merging because you did > not have to change the last line to add some more. > > Laszlo > _______________________________________________ > Engine-devel mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/engine-devel > _______________________________________________ Engine-devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-devel
