fixing java 7 support. 

We need the final keyword again :(