jdk/src/share/classes/javax/swing/filechooser/FileSystemView.java
changeset 23697 e556a715949f
parent 23010 6dadb192ad81
child 24499 9c83666ebd5e
--- a/jdk/src/share/classes/javax/swing/filechooser/FileSystemView.java	Fri Mar 21 11:33:52 2014 -0700
+++ b/jdk/src/share/classes/javax/swing/filechooser/FileSystemView.java	Sun Mar 23 13:49:48 2014 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -579,9 +579,7 @@
         return new FileSystemRoot(f);
     }
 
-
-
-
+    @SuppressWarnings("serial") // Same-version serialization only
     static class FileSystemRoot extends File {
         public FileSystemRoot(File f) {
             super(f,"");
@@ -775,6 +773,7 @@
         return super.createFileObject(path);
     }
 
+    @SuppressWarnings("serial") // anonymous class
     protected File createFileSystemRoot(File f) {
         // Problem: Removable drives on Windows return false on f.exists()
         // Workaround: Override exists() to always return true.