{"action":"created","comment":{"url":"https://api.github.com/repos/Terehator/currenttime/pulls/comments/100788288","pull_request_review_id":21502575,"id":100788288,"diff_hunk":"@@ -0,0 +1,149 @@\n+﻿using System;\n+using System.Collections;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System.Text;\n+using System.Threading.Tasks;\n+\n+namespace DEV_2\n+{\n+    class LineGetter\n+    {\n+        private string numberSymbols = \"1234567890,.e+-\";\n+        private string signsSymbols = \"*-+/\";\n+        private List<float> numbers = new List<float>();\n+        private ArrayList signes = new ArrayList();\n+        public List<float> getNumbers()\n+        {\n+            return numbers;\n+        }\n+        public ArrayList getSignes()\n+        {\n+            return signes;\n+        }\n+        private bool symbolIsSign(char symbol)\n+        {\n+            return signsSymbols.Contains(symbol);\n+        }\n+        private bool symbolIsNumber(char symbol)\n+        {\n+            return numberSymbols.Contains(symbol);\n+        }\n+        private bool checkSignUsage(string line, int i)\n+        {\n+            if ((i != 0) && (i != line.Length - 1))\n+            {\n+                return (symbolIsSign(line[i])\n+                    && !symbolIsSign(line[i - 1])\n+                    && (line[i - 1] != 'e')\n+                    && (symbolIsNumber(line[i + 1]) || (line[i + 1] == '-'))); \n+            }\n+            else\n+                return false;\n+        }\n+        private bool isParseble(string line) //Parse line to arrays of numbers and signes, and return its parsebality\n+        {\n+            numbers.Clear();\n+            signes.Clear();\n+            bool flagOfPermit = true;\n+            line = line.Replace(\" \", string.Empty);\n+            string number = \"\";\n+            if (line.Length == 0)\n+            {\n+                flagOfPermit = false;\n+            }\n+            else\n+            {\n+                for (int i = 0; i < line.Length; i++)\n+                {\n+                    if (checkSignUsage(line, i) == true)\n+                    {\n+                        try\n+                        {\n+                            numbers.Add(float.Parse(number));\n+                            number = \"\";\n+                            signes.Add(line[i]);\n+                        }\n+                        catch (FormatException)","path":"src/DEV-2/LineGetter.cs","position":67,"original_position":67,"commit_id":"5df7625fc97e089b6e29993c4fbad4db035602ea","original_commit_id":"7ebe30997081a6c4c22244bf54e8dca9ab3651e9","user":{"login":"IgorKheidorov","id":22007285,"avatar_url":"https://avatars.githubusercontent.com/u/22007285?v=3","gravatar_id":"","url":"https://api.github.com/users/IgorKheidorov","html_url":"https://github.com/IgorKheidorov","followers_url":"https://api.github.com/users/IgorKheidorov/followers","following_url":"https://api.github.com/users/IgorKheidorov/following{/other_user}","gists_url":"https://api.github.com/users/IgorKheidorov/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorKheidorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorKheidorov/subscriptions","organizations_url":"https://api.github.com/users/IgorKheidorov/orgs","repos_url":"https://api.github.com/users/IgorKheidorov/repos","events_url":"https://api.github.com/users/IgorKheidorov/events{/privacy}","received_events_url":"https://api.github.com/users/IgorKheidorov/received_events","type":"User","site_admin":false},"body":"Do not catch exceptions it you can't fix the situation","created_at":"2017-02-13T13:03:55Z","updated_at":"2017-02-13T13:03:55Z","html_url":"https://github.com/Terehator/currenttime/pull/6#discussion_r100788288","pull_request_url":"https://api.github.com/repos/Terehator/currenttime/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/Terehator/currenttime/pulls/comments/100788288"},"html":{"href":"https://github.com/Terehator/currenttime/pull/6#discussion_r100788288"},"pull_request":{"href":"https://api.github.com/repos/Terehator/currenttime/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/Terehator/currenttime/pulls/6","id":105884922,"html_url":"https://github.com/Terehator/currenttime/pull/6","diff_url":"https://github.com/Terehator/currenttime/pull/6.diff","patch_url":"https://github.com/Terehator/currenttime/pull/6.patch","issue_url":"https://api.github.com/repos/Terehator/currenttime/issues/6","number":6,"state":"open","locked":false,"title":"Dev 2v2","user":{"login":"Terehator","id":22625606,"avatar_url":"https://avatars.githubusercontent.com/u/22625606?v=3","gravatar_id":"","url":"https://api.github.com/users/Terehator","html_url":"https://github.com/Terehator","followers_url":"https://api.github.com/users/Terehator/followers","following_url":"https://api.github.com/users/Terehator/following{/other_user}","gists_url":"https://api.github.com/users/Terehator/gists{/gist_id}","starred_url":"https://api.github.com/users/Terehator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Terehator/subscriptions","organizations_url":"https://api.github.com/users/Terehator/orgs","repos_url":"https://api.github.com/users/Terehator/repos","events_url":"https://api.github.com/users/Terehator/events{/privacy}","received_events_url":"https://api.github.com/users/Terehator/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-02-13T12:35:05Z","updated_at":"2017-02-13T13:03:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"106713991d326c645eb4311c20943a10e9c25036","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Terehator/currenttime/pulls/6/commits","review_comments_url":"https://api.github.com/repos/Terehator/currenttime/pulls/6/comments","review_comment_url":"https://api.github.com/repos/Terehator/currenttime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Terehator/currenttime/issues/6/comments","statuses_url":"https://api.github.com/repos/Terehator/currenttime/statuses/5df7625fc97e089b6e29993c4fbad4db035602ea","head":{"label":"Terehator:DEV-2v2","ref":"DEV-2v2","sha":"5df7625fc97e089b6e29993c4fbad4db035602ea","user":{"login":"Terehator","id":22625606,"avatar_url":"https://avatars.githubusercontent.com/u/22625606?v=3","gravatar_id":"","url":"https://api.github.com/users/Terehator","html_url":"https://github.com/Terehator","followers_url":"https://api.github.com/users/Terehator/followers","following_url":"https://api.github.com/users/Terehator/following{/other_user}","gists_url":"https://api.github.com/users/Terehator/gists{/gist_id}","starred_url":"https://api.github.com/users/Terehator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Terehator/subscriptions","organizations_url":"https://api.github.com/users/Terehator/orgs","repos_url":"https://api.github.com/users/Terehator/repos","events_url":"https://api.github.com/users/Terehator/events{/privacy}","received_events_url":"https://api.github.com/users/Terehator/received_events","type":"User","site_admin":false},"repo":{"id":80933657,"name":"currenttime","full_name":"Terehator/currenttime","owner":{"login":"Terehator","id":22625606,"avatar_url":"https://avatars.githubusercontent.com/u/22625606?v=3","gravatar_id":"","url":"https://api.github.com/users/Terehator","html_url":"https://github.com/Terehator","followers_url":"https://api.github.com/users/Terehator/followers","following_url":"https://api.github.com/users/Terehator/following{/other_user}","gists_url":"https://api.github.com/users/Terehator/gists{/gist_id}","starred_url":"https://api.github.com/users/Terehator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Terehator/subscriptions","organizations_url":"https://api.github.com/users/Terehator/orgs","repos_url":"https://api.github.com/users/Terehator/repos","events_url":"https://api.github.com/users/Terehator/events{/privacy}","received_events_url":"https://api.github.com/users/Terehator/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Terehator/currenttime","description":null,"fork":true,"url":"https://api.github.com/repos/Terehator/currenttime","forks_url":"https://api.github.com/repos/Terehator/currenttime/forks","keys_url":"https://api.github.com/repos/Terehator/currenttime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Terehator/currenttime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Terehator/currenttime/teams","hooks_url":"https://api.github.com/repos/Terehator/currenttime/hooks","issue_events_url":"https://api.github.com/repos/Terehator/currenttime/issues/events{/number}","events_url":"https://api.github.com/repos/Terehator/currenttime/events","assignees_url":"https://api.github.com/repos/Terehator/currenttime/assignees{/user}","branches_url":"https://api.github.com/repos/Terehator/currenttime/branches{/branch}","tags_url":"https://api.github.com/repos/Terehator/currenttime/tags","blobs_url":"https://api.github.com/repos/Terehator/currenttime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Terehator/currenttime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Terehator/currenttime/git/refs{/sha}","trees_url":"https://api.github.com/repos/Terehator/currenttime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Terehator/currenttime/statuses/{sha}","languages_url":"https://api.github.com/repos/Terehator/currenttime/languages","stargazers_url":"https://api.github.com/repos/Terehator/currenttime/stargazers","contributors_url":"https://api.github.com/repos/Terehator/currenttime/contributors","subscribers_url":"https://api.github.com/repos/Terehator/currenttime/subscribers","subscription_url":"https://api.github.com/repos/Terehator/currenttime/subscription","commits_url":"https://api.github.com/repos/Terehator/currenttime/commits{/sha}","git_commits_url":"https://api.github.com/repos/Terehator/currenttime/git/commits{/sha}","comments_url":"https://api.github.com/repos/Terehator/currenttime/comments{/number}","issue_comment_url":"https://api.github.com/repos/Terehator/currenttime/issues/comments{/number}","contents_url":"https://api.github.com/repos/Terehator/currenttime/contents/{+path}","compare_url":"https://api.github.com/repos/Terehator/currenttime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Terehator/currenttime/merges","archive_url":"https://api.github.com/repos/Terehator/currenttime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Terehator/currenttime/downloads","issues_url":"https://api.github.com/repos/Terehator/currenttime/issues{/number}","pulls_url":"https://api.github.com/repos/Terehator/currenttime/pulls{/number}","milestones_url":"https://api.github.com/repos/Terehator/currenttime/milestones{/number}","notifications_url":"https://api.github.com/repos/Terehator/currenttime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Terehator/currenttime/labels{/name}","releases_url":"https://api.github.com/repos/Terehator/currenttime/releases{/id}","deployments_url":"https://api.github.com/repos/Terehator/currenttime/deployments","created_at":"2017-02-04T16:57:31Z","updated_at":"2017-02-11T09:13:04Z","pushed_at":"2017-02-13T13:02:09Z","git_url":"git://github.com/Terehator/currenttime.git","ssh_url":"git@github.com:Terehator/currenttime.git","clone_url":"https://github.com/Terehator/currenttime.git","svn_url":"https://github.com/Terehator/currenttime","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Terehator:master","ref":"master","sha":"51f503d36c4c8e32ba28f170f70045e300a72738","user":{"login":"Terehator","id":22625606,"avatar_url":"https://avatars.githubusercontent.com/u/22625606?v=3","gravatar_id":"","url":"https://api.github.com/users/Terehator","html_url":"https://github.com/Terehator","followers_url":"https://api.github.com/users/Terehator/followers","following_url":"https://api.github.com/users/Terehator/following{/other_user}","gists_url":"https://api.github.com/users/Terehator/gists{/gist_id}","starred_url":"https://api.github.com/users/Terehator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Terehator/subscriptions","organizations_url":"https://api.github.com/users/Terehator/orgs","repos_url":"https://api.github.com/users/Terehator/repos","events_url":"https://api.github.com/users/Terehator/events{/privacy}","received_events_url":"https://api.github.com/users/Terehator/received_events","type":"User","site_admin":false},"repo":{"id":80933657,"name":"currenttime","full_name":"Terehator/currenttime","owner":{"login":"Terehator","id":22625606,"avatar_url":"https://avatars.githubusercontent.com/u/22625606?v=3","gravatar_id":"","url":"https://api.github.com/users/Terehator","html_url":"https://github.com/Terehator","followers_url":"https://api.github.com/users/Terehator/followers","following_url":"https://api.github.com/users/Terehator/following{/other_user}","gists_url":"https://api.github.com/users/Terehator/gists{/gist_id}","starred_url":"https://api.github.com/users/Terehator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Terehator/subscriptions","organizations_url":"https://api.github.com/users/Terehator/orgs","repos_url":"https://api.github.com/users/Terehator/repos","events_url":"https://api.github.com/users/Terehator/events{/privacy}","received_events_url":"https://api.github.com/users/Terehator/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Terehator/currenttime","description":null,"fork":true,"url":"https://api.github.com/repos/Terehator/currenttime","forks_url":"https://api.github.com/repos/Terehator/currenttime/forks","keys_url":"https://api.github.com/repos/Terehator/currenttime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Terehator/currenttime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Terehator/currenttime/teams","hooks_url":"https://api.github.com/repos/Terehator/currenttime/hooks","issue_events_url":"https://api.github.com/repos/Terehator/currenttime/issues/events{/number}","events_url":"https://api.github.com/repos/Terehator/currenttime/events","assignees_url":"https://api.github.com/repos/Terehator/currenttime/assignees{/user}","branches_url":"https://api.github.com/repos/Terehator/currenttime/branches{/branch}","tags_url":"https://api.github.com/repos/Terehator/currenttime/tags","blobs_url":"https://api.github.com/repos/Terehator/currenttime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Terehator/currenttime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Terehator/currenttime/git/refs{/sha}","trees_url":"https://api.github.com/repos/Terehator/currenttime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Terehator/currenttime/statuses/{sha}","languages_url":"https://api.github.com/repos/Terehator/currenttime/languages","stargazers_url":"https://api.github.com/repos/Terehator/currenttime/stargazers","contributors_url":"https://api.github.com/repos/Terehator/currenttime/contributors","subscribers_url":"https://api.github.com/repos/Terehator/currenttime/subscribers","subscription_url":"https://api.github.com/repos/Terehator/currenttime/subscription","commits_url":"https://api.github.com/repos/Terehator/currenttime/commits{/sha}","git_commits_url":"https://api.github.com/repos/Terehator/currenttime/git/commits{/sha}","comments_url":"https://api.github.com/repos/Terehator/currenttime/comments{/number}","issue_comment_url":"https://api.github.com/repos/Terehator/currenttime/issues/comments{/number}","contents_url":"https://api.github.com/repos/Terehator/currenttime/contents/{+path}","compare_url":"https://api.github.com/repos/Terehator/currenttime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Terehator/currenttime/merges","archive_url":"https://api.github.com/repos/Terehator/currenttime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Terehator/currenttime/downloads","issues_url":"https://api.github.com/repos/Terehator/currenttime/issues{/number}","pulls_url":"https://api.github.com/repos/Terehator/currenttime/pulls{/number}","milestones_url":"https://api.github.com/repos/Terehator/currenttime/milestones{/number}","notifications_url":"https://api.github.com/repos/Terehator/currenttime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Terehator/currenttime/labels{/name}","releases_url":"https://api.github.com/repos/Terehator/currenttime/releases{/id}","deployments_url":"https://api.github.com/repos/Terehator/currenttime/deployments","created_at":"2017-02-04T16:57:31Z","updated_at":"2017-02-11T09:13:04Z","pushed_at":"2017-02-13T13:02:09Z","git_url":"git://github.com/Terehator/currenttime.git","ssh_url":"git@github.com:Terehator/currenttime.git","clone_url":"https://github.com/Terehator/currenttime.git","svn_url":"https://github.com/Terehator/currenttime","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Terehator/currenttime/pulls/6"},"html":{"href":"https://github.com/Terehator/currenttime/pull/6"},"issue":{"href":"https://api.github.com/repos/Terehator/currenttime/issues/6"},"comments":{"href":"https://api.github.com/repos/Terehator/currenttime/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/Terehator/currenttime/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/Terehator/currenttime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Terehator/currenttime/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/Terehator/currenttime/statuses/5df7625fc97e089b6e29993c4fbad4db035602ea"}}}}
{"actor":{"display_login":"IgorKheidorov"}}