GitHub PullRequestReviewCommentEvent at 2014-03-10 18:19:01
Repository: openmrs-core
Actor: wluyima
Payload: {"comment":{"url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments/10442409","id":10442409,"diff_hunk":"@@ -279,6 +280,16 @@ public CareSetting getCareSettingByName(String name) {\n \t}\r\n \t\r\n \t/**\r\n+\t * @See OrderDAO#getOrderTypeByName\r\n+\t */\r\n+\t@Override\r\n+\tpublic OrderType getOrderTypeByName(String orderTypeName) {\r\n+\t\tCriteria criteria = sessionFactory.getCurrentSession().createCriteria(OrderType.class);\r\n+\t\tcriteria.add(Restrictions.eq(\"name\", orderTypeName));\r","path":"api/src/main/java/org/openmrs/api/db/hibernate/HibernateOrderDAO.java","position":17,"original_position":17,"commit_id":"49a60355f777fe72c84b54bcf33db8c16a06b0a7","original_commit_id":"49a60355f777fe72c84b54bcf33db8c16a06b0a7","user":{"login":"wluyima","id":1395907,"avatar_url":"https://gravatar.com/avatar/5cd6c4175104cf104a7a9911d434c4cd?d=https%3A%2F%2Fidenticons.github.com%2F935435a6af259a35e777363066e4ebf2.png&r=x","gravatar_id":"5cd6c4175104cf104a7a9911d434c4cd","url":"https://api.github.com/users/wluyima","html_url":"https://github.com/wluyima","followers_url":"https://api.github.com/users/wluyima/followers","following_url":"https://api.github.com/users/wluyima/following{/other_user}","gists_url":"https://api.github.com/users/wluyima/gists{/gist_id}","starred_url":"https://api.github.com/users/wluyima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wluyima/subscriptions","organizations_url":"https://api.github.com/users/wluyima/orgs","repos_url":"https://api.github.com/users/wluyima/repos","events_url":"https://api.github.com/users/wluyima/events{/privacy}","received_events_url":"https://api.github.com/users/wluyima/received_events","type":"User","site_admin":false},"body":"OK","created_at":"2014-03-10T18:19:01Z","updated_at":"2014-03-10T18:19:01Z","html_url":"https://github.com/openmrs/openmrs-core/pull/762#discussion_r10442409","pull_request_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/762","_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments/10442409"},"html":{"href":"https://github.com/openmrs/openmrs-core/pull/762#discussion_r10442409"},"pull_request":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/762"}}}}