diff options
| author | Julia Boes <jboes@openjdk.org> | 2019-09-24 09:43:43 +0100 |
|---|---|---|
| committer | Julia Boes <jboes@openjdk.org> | 2019-09-24 09:43:43 +0100 |
| commit | d15a57b842859ca8646a4d978383e8805b5e5dfb (patch) | |
| tree | 5748f4b24e712dad99ced167fc4a8e8fd9f5f92b /src/java.base/share/classes/java/io/FileSystem.java | |
| parent | 13d0bac29416a2e3926e0874027fe73fb083d1fb (diff) | |
| download | openjdk-d15a57b842859ca8646a4d978383e8805b5e5dfb.tar.gz openjdk-d15a57b842859ca8646a4d978383e8805b5e5dfb.zip | |
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
Diffstat (limited to 'src/java.base/share/classes/java/io/FileSystem.java')
| -rw-r--r-- | src/java.base/share/classes/java/io/FileSystem.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/java.base/share/classes/java/io/FileSystem.java b/src/java.base/share/classes/java/io/FileSystem.java index f16213c4abf..50a890971a1 100644 --- a/src/java.base/share/classes/java/io/FileSystem.java +++ b/src/java.base/share/classes/java/io/FileSystem.java @@ -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); |
