From d15a57b842859ca8646a4d978383e8805b5e5dfb Mon Sep 17 00:00:00 2001 From: Julia Boes Date: Tue, 24 Sep 2019 09:43:43 +0100 Subject: 8231186: Replace html tag foo 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 --- src/java.base/share/classes/java/io/FileSystem.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/java.base/share/classes/java/io/FileSystem.java') 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 - * true if the file was created and false 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 true 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 null. + * directory if successful; otherwise, return {@code null}. */ public abstract String[] list(File f); /** * Create a new directory denoted by the given abstract pathname, - * returning true 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 true 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 true 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 true if and only if the operation + * read-only, returning {@code true} if and only if the operation * succeeds. */ public abstract boolean setReadOnly(File f); -- cgit v1.3.1