{"action":"created","issue":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/570","labels_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/570/comments","events_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/570/events","html_url":"https://github.com/checkstyle/checkstyle/issues/570","id":53689893,"number":570,"title":"Allow basedir property of Checker module to be set to NULL.","user":{"login":"lkoe","id":2411009,"avatar_url":"https://avatars.githubusercontent.com/u/2411009?v=3","gravatar_id":"","url":"https://api.github.com/users/lkoe","html_url":"https://github.com/lkoe","followers_url":"https://api.github.com/users/lkoe/followers","following_url":"https://api.github.com/users/lkoe/following{/other_user}","gists_url":"https://api.github.com/users/lkoe/gists{/gist_id}","starred_url":"https://api.github.com/users/lkoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkoe/subscriptions","organizations_url":"https://api.github.com/users/lkoe/orgs","repos_url":"https://api.github.com/users/lkoe/repos","events_url":"https://api.github.com/users/lkoe/events{/privacy}","received_events_url":"https://api.github.com/users/lkoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-07T22:20:12Z","updated_at":"2015-01-08T05:49:38Z","closed_at":null,"body":"Checkstyle configurations may provide a value for the basedir property of the Checker module.\r\nHowever this setting makes no sense in the context of the eclipse-cs plugin (reported file names must always be relative to the project), hence the plugins sets it to NULL in order to work with configurations where this is specified otherwise.\r\n\r\nHowever, currently there is no clean way to do this since Checker#setBasedir does not allow a NULL value being passed.\r\nRight now I have a ugly reflection based hack in eclipse-cs to force the underlying attribute to NULL.\r\n\r\nI'd like it much better if I could just invoke checker.setBasedir(null)."},"comment":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/comments/69139078","html_url":"https://github.com/checkstyle/checkstyle/issues/570#issuecomment-69139078","issue_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/570","id":69139078,"user":{"login":"romani","id":812984,"avatar_url":"https://avatars.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},"created_at":"2015-01-08T05:49:38Z","updated_at":"2015-01-08T05:49:38Z","body":"I might miss smth in your explanation, but that field is null by default till setBasedir is called.\r\n\r\ncan you share with me some links to code where you use it or extend description."}}