format source code according to java conventions

get rid of whitespaces/tabs mixin and format sources according to java conventions