This commit is contained in:
Ivan Sopov 2014-06-30 17:45:28 +04:00
parent 6cd89ebeba
commit dcd4e9148c
3 changed files with 18 additions and 1 deletions

View File

@ -126,7 +126,8 @@ public class GenericWhitespaceCheck extends Check
}
}
else if ((line.charAt(after) != '>')
&& (line.charAt(after) != ','))
&& (line.charAt(after) != ',')
&& (line.charAt(after) != '['))
{
log(aAST.getLineNo(), after, "ws.followed", ">");
}

View File

@ -76,4 +76,11 @@ public class GenericWhitespaceCheckTest
getPath("whitespace/InputGenericWhitespaceCheck.java"),
expected);
}
@Test
public void testGh47() throws Exception
{
final String[] expected = {};
verify(mCheckConfig, getPath("whitespace/Gh47.java"), expected);
}
}

View File

@ -0,0 +1,9 @@
package com.puppycrawl.tools.checkstyle.whitespace;
import java.util.List;
public class Gh47
{
public List<List<String>[]> listOfListOFArrays;
}