{"action":"created","issue":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/3934","repository_url":"https://api.github.com/repos/checkstyle/checkstyle","labels_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/3934/labels{/name}","comments_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/3934/comments","events_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/3934/events","html_url":"https://github.com/checkstyle/checkstyle/issues/3934","id":211958812,"number":3934,"title":"code cleanup: to make updates to xdoc easy to review","user":{"login":"romani","id":812984,"avatar_url":"https://avatars0.githubusercontent.com/u/812984?v=3","gravatar_id":"","url":"https://api.github.com/users/romani","html_url":"https://github.com/romani","followers_url":"https://api.github.com/users/romani/followers","following_url":"https://api.github.com/users/romani/following{/other_user}","gists_url":"https://api.github.com/users/romani/gists{/gist_id}","starred_url":"https://api.github.com/users/romani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romani/subscriptions","organizations_url":"https://api.github.com/users/romani/orgs","repos_url":"https://api.github.com/users/romani/repos","events_url":"https://api.github.com/users/romani/events{/privacy}","received_events_url":"https://api.github.com/users/romani/received_events","type":"User","site_admin":false},"labels":[{"id":59160289,"url":"https://api.github.com/repos/checkstyle/checkstyle/labels/approved","name":"approved","color":"009800","default":false},{"id":550946394,"url":"https://api.github.com/repos/checkstyle/checkstyle/labels/easy","name":"easy","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-05T15:11:01Z","updated_at":"2017-03-05T23:52:02Z","closed_at":null,"body":"apply patch:\r\n```\r\n$ git diff\r\ndiff --git a/src/xdocs/config_blocks.xml b/src/xdocs/config_blocks.xml\r\nindex 65a4327..ac72e26 100644\r\n--- a/src/xdocs/config_blocks.xml\r\n+++ b/src/xdocs/config_blocks.xml\r\n@@ -799,7 +799,8 @@ for(int i = 0; i &lt; 10; value.incrementValue()); // OK\r\n             <a\r\n              href=\"apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#STATIC_INIT\">STATIC_INIT</a>,\r\n             <a\r\n-             href=\"apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#INSTANCE_INIT\">INSTANCE_INIT</a>.</td>\r\n+             href=\"apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#INSTANCE_INIT\">INSTANCE_INIT</a>\r\n+            .</td>\r\n \r\n             <td><a\r\n              href=\"apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#LITERAL_TRY\">LITERAL_TRY</a>,\r\n@@ -810,7 +811,8 @@ for(int i = 0; i &lt; 10; value.incrementValue()); // OK\r\n             <a\r\n              href=\"apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#LITERAL_IF\">LITERAL_IF</a>,\r\n             <a\r\n-             href=\"apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#LITERAL_ELSE\">LITERAL_ELSE</a>.</td>\r\n+             href=\"apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#LITERAL_ELSE\">LITERAL_ELSE</a>\r\n+            .</td>\r\n           </tr>\r\n         </table>\r\n       </subsection>\r\ndiff --git a/src/xdocs/config_whitespace.xml b/src/xdocs/config_whitespace.xml\r\nindex 49513b7..96362bf 100644\r\n--- a/src/xdocs/config_whitespace.xml\r\n+++ b/src/xdocs/config_whitespace.xml\r\n@@ -831,7 +831,8 @@ sort(list, Comparable::&lt;String&gt;compareTo);             // Method reference\r\n             <td><a\r\n             href=\"apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#PACKAGE_DEF\">PACKAGE_DEF</a>,\r\n             <a\r\n-             href=\"apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#IMPORT\">IMPORT</a>.</td>\r\n+             href=\"apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#IMPORT\">IMPORT</a>\r\n+            .</td>\r\n           </tr>\r\n         </table>\r\n       </subsection>\r\n```\r\n\r\npatch is required to avoid changes on existing lines when new token is added\r\n\r\nresolve UT failure:\r\n```\r\nTests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.345 sec <<< FAILURE! - in com.puppycrawl.tools.checkstyle.internal.XdocsPagesTest\r\ntestAllCheckSections(com.puppycrawl.tools.checkstyle.internal.XdocsPagesTest)  Time elapsed: 0.181 sec  <<< FAILURE!\r\norg.junit.ComparisonFailure: config_whitespace.xml section 'NoLineWrap' should have all the default tokens expected:<PACKAGE_DEF, IMPORT[].> but was:<PACKAGE_DEF, IMPORT[ ].>\r\n\tat com.puppycrawl.tools.checkstyle.internal.XdocsPagesTest.validatePropertySectionPropertyTokens(XdocsPagesTest.java:563)\r\n\tat com.puppycrawl.tools.checkstyle.internal.XdocsPagesTest.validatePropertySectionProperties(XdocsPagesTest.java:506)\r\n\tat com.puppycrawl.tools.checkstyle.internal.XdocsPagesTest.validatePropertySection(XdocsPagesTest.java:419)\r\n\tat com.puppycrawl.tools.checkstyle.internal.XdocsPagesTest.validateCheckSection(XdocsPagesTest.java:351)\r\n\tat com.puppycrawl.tools.checkstyle.internal.XdocsPagesTest.testAllCheckSections(XdocsPagesTest.java:280)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/comments/284274128","html_url":"https://github.com/checkstyle/checkstyle/issues/3934#issuecomment-284274128","issue_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/3934","id":284274128,"user":{"login":"nikhilgupta23","id":11753315,"avatar_url":"https://avatars1.githubusercontent.com/u/11753315?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhilgupta23","html_url":"https://github.com/nikhilgupta23","followers_url":"https://api.github.com/users/nikhilgupta23/followers","following_url":"https://api.github.com/users/nikhilgupta23/following{/other_user}","gists_url":"https://api.github.com/users/nikhilgupta23/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilgupta23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilgupta23/subscriptions","organizations_url":"https://api.github.com/users/nikhilgupta23/orgs","repos_url":"https://api.github.com/users/nikhilgupta23/repos","events_url":"https://api.github.com/users/nikhilgupta23/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilgupta23/received_events","type":"User","site_admin":false},"created_at":"2017-03-05T23:52:02Z","updated_at":"2017-03-05T23:52:02Z","body":"I am on it."}}
{"actor":{"display_login":"nikhilgupta23"}}