[
https://issues.jboss.org/browse/ROASTER-98?page=com.atlassian.jira.plugin...
]
Elis Edlund commented on ROASTER-98:
------------------------------------
Big thanks for the really quick fix!
Yes I agree that its a minor issue, (will do a better job filling issue details next time)
MethodSource.getJavaDoc().getFullText() formats @param without space
----------------------------------------------------------------------
Key: ROASTER-98
URL:
https://issues.jboss.org/browse/ROASTER-98
Project: Roaster
Issue Type: Bug
Components: JDT
Affects Versions: 2.18.3.Final
Reporter: Elis Edlund
Assignee: George Gastaldi
Priority: Minor
Fix For: 2.18.4.Final
{noformat}
public static void main(String[] args) {
JavaClassSource src = Roaster.parse(JavaClassSource.class,
"package issue;\npublic class Issue { \n" +
" /**\n" +
" * Creates a new instance of CLASS\n" +
" *\n" +
" * @param actual the actual value.\n" +
" * @return the modified text\n" +
" */\n" +
" public static String someMethod(String actual)
{\n" +
" return actual;\n" +
" }}");
System.out.println(src); //looks ok
MethodSource<JavaClassSource> method = src.getMethods().get(0);
System.out.println(method);//looks ok
System.out.println(method.getJavaDoc().getFullText());//looks not ok
//will have "@paramactual the actual value." instead of "@param
actual the actual value."
}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)