Nope, I'm NOT starting a discussion about changing anything. It's just
about clarifying a few things. So no worries! ;)
According to:
https://cwiki.apache.org/confluence/display/CONNECTORS/HowToContribute#HowToContribute-MakingChanges
As long as I'm following these two guidelines, I guess everything is fine:
- Code should be formatted according to Sun's conventions, with one
exception:
- indent two spaces per level, not four.
The thing is that the majority of the source code in MCF uses a
different style than I'm used to, even though it follows the points
above. For instance, I'm used to code blocks like this, having the curly
braces on the first and last line:
void myMethod() {
...
}
I find it more difficult to write:
void myMethod()
{
...
}
So the questions is: Is it OK that I use the coding style in my first
example above or should we all use the other one?
Until now, I have used the latter, but that's because I haven't written
anything from scratch, just implemented new functionality in existing
classes.
If I'll suggest anything, it will be that you may choose as long as you
follow the two requirements from the Wiki, but continues to use the same
coding style in existing classes if you're just going to do a minor change.
Erlend
--
Erlend Garåsen
Center for Information Technology Services
University of Oslo
P.O. Box 1086 Blindern, N-0317 OSLO, Norway
Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050