< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/basic/BasicDirectoryModel.java

Print this page

        

@@ -164,16 +164,16 @@
     }
 
     /**
      * Renames a file in the underlying file system.
      *
-     * @param oldFile a <code>File</code> object representing
+     * @param oldFile a {@code File} object representing
      *        the existing file
-     * @param newFile a <code>File</code> object representing
+     * @param newFile a {@code File} object representing
      *        the desired new file name
-     * @return <code>true</code> if rename succeeded,
-     *        otherwise <code>false</code>
+     * @return {@code true} if rename succeeded,
+     *        otherwise {@code false}
      * @since 1.4
      */
     public boolean renameFile(File oldFile, File newFile) {
         synchronized(fileCache) {
             if (oldFile.renameTo(newFile)) {

@@ -402,11 +402,11 @@
 
     /**
      * Adds a PropertyChangeListener to the listener list. The listener is
      * registered for all bound properties of this class.
      * <p>
-     * If <code>listener</code> is <code>null</code>,
+     * If {@code listener} is {@code null},
      * no exception is thrown and no action is performed.
      *
      * @param    listener  the property change listener to be added
      *
      * @see #removePropertyChangeListener

@@ -441,11 +441,11 @@
 
     /**
      * Returns an array of all the property change listeners
      * registered on this component.
      *
-     * @return all of this component's <code>PropertyChangeListener</code>s
+     * @return all of this component's {@code PropertyChangeListener}s
      *         or an empty array if no property change
      *         listeners are currently registered
      *
      * @see      #addPropertyChangeListener
      * @see      #removePropertyChangeListener
< prev index next >