GitHub PullRequestReviewCommentEvent at 2014-02-25 22:24:51
Repository: wfs-scanner
Actor: tojofo
Payload: {"comment":{"url":"https://api.github.com/repos/aodn/wfs-scanner/pulls/comments/10059314","id":10059314,"diff_hunk":"@@ -33,15 +33,20 @@ class FilterHarvesterService {\n \n             log.info(\"Scanning server: \" + url)\n \n-            def featureTypeNames = slurper.parse(url).depthFirst().grep {\n+            def layerNames = slurper.parse(url).depthFirst().grep {\n                 it.name() == \"Name\" && it.parent().name() == \"FeatureType\"","path":"grails-app/services/au/org/emii/wfsscanner/FilterHarvesterService.groovy","position":6,"original_position":6,"commit_id":"07697bc03877a8c4fe154a458eda95d344aedcee","original_commit_id":"07697bc03877a8c4fe154a458eda95d344aedcee","user":{"login":"tojofo","id":1768356,"avatar_url":"https://gravatar.com/avatar/65f3922199b8a34a8ae59f74cc4acd63?d=https%3A%2F%2Fidenticons.github.com%2F308d23670ff058d853c9ca587d27d5a4.png&r=x","gravatar_id":"65f3922199b8a34a8ae59f74cc4acd63","url":"https://api.github.com/users/tojofo","html_url":"https://github.com/tojofo","followers_url":"https://api.github.com/users/tojofo/followers","following_url":"https://api.github.com/users/tojofo/following{/other_user}","gists_url":"https://api.github.com/users/tojofo/gists{/gist_id}","starred_url":"https://api.github.com/users/tojofo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tojofo/subscriptions","organizations_url":"https://api.github.com/users/tojofo/orgs","repos_url":"https://api.github.com/users/tojofo/repos","events_url":"https://api.github.com/users/tojofo/events{/privacy}","received_events_url":"https://api.github.com/users/tojofo/received_events","type":"User","site_admin":false},"body":"Consider extracting this boolean into a method, a meaningful name could make the check clearer","created_at":"2014-02-25T22:24:51Z","updated_at":"2014-02-25T22:24:51Z","html_url":"https://github.com/aodn/wfs-scanner/pull/4#discussion_r10059314","pull_request_url":"https://api.github.com/repos/aodn/wfs-scanner/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/aodn/wfs-scanner/pulls/comments/10059314"},"html":{"href":"https://github.com/aodn/wfs-scanner/pull/4#discussion_r10059314"},"pull_request":{"href":"https://api.github.com/repos/aodn/wfs-scanner/pulls/4"}}}}