Duncan Jones created LANG-1094:
----------------------------------

             Summary: Javadoc is not encoding spaces correctly
                 Key: LANG-1094
                 URL: https://issues.apache.org/jira/browse/LANG-1094
             Project: Commons Lang
          Issue Type: Bug
          Components: General
            Reporter: Duncan Jones
            Priority: Minor
             Fix For: Patch Needed


I've noticed the Javadocs include links to methods with spaces incorrectly 
encoded. For example, the Javadocs for 
[DateUtils|http://commons.apache.org/proper/commons-lang/javadocs/api-release/org/apache/commons/lang3/time/DateUtils.html]
 describes a method:

{code:java}
public static boolean isSameDay(Calendar cal1, Calendar cal2)
{code}

The link to this is:

{noformat}
[...]/DateUtils.html#isSameDay(java.util.Calendar, java.util.Calendar)
{noformat}

whereas it should be:

{noformat}
[...]/DateUtils.html#isSameDay(java.util.Calendar,%20java.util.Calendar)
{noformat}

Not sure what's causing this problem. But it certainly hinders efforts to link 
to our docs from other sites (like Stack Overflow).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to