< prev index next >

src/java.desktop/windows/classes/sun/awt/shell/Win32ShellFolder2.java

Print this page

        

@@ -345,16 +345,16 @@
         isPersonal = true;
     }
 
     /**
      * This method is implemented to make sure that no instances
-     * of <code>ShellFolder</code> are ever serialized. If <code>isFileSystem()</code> returns
-     * <code>true</code>, then the object is representable with an instance of
-     * <code>java.io.File</code> instead. If not, then the object depends
+     * of {@code ShellFolder} are ever serialized. If {@code isFileSystem()} returns
+     * {@code true}, then the object is representable with an instance of
+     * {@code java.io.File} instead. If not, then the object depends
      * on native PIDL state and should not be serialized.
      *
-     * @return a <code>java.io.File</code> replacement object. If the folder
+     * @return a {@code java.io.File} replacement object. If the folder
      * is a not a normal directory, then returns the first non-removable
      * drive (normally "C:\").
      */
     protected Object writeReplace() throws java.io.ObjectStreamException {
         return invoke(new Callable<File>() {

@@ -713,11 +713,11 @@
     private static native long bindToObject(long parentIShellFolder, long pIDL);
 
     /**
      * @return An array of shell folders that are children of this shell folder
      *         object. The array will be empty if the folder is empty.  Returns
-     *         <code>null</code> if this shellfolder does not denote a directory.
+     *         {@code null} if this shellfolder does not denote a directory.
      */
     public File[] listFiles(final boolean includeHiddenFiles) {
         SecurityManager security = System.getSecurityManager();
         if (security != null) {
             security.checkRead(getPath());

@@ -1086,21 +1086,21 @@
         }
         return icon;
     }
 
     /**
-     * Gets an icon from the Windows system icon list as an <code>Image</code>
+     * Gets an icon from the Windows system icon list as an {@code Image}
      */
     static Image getSystemIcon(SystemIcon iconType) {
         long hIcon = getSystemIcon(iconType.getIconID());
         Image icon = makeIcon(hIcon, true);
         disposeIcon(hIcon);
         return icon;
     }
 
     /**
-     * Gets an icon from the Windows system icon list as an <code>Image</code>
+     * Gets an icon from the Windows system icon list as an {@code Image}
      */
     static Image getShell32Icon(int iconID, boolean getLargeIcon) {
         boolean useVGAColors = true; // Will be ignored on XP and later
 
         int size = getLargeIcon ? 32 : 16;
< prev index next >