fix for #47
This commit is contained in:
parent
6cd89ebeba
commit
dcd4e9148c
|
|
@ -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", ">");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
package com.puppycrawl.tools.checkstyle.whitespace;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class Gh47
|
||||
{
|
||||
public List<List<String>[]> listOfListOFArrays;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue