Status
Page properties | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page properties | |||||||||||||||||||||||||
|
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
...
The Path class is currently mutable to support the IOReadableWritable serialization. However, but many parts of the code assume that the Path is immutable. The mutable Path class is prone to subtle errors. By making the URI in the Path class immutable, the path can be properly stored without the risk of being mutated. we can ensure that paths are stored correctly without the possibility of mutation and eliminate the occurrence of subtle errors.
Public Interfaces
Modify the Path class to no longer implement the IOReadableWritable interface.
...