Description
The formatting in droids should effectively be the same as the standard Java Conventions build in Eclipse formatter. However, the are multiple formatting inconsistencies in the droids codebas.
Examples:
1. braces
- SimpleTaskQueue - even in the same class, there are cases where the opening braces are on the same line as the method signature:
public T next() {
and cases where they are not:
public void clear()
{
2. whitespace
- sometimes there is a whitespace between a 'for' and the '('
for (
and sometimes there is not:
for(
The proposal to deal with this is to start with the Java build in formatter in Eclipse (with a few minor changes), and format the entire droids codebase - the changes should be minor in most cases.