Odi's astoundingly incomplete notes

New entries | Code

The unnecessary function

If ever you write this:
   if(!source.endsWith(File.separator)) source+=File.separator;
you are probably looking for File(File, String). If you use the API correctly there is never a need to manually fiddle together paths of a file.

posted on 2006-03-06 15:28 UTC in Code | 0 comments | permalink