Fix checkstyle violations and make checkstyle obligatory

Why should this have to change? A package protected constant is not allowed? Looks wrong to me.