add @SuppressWarnings("unused"), because
@SuppressWarnings("PointlessBooleanExpression") is not understood by
Eclipse