[EMAIL-135] Changed DataSourceUrlResolver.createUrl(String) to protected.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/email/trunk@1532538 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 3952347..6fe2805 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -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.
diff --git a/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java b/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java
index 190518b..ecd262a 100644
--- a/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java
+++ b/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java
@@ -109,7 +109,7 @@
* @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