Skip to content

Commit

Permalink
git push Merge branch 'master' of github.com:forge/roaster
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jun 28, 2016
2 parents 5e3f803 + 75961d7 commit 8ce2bf2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ public static String getDefaultValue(String type)
*/
public static String[] splitGenerics(String typeName)
{
typeName = typeName.replaceAll(" ","");
typeName = typeName.replaceAll("\\s","");
int begin = typeName.indexOf('<');
int end = typeName.indexOf('>');
if (begin == -1 || end == -1)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>20</version>
<version>21</version>
</parent>
<groupId>org.jboss.forge.roaster</groupId>
<artifactId>roaster-parent</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public void testJavaDocFullTextShouldFormatParamWithSpace() throws Exception
" }}");
MethodSource<JavaClassSource> method = src.getMethods().get(0);
Assert.assertEquals(
"Creates a new instance of CLASS\n@param actual the actual value.\n@return the modified text",
"Creates a new instance of CLASS" + LINE_SEPARATOR + "@param actual the actual value." + LINE_SEPARATOR + "@return the modified text",
method.getJavaDoc().getFullText());
}

Expand Down

0 comments on commit 8ce2bf2

Please sign in to comment.