mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base
Minor coding style update of javadoc tag in any file in java.base Reviewed-by: bchristi, lancea
This commit is contained in:
parent
13d0bac294
commit
d15a57b842
139 changed files with 3499 additions and 3499 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2019, 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
|
||||
|
@ -148,7 +148,7 @@ abstract class FileSystem {
|
|||
|
||||
/**
|
||||
* Create a new empty file with the given pathname. Return
|
||||
* <code>true</code> if the file was created and <code>false</code> if a
|
||||
* {@code true} if the file was created and {@code false} if a
|
||||
* file or directory with the given pathname already exists. Throw an
|
||||
* IOException if an I/O error occurs.
|
||||
*/
|
||||
|
@ -157,40 +157,40 @@ abstract class FileSystem {
|
|||
|
||||
/**
|
||||
* Delete the file or directory denoted by the given abstract pathname,
|
||||
* returning <code>true</code> if and only if the operation succeeds.
|
||||
* returning {@code true} if and only if the operation succeeds.
|
||||
*/
|
||||
public abstract boolean delete(File f);
|
||||
|
||||
/**
|
||||
* List the elements of the directory denoted by the given abstract
|
||||
* pathname. Return an array of strings naming the elements of the
|
||||
* directory if successful; otherwise, return <code>null</code>.
|
||||
* directory if successful; otherwise, return {@code null}.
|
||||
*/
|
||||
public abstract String[] list(File f);
|
||||
|
||||
/**
|
||||
* Create a new directory denoted by the given abstract pathname,
|
||||
* returning <code>true</code> if and only if the operation succeeds.
|
||||
* returning {@code true} if and only if the operation succeeds.
|
||||
*/
|
||||
public abstract boolean createDirectory(File f);
|
||||
|
||||
/**
|
||||
* Rename the file or directory denoted by the first abstract pathname to
|
||||
* the second abstract pathname, returning <code>true</code> if and only if
|
||||
* the second abstract pathname, returning {@code true} if and only if
|
||||
* the operation succeeds.
|
||||
*/
|
||||
public abstract boolean rename(File f1, File f2);
|
||||
|
||||
/**
|
||||
* Set the last-modified time of the file or directory denoted by the
|
||||
* given abstract pathname, returning <code>true</code> if and only if the
|
||||
* given abstract pathname, returning {@code true} if and only if the
|
||||
* operation succeeds.
|
||||
*/
|
||||
public abstract boolean setLastModifiedTime(File f, long time);
|
||||
|
||||
/**
|
||||
* Mark the file or directory denoted by the given abstract pathname as
|
||||
* read-only, returning <code>true</code> if and only if the operation
|
||||
* read-only, returning {@code true} if and only if the operation
|
||||
* succeeds.
|
||||
*/
|
||||
public abstract boolean setReadOnly(File f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue