{"comment":{"url":"https://api.github.com/repos/SonarSource/sonarqube/comments/12564401","html_url":"https://github.com/SonarSource/sonarqube/commit/602bde716a6980d8a5b9ec4a72d25b9654913b1d#commitcomment-12564401","id":12564401,"user":{"login":"sns-seb","id":11717580,"avatar_url":"https://avatars.githubusercontent.com/u/11717580?v=3","gravatar_id":"","url":"https://api.github.com/users/sns-seb","html_url":"https://github.com/sns-seb","followers_url":"https://api.github.com/users/sns-seb/followers","following_url":"https://api.github.com/users/sns-seb/following{/other_user}","gists_url":"https://api.github.com/users/sns-seb/gists{/gist_id}","starred_url":"https://api.github.com/users/sns-seb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sns-seb/subscriptions","organizations_url":"https://api.github.com/users/sns-seb/orgs","repos_url":"https://api.github.com/users/sns-seb/repos","events_url":"https://api.github.com/users/sns-seb/events{/privacy}","received_events_url":"https://api.github.com/users/sns-seb/received_events","type":"User","site_admin":false},"position":27,"line":27,"path":"sonar-plugin-api/src/test/java/org/sonar/api/test/ce/measure/MeasureImpl.java","commit_id":"602bde716a6980d8a5b9ec4a72d25b9654913b1d","created_at":"2015-08-06T13:03:43Z","updated_at":"2015-08-06T13:03:43Z","body":"This class can be used in the following fashion `MeasureImpl.setIntValue(12).setDoubleValue(13d)`, in which case it holds two values (which are not the same!).\r\n`setXXXValue()` methods should better be static, called `createMeasure` (rather than `create`, to be more static import friendly) and return a new instance for each call which will be design be able to hold only one value"}}