geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r577242 - in /geronimo/specs/trunk/geronimo-javamail_1.4_spec: pom.xml src/main/java/javax/mail/Folder.java
Date Wed, 19 Sep 2007 10:59:49 GMT
Author: rickmcguire
Date: Wed Sep 19 03:59:48 2007
New Revision: 577242

URL: http://svn.apache.org/viewvc?rev=577242&view=rev
Log:
GERONIMO-3479 javamail Folder class not including folder name in getURLName() result.


Modified:
    geronimo/specs/trunk/geronimo-javamail_1.4_spec/pom.xml
    geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/Folder.java

Modified: geronimo/specs/trunk/geronimo-javamail_1.4_spec/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-javamail_1.4_spec/pom.xml?rev=577242&r1=577241&r2=577242&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-javamail_1.4_spec/pom.xml (original)
+++ geronimo/specs/trunk/geronimo-javamail_1.4_spec/pom.xml Wed Sep 19 03:59:48 2007
@@ -33,7 +33,7 @@
 
     <artifactId>geronimo-javamail_1.4_spec</artifactId>
     <name>JavaMail 1.4</name>
-    <version>1.1</version>
+    <version>1.2-SNAPSHOT</version>
 
     <scm>
         <connection>scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-javamail_1.4_spec-1.1</connection>

Modified: geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/Folder.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/Folder.java?rev=577242&r1=577241&r2=577242&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/Folder.java (original)
+++ geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/Folder.java Wed
Sep 19 03:59:48 2007
@@ -117,8 +117,9 @@
      * @throws MessagingException
      */
     public URLName getURLName() throws MessagingException {
-        // todo shouldn't this include the full name of the folder?
-        return store.getURLName();
+        URLName baseURL = store.getURLName(); 
+        return new URLName(baseURL.getProtocol(), baseURL.getHost(), baseURL.getPort(), 
+            getFullName(), baseURL.getUsername(), null); 
     }
 
     /**



Mime
View raw message