Updated JAVA warning 2