uDig/udig-platform — comment on commit f4d9aba3707c8898092d667ce9c9abf7ee3c6290
File: plugins/net.refractions.udig.catalog/src/net/refractions/udig/catalog/ID.java line 126
By jesseeichar:

It is a bit of hackery, I agree. If you look below if the file is non-null then the id is derived from the file. There where issues with this when the URI said one thing and the canonical path to the file was another.

The magic of id comparison is still a bit of a problem when it comes to symbolically linked files and so on. If it is causing a problem then remove the line where it is set to null and I will try to find a different solution for my issue.