Thanks java 7

That's useful and that reduces the code!