[jira] Created: (QDOX-171) AbstractJavaEntity#getCodeBlock() skips Javadoc separator

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (QDOX-171) AbstractJavaEntity#getCodeBlock() skips Javadoc separator

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

AbstractJavaEntity#getCodeBlock() skips Javadoc separator
---------------------------------------------------------

                 Key: QDOX-171
                 URL: http://jira.codehaus.org/browse/QDOX-171
             Project: QDox
          Issue Type: Bug
    Affects Versions: 1.9.2, 1.9.1
            Reporter: Vincent Siveton




--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (QDOX-171) AbstractJavaEntity#getCodeBlock() skips Javadoc separator

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/QDOX-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton updated QDOX-171:
---------------------------------

    Attachment: TestQDOX171.java

The getCodeBlock() removes Javadoc separator i.e. "spacestarspace"

Here is a small sample:
{noformat}
    /**
     * bla
     *
     * bla
     *
     * bla
     *
     *
     * @param s a string
     * @return a string
     * @throws Exception
     */
    public String myMethod( String s )
        throws Exception
    {
        return null;
    }
{noformat}

The result is the following:
{noformat}
/**
 * bla

bla

bla
 *
 * @param s a string
 * @return a string
 * @throws Exception
 */
public java.lang.String myMethod(java.lang.String s) throws java.lang.Exception {

        return null;
    }
{noformat}


> AbstractJavaEntity#getCodeBlock() skips Javadoc separator
> ---------------------------------------------------------
>
>                 Key: QDOX-171
>                 URL: http://jira.codehaus.org/browse/QDOX-171
>             Project: QDox
>          Issue Type: Bug
>    Affects Versions: 1.9.1, 1.9.2
>            Reporter: Vincent Siveton
>         Attachments: TestQDOX171.java
>
>


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Resolved: (QDOX-171) AbstractJavaEntity#getCodeBlock() skips Javadoc separator

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/QDOX-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte resolved QDOX-171.
---------------------------------

         Assignee: Robert Scholte
       Resolution: Fixed
    Fix Version/s: 1.10

When building  the comments, all "\n" will be replaced by "\n * ". I've added a test as well, so I guess this should be enough, right?

> AbstractJavaEntity#getCodeBlock() skips Javadoc separator
> ---------------------------------------------------------
>
>                 Key: QDOX-171
>                 URL: http://jira.codehaus.org/browse/QDOX-171
>             Project: QDox
>          Issue Type: Bug
>    Affects Versions: 1.9.1, 1.9.2
>            Reporter: Vincent Siveton
>            Assignee: Robert Scholte
>             Fix For: 1.10
>
>         Attachments: TestQDOX171.java
>
>


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (QDOX-171) AbstractJavaEntity#getCodeBlock() skips Javadoc separator

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/QDOX-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183288#action_183288 ]

Vincent Siveton commented on QDOX-171:
--------------------------------------

ok for the javadoc separator
What about the indentation?

> AbstractJavaEntity#getCodeBlock() skips Javadoc separator
> ---------------------------------------------------------
>
>                 Key: QDOX-171
>                 URL: http://jira.codehaus.org/browse/QDOX-171
>             Project: QDox
>          Issue Type: Bug
>    Affects Versions: 1.9.1, 1.9.2
>            Reporter: Vincent Siveton
>            Assignee: Robert Scholte
>             Fix For: 1.10
>
>         Attachments: TestQDOX171.java
>
>


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email