classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] FYI: javax.swing.filechooser.FileSystemView


From: David Gilbert
Subject: Re: [cp-patches] FYI: javax.swing.filechooser.FileSystemView
Date: Tue, 11 Oct 2005 12:51:53 +0000
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050728)

Robert Schuster wrote:

Hi David,
yesterday we had a discusssion about stub methods and to-be-continued methods. I
think the one you tackled with looks like one.

+    if (defaultFileSystemView == null)
+      {
+        if (File.separator.equals("/"))
+          defaultFileSystemView = new UnixFileSystemView();
+        // else if (File.Separator.equals("\"))
+        //   return new Win32FileSystemView();
+ // else + // return new GenericFileSystemView();
+      }
+    return defaultFileSystemView;
  }
Am I right that the comments should suggest to implement a
Win32FileFileSystemView and a GenericFileSystemView() at some time?
I think that is right, but I can't be sure as I didn't write that commented-out code (I just moved it inside the if statement which is why it shows up on the diff).

If so it would be nice to have a FIXME telling that and a corresponding bug 
report.
Sure, I'll add those later today.

Regards,

Dave

cu
Robert







reply via email to

[Prev in Thread] Current Thread [Next in Thread]