Ben's House of Pancakes

Monday Jun 11, 2007

Beware, cross platform programmers

In Java, there is a handy little feature that goes something like this:

System.getProperty("file.separator");

While this feature is good, some care is required to make sure that other instances of hard-coded back and forward slashes aren't still lingering in the code.

Happened to me.

Comments:

Post a Comment:
  • HTML Syntax: Allowed

Calendar

Feeds

Search

Links

Navigation

Referrers