{"comment":{"url":"https://api.github.com/repos/astojilj/crosswalk/comments/14059140","html_url":"https://github.com/astojilj/crosswalk/commit/2d289d75f13e5ec5c85ba7e33eba6da9d61d0bc1#commitcomment-14059140","id":14059140,"user":{"login":"jondong","id":700736,"avatar_url":"https://avatars.githubusercontent.com/u/700736?v=3","gravatar_id":"","url":"https://api.github.com/users/jondong","html_url":"https://github.com/jondong","followers_url":"https://api.github.com/users/jondong/followers","following_url":"https://api.github.com/users/jondong/following{/other_user}","gists_url":"https://api.github.com/users/jondong/gists{/gist_id}","starred_url":"https://api.github.com/users/jondong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jondong/subscriptions","organizations_url":"https://api.github.com/users/jondong/orgs","repos_url":"https://api.github.com/users/jondong/repos","events_url":"https://api.github.com/users/jondong/events{/privacy}","received_events_url":"https://api.github.com/users/jondong/received_events","type":"User","site_admin":false},"position":97,"line":97,"path":"runtime/android/core_internal/src/org/xwalk/core/internal/extension/api/wifidirect/WifiDirect.java","commit_id":"2d289d75f13e5ec5c85ba7e33eba6da9d61d0bc1","created_at":"2015-10-29T06:44:03Z","updated_at":"2015-10-29T06:44:03Z","body":"I suppose it would be nice if we could use final static strings to replace the hard-coded command, message and event names, which would be much cleaner an easier to maintain.\r\n\r\nFor your reference:\r\nhttps://github.com/crosswalk-project/crosswalk/blob/master/runtime/android/core_internal/src/org/xwalk/core/internal/extension/api/presentation/PresentationExtension.java"}}