Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B267317E84 for ; Wed, 23 Sep 2015 21:41:05 +0000 (UTC) Received: (qmail 1613 invoked by uid 500); 23 Sep 2015 21:41:04 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 1515 invoked by uid 500); 23 Sep 2015 21:41:04 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 1228 invoked by uid 99); 23 Sep 2015 21:41:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2015 21:41:04 +0000 Date: Wed, 23 Sep 2015 21:41:04 +0000 (UTC) From: "Bernd Eckenfels (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (VFS-491) Default port is not configurable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/VFS-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bernd Eckenfels updated VFS-491: -------------------------------- Priority: Minor (was: Major) > 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 > Priority: Minor > > {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 was sent by Atlassian JIRA (v6.3.4#6332)