Hey Nick, & Tyler, I'm +1 in the 4 spaces (instead of tabs) - for the package imports, I prefer explicit (no wildcard) imports, but I'm not sure that one is worth trying to regulate.
Cheers, Chris ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Chief Architect Instrument Software and Science Data Systems Section (398) NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 168-519, Mailstop: 168-527 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Associate Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -----Original Message----- From: Tyler Palsulich <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Monday, July 14, 2014 2:18 PM To: "[email protected]" <[email protected]> Subject: Re: Java code layout settings - do we have them documented somewhere? >I think this would be very helpful. We could even describe how to update >these settings for a few editors/IDEs. > >My vote is for 4 spaces in place of tabs and no wildcard imports. I >haven't >seen anything describing import preferences. > >Tyler >On Jul 14, 2014 12:12 PM, "Nick Burch" <[email protected]> wrote: > >> Hi All >> >> Recently when reviewing some patches from new contributors, we've had >>some >> confusion over spaces and tabs. For TIKA-1361, I've hit another one - >> explicit imports vs package wide wildcard ones. >> >> Currently, we don't seem to have anything listed on the Contributors >>page >> to tell people what we expect - http://tika.apache.org/contribute.html - >> so they can't check. I'm happy to add something there, just need to know >> what we've already decided so I know what to list! >> >> For the spaces / tabs one, I've found TIKA-44 which concludes that we >> should be using 4 spaces. Anything similar out there for imports? >> >> Thanks >> Nick >>
