Author: tn Date: Tue Oct 15 21:21:18 2013 New Revision: 1532538 URL: http://svn.apache.org/r1532538 Log: [EMAIL-135] Changed DataSourceUrlResolver.createUrl(String) to protected.
Modified: commons/proper/email/trunk/src/changes/changes.xml commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java Modified: commons/proper/email/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/changes/changes.xml?rev=1532538&r1=1532537&r2=1532538&view=diff ============================================================================== --- commons/proper/email/trunk/src/changes/changes.xml (original) +++ commons/proper/email/trunk/src/changes/changes.xml Tue Oct 15 21:21:18 2013 @@ -23,6 +23,10 @@ <body> <release version="1.3.2" date="TBD"> + <action dev="tn" type="update" issue="EMAIL-135" date="2013-10-15" due-to="Andreas Kohn"> + Change visibility of DataSourceUrlResourceResolver.createUrl(String) to protected so + that sub-classes can override it. + </action> <action dev="tn" type="fix" issue="EMAIL-104" date="2013-10-15" due-to="Hiroshi Ikeda"> Support default mime charset property "mail.mime.charset" when adding text content to instances of either SimpleEmail or HtmlEmail. Modified: commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java?rev=1532538&r1=1532537&r2=1532538&view=diff ============================================================================== --- commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java (original) +++ commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java Tue Oct 15 21:21:18 2013 @@ -109,7 +109,7 @@ public class DataSourceUrlResolver exten * @return the corresponding URL * @throws java.net.MalformedURLException creating the URL failed */ - private URL createUrl(final String resourceLocation) throws MalformedURLException + protected URL createUrl(final String resourceLocation) throws MalformedURLException { // if we get an non-existing base url than the resource can // be directly used to create an URL