jdk/src/share/classes/java/nio/channels/FileChannel.java
changeset 13795 73850c397272
parent 10137 d92637d3d673
child 14342 8435a30053c1
equal deleted inserted replaced
13794:73e854afd84d 13795:73850c397272
   285     {
   285     {
   286         FileSystemProvider provider = path.getFileSystem().provider();
   286         FileSystemProvider provider = path.getFileSystem().provider();
   287         return provider.newFileChannel(path, options, attrs);
   287         return provider.newFileChannel(path, options, attrs);
   288     }
   288     }
   289 
   289 
   290     @SuppressWarnings({ "unchecked", "rawtypes" }) // generic array construction
   290     @SuppressWarnings({"unchecked", "rawtypes"}) // generic array construction
   291     private static final FileAttribute<?>[] NO_ATTRIBUTES = new FileAttribute[0];
   291     private static final FileAttribute<?>[] NO_ATTRIBUTES = new FileAttribute[0];
   292 
   292 
   293     /**
   293     /**
   294      * Opens or creates a file, returning a file channel to access the file.
   294      * Opens or creates a file, returning a file channel to access the file.
   295      *
   295      *