This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: java.io.File - URI stuff


>>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:

Michael> I wrote a little patch to add two missing methods to
Michael> java.io.File to support URIs. This patch compiles already but
Michael> cant work as java.net.URI is not functional yet because of
Michael> missing java.util.regex which lacks ....

I'd rather we hold off on this until URI actually works.  Otherwise it
is just like a stub, which we've all agreed are a bad idea.

Michael> +   * @exception IllegalArgumentException If the preconditions for uri do not hold

It would be handy to list the preconditions in the javadoc.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]