{"action":"created","comment":{"url":"https://api.github.com/repos/OOPCLASS2016/30222/pulls/comments/83530247","pull_request_review_id":4370632,"id":83530247,"diff_hunk":"@@ -0,0 +1,42 @@\n+package largestPalindrome;\n+import java.lang.String;\n+\n+public class MainClass {\n+\tpublic static void main(String[] args) {\n+\t\t\t\tint number1, number2, maxim = 1, product;\n+\t\t\t\tfor (number1=100; number1<=999; number1++)\n+\t\t\t\t{\n+\t\t\t\t\tfor (number2 = 101; number2<999; number2++)\n+\t\t\t\t\t{\n+\t\t\t\t\t\tproduct= number1 * number2;\n+\t\t\t\t\t\tif (checkPalindrome(product)== true) \n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\tif (product > maxim)\n+\t\t\t\t\t\t\t\tmaxim = product;\n+\t\t\t\t\t\t\t\n+\t\t\t\t\t\t}\n+\t\t\t\t\t\t\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t\tSystem.out.println(\"The largest palindrome is : \"+ maxim);\n+\n+\t\t\t}\n+\t\t\t\n+\t\t\tpublic static boolean checkPalindrome(int number)\n+\t\t\t{\n+\t\t\t\tString numToCheck= Integer.toString(number);\n+\t\t\t\tString reverse=\"\";\n+\t\t\t\tfor (int i=numToCheck.length()-1; i>=0; i--)","path":"Students/Anghel M. Luiza Madalina/Largest Palindrome/src/largestPalindrome/MainClass.java","position":29,"original_position":29,"commit_id":"06a73c22733b2dc5df1d74b2e05a55be29270984","original_commit_id":"06a73c22733b2dc5df1d74b2e05a55be29270984","user":{"login":"AlexBondor","id":5001967,"avatar_url":"https://avatars.githubusercontent.com/u/5001967?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexBondor","html_url":"https://github.com/AlexBondor","followers_url":"https://api.github.com/users/AlexBondor/followers","following_url":"https://api.github.com/users/AlexBondor/following{/other_user}","gists_url":"https://api.github.com/users/AlexBondor/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexBondor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexBondor/subscriptions","organizations_url":"https://api.github.com/users/AlexBondor/orgs","repos_url":"https://api.github.com/users/AlexBondor/repos","events_url":"https://api.github.com/users/AlexBondor/events{/privacy}","received_events_url":"https://api.github.com/users/AlexBondor/received_events","type":"User","site_admin":false},"body":"In C you wold need something like this to reverse a String. However, as I already told you, in OOP languages somebody did many things for us already. Reuse their code wisely. This is also true for reversing a String. Check this out: https://stackoverflow.com/questions/7569335/reverse-a-string-in-java/7569370#7569370.","created_at":"2016-10-15T11:16:36Z","updated_at":"2016-10-15T11:20:54Z","html_url":"https://github.com/OOPCLASS2016/30222/pull/9#discussion_r83530247","pull_request_url":"https://api.github.com/repos/OOPCLASS2016/30222/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/OOPCLASS2016/30222/pulls/comments/83530247"},"html":{"href":"https://github.com/OOPCLASS2016/30222/pull/9#discussion_r83530247"},"pull_request":{"href":"https://api.github.com/repos/OOPCLASS2016/30222/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/OOPCLASS2016/30222/pulls/9","id":89253616,"html_url":"https://github.com/OOPCLASS2016/30222/pull/9","diff_url":"https://github.com/OOPCLASS2016/30222/pull/9.diff","patch_url":"https://github.com/OOPCLASS2016/30222/pull/9.patch","issue_url":"https://api.github.com/repos/OOPCLASS2016/30222/issues/9","number":9,"state":"open","locked":false,"title":"Assignment 1","user":{"login":"LuizaAnghel","id":22795874,"avatar_url":"https://avatars.githubusercontent.com/u/22795874?v=3","gravatar_id":"","url":"https://api.github.com/users/LuizaAnghel","html_url":"https://github.com/LuizaAnghel","followers_url":"https://api.github.com/users/LuizaAnghel/followers","following_url":"https://api.github.com/users/LuizaAnghel/following{/other_user}","gists_url":"https://api.github.com/users/LuizaAnghel/gists{/gist_id}","starred_url":"https://api.github.com/users/LuizaAnghel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuizaAnghel/subscriptions","organizations_url":"https://api.github.com/users/LuizaAnghel/orgs","repos_url":"https://api.github.com/users/LuizaAnghel/repos","events_url":"https://api.github.com/users/LuizaAnghel/events{/privacy}","received_events_url":"https://api.github.com/users/LuizaAnghel/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-13T18:11:26Z","updated_at":"2016-10-15T11:20:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a5c45653a0565b928184925abd859e6bb83a124","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OOPCLASS2016/30222/pulls/9/commits","review_comments_url":"https://api.github.com/repos/OOPCLASS2016/30222/pulls/9/comments","review_comment_url":"https://api.github.com/repos/OOPCLASS2016/30222/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OOPCLASS2016/30222/issues/9/comments","statuses_url":"https://api.github.com/repos/OOPCLASS2016/30222/statuses/06a73c22733b2dc5df1d74b2e05a55be29270984","head":{"label":"LuizaAnghel:master","ref":"master","sha":"06a73c22733b2dc5df1d74b2e05a55be29270984","user":{"login":"LuizaAnghel","id":22795874,"avatar_url":"https://avatars.githubusercontent.com/u/22795874?v=3","gravatar_id":"","url":"https://api.github.com/users/LuizaAnghel","html_url":"https://github.com/LuizaAnghel","followers_url":"https://api.github.com/users/LuizaAnghel/followers","following_url":"https://api.github.com/users/LuizaAnghel/following{/other_user}","gists_url":"https://api.github.com/users/LuizaAnghel/gists{/gist_id}","starred_url":"https://api.github.com/users/LuizaAnghel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuizaAnghel/subscriptions","organizations_url":"https://api.github.com/users/LuizaAnghel/orgs","repos_url":"https://api.github.com/users/LuizaAnghel/repos","events_url":"https://api.github.com/users/LuizaAnghel/events{/privacy}","received_events_url":"https://api.github.com/users/LuizaAnghel/received_events","type":"User","site_admin":false},"repo":{"id":70715178,"name":"30222","full_name":"LuizaAnghel/30222","owner":{"login":"LuizaAnghel","id":22795874,"avatar_url":"https://avatars.githubusercontent.com/u/22795874?v=3","gravatar_id":"","url":"https://api.github.com/users/LuizaAnghel","html_url":"https://github.com/LuizaAnghel","followers_url":"https://api.github.com/users/LuizaAnghel/followers","following_url":"https://api.github.com/users/LuizaAnghel/following{/other_user}","gists_url":"https://api.github.com/users/LuizaAnghel/gists{/gist_id}","starred_url":"https://api.github.com/users/LuizaAnghel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuizaAnghel/subscriptions","organizations_url":"https://api.github.com/users/LuizaAnghel/orgs","repos_url":"https://api.github.com/users/LuizaAnghel/repos","events_url":"https://api.github.com/users/LuizaAnghel/events{/privacy}","received_events_url":"https://api.github.com/users/LuizaAnghel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LuizaAnghel/30222","description":null,"fork":true,"url":"https://api.github.com/repos/LuizaAnghel/30222","forks_url":"https://api.github.com/repos/LuizaAnghel/30222/forks","keys_url":"https://api.github.com/repos/LuizaAnghel/30222/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LuizaAnghel/30222/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LuizaAnghel/30222/teams","hooks_url":"https://api.github.com/repos/LuizaAnghel/30222/hooks","issue_events_url":"https://api.github.com/repos/LuizaAnghel/30222/issues/events{/number}","events_url":"https://api.github.com/repos/LuizaAnghel/30222/events","assignees_url":"https://api.github.com/repos/LuizaAnghel/30222/assignees{/user}","branches_url":"https://api.github.com/repos/LuizaAnghel/30222/branches{/branch}","tags_url":"https://api.github.com/repos/LuizaAnghel/30222/tags","blobs_url":"https://api.github.com/repos/LuizaAnghel/30222/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LuizaAnghel/30222/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LuizaAnghel/30222/git/refs{/sha}","trees_url":"https://api.github.com/repos/LuizaAnghel/30222/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LuizaAnghel/30222/statuses/{sha}","languages_url":"https://api.github.com/repos/LuizaAnghel/30222/languages","stargazers_url":"https://api.github.com/repos/LuizaAnghel/30222/stargazers","contributors_url":"https://api.github.com/repos/LuizaAnghel/30222/contributors","subscribers_url":"https://api.github.com/repos/LuizaAnghel/30222/subscribers","subscription_url":"https://api.github.com/repos/LuizaAnghel/30222/subscription","commits_url":"https://api.github.com/repos/LuizaAnghel/30222/commits{/sha}","git_commits_url":"https://api.github.com/repos/LuizaAnghel/30222/git/commits{/sha}","comments_url":"https://api.github.com/repos/LuizaAnghel/30222/comments{/number}","issue_comment_url":"https://api.github.com/repos/LuizaAnghel/30222/issues/comments{/number}","contents_url":"https://api.github.com/repos/LuizaAnghel/30222/contents/{+path}","compare_url":"https://api.github.com/repos/LuizaAnghel/30222/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LuizaAnghel/30222/merges","archive_url":"https://api.github.com/repos/LuizaAnghel/30222/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LuizaAnghel/30222/downloads","issues_url":"https://api.github.com/repos/LuizaAnghel/30222/issues{/number}","pulls_url":"https://api.github.com/repos/LuizaAnghel/30222/pulls{/number}","milestones_url":"https://api.github.com/repos/LuizaAnghel/30222/milestones{/number}","notifications_url":"https://api.github.com/repos/LuizaAnghel/30222/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LuizaAnghel/30222/labels{/name}","releases_url":"https://api.github.com/repos/LuizaAnghel/30222/releases{/id}","deployments_url":"https://api.github.com/repos/LuizaAnghel/30222/deployments","created_at":"2016-10-12T15:43:22Z","updated_at":"2016-10-13T18:06:40Z","pushed_at":"2016-10-13T18:06:39Z","git_url":"git://github.com/LuizaAnghel/30222.git","ssh_url":"git@github.com:LuizaAnghel/30222.git","clone_url":"https://github.com/LuizaAnghel/30222.git","svn_url":"https://github.com/LuizaAnghel/30222","homepage":null,"size":6629,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OOPCLASS2016:master","ref":"master","sha":"06ff9565531296fa4a31d99ae6f900bb8b65a19d","user":{"login":"OOPCLASS2016","id":22531901,"avatar_url":"https://avatars.githubusercontent.com/u/22531901?v=3","gravatar_id":"","url":"https://api.github.com/users/OOPCLASS2016","html_url":"https://github.com/OOPCLASS2016","followers_url":"https://api.github.com/users/OOPCLASS2016/followers","following_url":"https://api.github.com/users/OOPCLASS2016/following{/other_user}","gists_url":"https://api.github.com/users/OOPCLASS2016/gists{/gist_id}","starred_url":"https://api.github.com/users/OOPCLASS2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OOPCLASS2016/subscriptions","organizations_url":"https://api.github.com/users/OOPCLASS2016/orgs","repos_url":"https://api.github.com/users/OOPCLASS2016/repos","events_url":"https://api.github.com/users/OOPCLASS2016/events{/privacy}","received_events_url":"https://api.github.com/users/OOPCLASS2016/received_events","type":"Organization","site_admin":false},"repo":{"id":69901751,"name":"30222","full_name":"OOPCLASS2016/30222","owner":{"login":"OOPCLASS2016","id":22531901,"avatar_url":"https://avatars.githubusercontent.com/u/22531901?v=3","gravatar_id":"","url":"https://api.github.com/users/OOPCLASS2016","html_url":"https://github.com/OOPCLASS2016","followers_url":"https://api.github.com/users/OOPCLASS2016/followers","following_url":"https://api.github.com/users/OOPCLASS2016/following{/other_user}","gists_url":"https://api.github.com/users/OOPCLASS2016/gists{/gist_id}","starred_url":"https://api.github.com/users/OOPCLASS2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OOPCLASS2016/subscriptions","organizations_url":"https://api.github.com/users/OOPCLASS2016/orgs","repos_url":"https://api.github.com/users/OOPCLASS2016/repos","events_url":"https://api.github.com/users/OOPCLASS2016/events{/privacy}","received_events_url":"https://api.github.com/users/OOPCLASS2016/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OOPCLASS2016/30222","description":null,"fork":false,"url":"https://api.github.com/repos/OOPCLASS2016/30222","forks_url":"https://api.github.com/repos/OOPCLASS2016/30222/forks","keys_url":"https://api.github.com/repos/OOPCLASS2016/30222/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OOPCLASS2016/30222/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OOPCLASS2016/30222/teams","hooks_url":"https://api.github.com/repos/OOPCLASS2016/30222/hooks","issue_events_url":"https://api.github.com/repos/OOPCLASS2016/30222/issues/events{/number}","events_url":"https://api.github.com/repos/OOPCLASS2016/30222/events","assignees_url":"https://api.github.com/repos/OOPCLASS2016/30222/assignees{/user}","branches_url":"https://api.github.com/repos/OOPCLASS2016/30222/branches{/branch}","tags_url":"https://api.github.com/repos/OOPCLASS2016/30222/tags","blobs_url":"https://api.github.com/repos/OOPCLASS2016/30222/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OOPCLASS2016/30222/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OOPCLASS2016/30222/git/refs{/sha}","trees_url":"https://api.github.com/repos/OOPCLASS2016/30222/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OOPCLASS2016/30222/statuses/{sha}","languages_url":"https://api.github.com/repos/OOPCLASS2016/30222/languages","stargazers_url":"https://api.github.com/repos/OOPCLASS2016/30222/stargazers","contributors_url":"https://api.github.com/repos/OOPCLASS2016/30222/contributors","subscribers_url":"https://api.github.com/repos/OOPCLASS2016/30222/subscribers","subscription_url":"https://api.github.com/repos/OOPCLASS2016/30222/subscription","commits_url":"https://api.github.com/repos/OOPCLASS2016/30222/commits{/sha}","git_commits_url":"https://api.github.com/repos/OOPCLASS2016/30222/git/commits{/sha}","comments_url":"https://api.github.com/repos/OOPCLASS2016/30222/comments{/number}","issue_comment_url":"https://api.github.com/repos/OOPCLASS2016/30222/issues/comments{/number}","contents_url":"https://api.github.com/repos/OOPCLASS2016/30222/contents/{+path}","compare_url":"https://api.github.com/repos/OOPCLASS2016/30222/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OOPCLASS2016/30222/merges","archive_url":"https://api.github.com/repos/OOPCLASS2016/30222/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OOPCLASS2016/30222/downloads","issues_url":"https://api.github.com/repos/OOPCLASS2016/30222/issues{/number}","pulls_url":"https://api.github.com/repos/OOPCLASS2016/30222/pulls{/number}","milestones_url":"https://api.github.com/repos/OOPCLASS2016/30222/milestones{/number}","notifications_url":"https://api.github.com/repos/OOPCLASS2016/30222/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OOPCLASS2016/30222/labels{/name}","releases_url":"https://api.github.com/repos/OOPCLASS2016/30222/releases{/id}","deployments_url":"https://api.github.com/repos/OOPCLASS2016/30222/deployments","created_at":"2016-10-03T19:07:00Z","updated_at":"2016-10-13T20:22:21Z","pushed_at":"2016-10-15T11:19:22Z","git_url":"git://github.com/OOPCLASS2016/30222.git","ssh_url":"git@github.com:OOPCLASS2016/30222.git","clone_url":"https://github.com/OOPCLASS2016/30222.git","svn_url":"https://github.com/OOPCLASS2016/30222","homepage":null,"size":6636,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":17,"forks":23,"open_issues":17,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OOPCLASS2016/30222/pulls/9"},"html":{"href":"https://github.com/OOPCLASS2016/30222/pull/9"},"issue":{"href":"https://api.github.com/repos/OOPCLASS2016/30222/issues/9"},"comments":{"href":"https://api.github.com/repos/OOPCLASS2016/30222/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/OOPCLASS2016/30222/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/OOPCLASS2016/30222/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OOPCLASS2016/30222/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/OOPCLASS2016/30222/statuses/06a73c22733b2dc5df1d74b2e05a55be29270984"}}}}
{"actor":{"display_login":"AlexBondor"}}