{"action":"created","issue":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1878","labels_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1878/labels{/name}","comments_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1878/comments","events_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1878/events","html_url":"https://github.com/checkstyle/checkstyle/issues/1878","id":102727311,"number":1878,"title":"Incorrect handling of Javadoc for generic type <P>","user":{"login":"Eijsinkdavid","id":13940521,"avatar_url":"https://avatars.githubusercontent.com/u/13940521?v=3","gravatar_id":"","url":"https://api.github.com/users/Eijsinkdavid","html_url":"https://github.com/Eijsinkdavid","followers_url":"https://api.github.com/users/Eijsinkdavid/followers","following_url":"https://api.github.com/users/Eijsinkdavid/following{/other_user}","gists_url":"https://api.github.com/users/Eijsinkdavid/gists{/gist_id}","starred_url":"https://api.github.com/users/Eijsinkdavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eijsinkdavid/subscriptions","organizations_url":"https://api.github.com/users/Eijsinkdavid/orgs","repos_url":"https://api.github.com/users/Eijsinkdavid/repos","events_url":"https://api.github.com/users/Eijsinkdavid/events{/privacy}","received_events_url":"https://api.github.com/users/Eijsinkdavid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/checkstyle/checkstyle/labels/approved","name":"approved","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-24T07:37:26Z","updated_at":"2015-08-27T11:30:33Z","closed_at":null,"body":"I have a generic type P in my class, like this:\r\n\r\n    /**\r\n     * @param <P> The type of p\r\n     */\r\n    public class Thing<P> {\r\n    }\r\n\r\nCheckstyle gives me a warning that I have to document my generic type (I think it's parsing &lt;P> as an HTML paragraph)"},"comment":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/comments/135394070","html_url":"https://github.com/checkstyle/checkstyle/issues/1878#issuecomment-135394070","issue_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1878","id":135394070,"user":{"login":"Eijsinkdavid","id":13940521,"avatar_url":"https://avatars.githubusercontent.com/u/13940521?v=3","gravatar_id":"","url":"https://api.github.com/users/Eijsinkdavid","html_url":"https://github.com/Eijsinkdavid","followers_url":"https://api.github.com/users/Eijsinkdavid/followers","following_url":"https://api.github.com/users/Eijsinkdavid/following{/other_user}","gists_url":"https://api.github.com/users/Eijsinkdavid/gists{/gist_id}","starred_url":"https://api.github.com/users/Eijsinkdavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eijsinkdavid/subscriptions","organizations_url":"https://api.github.com/users/Eijsinkdavid/orgs","repos_url":"https://api.github.com/users/Eijsinkdavid/repos","events_url":"https://api.github.com/users/Eijsinkdavid/events{/privacy}","received_events_url":"https://api.github.com/users/Eijsinkdavid/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T11:30:33Z","updated_at":"2015-08-27T11:30:33Z","body":"Ok I found out the problem and I feel a bit silly now. The Eclipse auto formatter parsed the <P> as a parameter and added some whitespace (newlines and tabs) in the Javadoc comments. I didn't think this whitespace would matter to checkstyle, but it does (which is reasonable). Apparently, my beef is with the Eclipse Javadoc auto-format functionality, not with Checkstyle."}}