Fix CS warnings in sal-clustering-commons and enable enforcement
Fixed checkstyle warnings and enabled enforcement. Most of the
warnings/changes were for:
- white space before if/for/while/catch
- white space before beginning brace
- line too long
- illegal catching of Exception (suppressed)
- variable name too short
- indentation
- local vars/params hiding a field
- putting overloaded methods close to one another
- remove unused vars
- convert functional interfaces to lambdas (eclipse save action)
- empty catch block - added comment or Throwables.propagate as appropriate
- missing period after first sentence in javadoc
- missing first sentence in javadoc
- adding final for locals declared too far from first usage
Change-Id: I0a6690f97820e8fb670f209221d8e4e2f1cf5d8b
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
14 files changed: