Oh I'm sure Eclipse can be taught to use 2-space indents. There are some config files checked in under eclipse/. I don't know the exact settings myself but others here may.
On Wed, Jun 16, 2010 at 10:23 PM, Sebastian Schelter <[email protected]> wrote: > Another issue I ran into: in MAHOUT-411 my patch unintentionally > rearranged whitespaces and I found the reason for that: In some java > files (o.a.m.common.AbstractJob and > o.a.m.cf.taste.hadoop.item.RecommenderJob for example) there are a > couple of blank lines that start with 2 to 4 leading whitespaces, which > get removed by Eclipse as soon as you edit the file once. > > I can't prevent that these whitespace rearrangements are included in any > patches I create, is it ok to have that? Otherwise someone would have to > tell me how to make Eclipse not remove them :) > > -sebastian >
