Fix compiler error. 
Worked with eclipses compiler but not with oracles