You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by sg...@apache.org on 2010/10/31 17:16:55 UTC
svn commit: r1029393 -
/commons/proper/email/trunk/src/java/org/apache/commons/mail/impl/URLFactory.java
Author: sgoeschl
Date: Sun Oct 31 16:16:55 2010
New Revision: 1029393
URL: http://svn.apache.org/viewvc?rev=1029393&view=rev
Log:
Updated comments
Modified:
commons/proper/email/trunk/src/java/org/apache/commons/mail/impl/URLFactory.java
Modified: commons/proper/email/trunk/src/java/org/apache/commons/mail/impl/URLFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/java/org/apache/commons/mail/impl/URLFactory.java?rev=1029393&r1=1029392&r2=1029393&view=diff
==============================================================================
--- commons/proper/email/trunk/src/java/org/apache/commons/mail/impl/URLFactory.java (original)
+++ commons/proper/email/trunk/src/java/org/apache/commons/mail/impl/URLFactory.java Sun Oct 31 16:16:55 2010
@@ -22,6 +22,8 @@ import java.net.URL;
/**
* Create an URL for embedding a resource.
+ *
+ * @since 1.3
*/
public final class URLFactory
{
@@ -34,7 +36,8 @@ public final class URLFactory
}
/**
- * Create an file-based URL.
+ * Create an URL based on a base URL and a resource location suitable for loading
+ * the resource.
*
* @param baseUrl an optional base URL
* @param resource a resource location