< prev index next >

src/java.base/share/classes/java/util/TimeZone.java

Print this page

        

@@ -676,11 +676,11 @@
             tz = getTimeZone(zoneID, true);
         }
         assert tz != null;
 
         final String id = zoneID;
-        AccessController.doPrivileged(new PrivilegedAction<Void>() {
+        AccessController.doPrivileged(new PrivilegedAction<>() {
             @Override
                 public Void run() {
                     System.setProperty("user.timezone", id);
                     return null;
                 }
< prev index next >