Hi Sean,
yeah, the 2 spaces to indent bit is easy. The problem is wrapping. What is the maximum line length which is not wrapped?
Sometimes parameters and expressions are wrapped, sometimes they are not.
private static void addArgumentToInputs(String argument, Config config, Queue<String> inputs) throws IOException {
private static void writeResultImage(int stride, int height, int[] pixels, URI uri, String inputName, String suffix) {
vs
private static int[] findGuardPattern(BitMatrix matrix,
int column,
int row,
int width,
boolean whiteFirst,
int[] pattern,
int[] counters) {
Wrapping for array constants doesn't seem to match the wrapping rules of the other lines.
Eclipse likes to add a few spaces here and there, e.g. {0x1025e vs { 0x1025e. Same for generics Map<DecodeHintType,Object> vs Map<DecodeHintType, Object>.
A few files have more than one blank lines between methods.
Some lines have extra spaces at the end (Ok, I can turn a check for that off, but I don't think lines should have extra spaces at the end).
It would make my life easier if we could agree on sth. that is configurable in eclipse and IntelliJ and then reformat the existing sources consistently.
Best regards,
Guenther