GitHub PullRequestReviewCommentEvent at 2014-02-11 16:19:00
Repository: Shrijana1234
Actor: adhpawal
Payload: {"comment":{"url":"https://api.github.com/repos/Srizna/Shrijana1234/pulls/comments/9630054","id":9630054,"diff_hunk":"@@ -0,0 +1,39 @@\n+package com.lftechnology.training.collection;\n+\n+import java.util.ArrayList;\n+import java.util.Iterator;\n+import java.util.List;\n+import java.util.Scanner;\n+import java.util.logging.Logger;\n+\n+/**\n+ * This Class is just to understand how {@link Iterator} works and removes the element during iteration.\n+ * @author srizna\n+ *\n+ */\n+public class IteratorPractiseQuestion {\n+\tprivate static final Logger LOGGER=Logger.getLogger(IteratorPractiseQuestion.class.getName());\n+\tpublic static void main(String[] arg) {\n+\t\tint i = 0;\n+\t\tLOGGER.info(\"Inside main method.\");\n+\t\tList<String> list = new ArrayList<String>();\n+\t\tScanner input = new Scanner(System.in);\n+\t\tLOGGER.info(\"Reading datas from user..\");\t\t\n+\t\twhile (i < 4) {","path":"collectionslab/src/com/lftechnology/training/collection/IteratorPractiseQuestion.java","position":22,"original_position":22,"commit_id":"4f0832c8cd673a5b126af2896cd80f88d3e1f056","original_commit_id":"4f0832c8cd673a5b126af2896cd80f88d3e1f056","user":{"login":"adhpawal","id":2757121,"avatar_url":"https://gravatar.com/avatar/963b9f7eae2f9456a2fe6ec1f80befed?d=https%3A%2F%2Fidenticons.github.com%2Ffb6b960fc97e4103cf09d233b71d249b.png&r=x","gravatar_id":"963b9f7eae2f9456a2fe6ec1f80befed","url":"https://api.github.com/users/adhpawal","html_url":"https://github.com/adhpawal","followers_url":"https://api.github.com/users/adhpawal/followers","following_url":"https://api.github.com/users/adhpawal/following{/other_user}","gists_url":"https://api.github.com/users/adhpawal/gists{/gist_id}","starred_url":"https://api.github.com/users/adhpawal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adhpawal/subscriptions","organizations_url":"https://api.github.com/users/adhpawal/orgs","repos_url":"https://api.github.com/users/adhpawal/repos","events_url":"https://api.github.com/users/adhpawal/events{/privacy}","received_events_url":"https://api.github.com/users/adhpawal/received_events","type":"User","site_admin":false},"body":"Better to use **for**","created_at":"2014-02-11T16:19:00Z","updated_at":"2014-02-11T16:19:00Z","html_url":"https://github.com/Srizna/Shrijana1234/pull/2#discussion_r9630054","pull_request_url":"https://api.github.com/repos/Srizna/Shrijana1234/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/Srizna/Shrijana1234/pulls/comments/9630054"},"html":{"href":"https://github.com/Srizna/Shrijana1234/pull/2#discussion_r9630054"},"pull_request":{"href":"https://api.github.com/repos/Srizna/Shrijana1234/pulls/2"}}}}