Gediminas Siutilas created VFS-491:
--------------------------------------
Summary: Default port is not configurable
Key: VFS-491
URL: https://issues.apache.org/jira/browse/VFS-491
Project: Commons VFS
Issue Type: Bug
Affects Versions: 2.0
Reporter: Gediminas Siutilas
{code}
String targetURI = "ftp://moocow/";
String expectedURI = "ftp://moocow:22/";
URI uri = URI.create(targetURI);
FileName fileName = new URLFileName(uri.getScheme(), uri.getHost(),
uri.getPort(), 22, null, null, null, null, null);
assertEquals(expectedURI,fileName.getURI());
{code}
Expected :ftp://moocow:22/
Actual :ftp://moocow/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira