Elliotte Rusty Harold created IO-835:
----------------------------------------

             Summary: FileOrigin == PathOrigin
                 Key: IO-835
                 URL: https://issues.apache.org/jira/browse/IO-835
             Project: Commons IO
          Issue Type: Improvement
            Reporter: Elliotte Rusty Harold


FileOrigin and PathOrigin are the same thing. They both represent a file in the 
file system. Two classes really aren't needed here, any more than we need two 
classes for StringOrigin and StringBuilderOrigin. Instead we need two 
constructors, one of which takes a File and one of which takes a Path.

Or at the very least make one a subclass of the other. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to