Adding @SuppressWarnings to avoid warning in Java 7