hi,
i think code conventions (members order, code formatting) quite important. we use checkstyle but never the less there is often code in source control which is not structured as opposed. through this comparing and merging between source control is often a pain (you cannot really see the "real" semantic differences, when methods order and formatting are different).
such inconsistencies in my opinion are often lead by error prone manual interaction (manually sorting members and reformatting code) before doing a commit.
to avoid manual interaction i want to use pre or post commit hooks which are changing
java source files to be checked in.
never the less i feel a bit uncomfortable with interfering into the source checkin-process. has anybody made experience (positive/negative) which such commit hooks?
thanks.