Re: "'<' is not followed by whitespace" question
"Francisco Costa" <[email protected]>
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
thanks :) I had that problem as well On 8/10/07, Miroslav Šulc <[email protected]> wrote: > > I solved that. The settings is in WhitespaceAround so I dropped the > values for generics. > > -- > Miroslav Šulc > > Miroslav Šulc napsal(a): > > Hi, > > > > I am very new to checkstyle. I have a declaration like this: > > > > private static Map<Class, String> cacheSQLSelect = > > new HashMap<Class, String>(); > > > > I get these reports in this line: > > '<' is not followed by whitespace. > > '<' is not preceded with whitespace. > > '>' is not followed by whitespace. > > '>' is not preceded with whitespace. > > > > Are these false positives or should there really be spaces around '<' > > and '>'? > > > > I use checkstyle 4.3 and sun_checks.xml. > > > > Thanks for help. > > > > -- > > Miroslav Šulc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user