Cleaning Java compiler warnings