{"comment":{"url":"https://api.github.com/repos/geoff-wasilwa/openmrs-module-htmlformentry/comments/11919069","html_url":"https://github.com/geoff-wasilwa/openmrs-module-htmlformentry/commit/d3e7dd0ee09eed2d7c7273f7cc3961e781896b6f#commitcomment-11919069","id":11919069,"user":{"login":"mogoodrich","id":1163015,"avatar_url":"https://avatars.githubusercontent.com/u/1163015?v=3","gravatar_id":"","url":"https://api.github.com/users/mogoodrich","html_url":"https://github.com/mogoodrich","followers_url":"https://api.github.com/users/mogoodrich/followers","following_url":"https://api.github.com/users/mogoodrich/following{/other_user}","gists_url":"https://api.github.com/users/mogoodrich/gists{/gist_id}","starred_url":"https://api.github.com/users/mogoodrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogoodrich/subscriptions","organizations_url":"https://api.github.com/users/mogoodrich/orgs","repos_url":"https://api.github.com/users/mogoodrich/repos","events_url":"https://api.github.com/users/mogoodrich/events{/privacy}","received_events_url":"https://api.github.com/users/mogoodrich/received_events","type":"User","site_admin":false},"position":86,"line":118,"path":"api/src/main/java/org/openmrs/module/htmlformentry/HtmlFormValidator.java","commit_id":"d3e7dd0ee09eed2d7c7273f7cc3961e781896b6f","created_at":"2015-06-29T20:51:54Z","updated_at":"2015-06-29T20:51:54Z","body":"These two blocks (110-113 and 115-118), so you can just get rid of the else here and just have the block execute once, outside and after the if block.\r\n\r\n"}}