Correction to Warning Suppression

According to Java 7, the wrong warning was being suppressed and the code failed to compile.