Suppress warnings in Java code