Skip to content

Commit

Permalink
Merge pull request #65 from CRC-Mismatch/master
Browse files Browse the repository at this point in the history
Tweaking ROASTER-107 and correcting line separators for Windows compat
  • Loading branch information
gastaldi committed Jun 23, 2016
2 parents 1f5a82c + 7dfb2a6 commit 75961d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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
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 75961d7

Please sign in to comment.