Changed JAVA warning